Hide legend
hide_legend(p)
p
a plotly object.
hide_colorbar()
p <- plot_ly(mtcars, x = ~wt, y = ~cyl, color = ~factor(cyl)) hide_legend(p)
Create Interactive Web Graphics via 'plotly.js'
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.