powered by
Hide color bar(s)
hide_colorbar(p)
a plotly object.
hide_legend()
p <- plot_ly(mtcars, x = ~wt, y = ~cyl, color = ~cyl) hide_colorbar(p)
Run the code above in your browser using DataLab