hide_legend | R Documentation |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.