View source: R/subplot_title.R
| no_titleaxeslabels | R Documentation |
Set title of plotly plot to nothing, and title of axes to nothing. Useful if creating subplots and want to set layout at end.
no_titleaxeslabels(plot)
plot |
Plotly plot |
Plotly plot with no labels.
{
quickplot <- plotly::plot_ly(mtcars,
x = ~ carb,
y = ~ disp,
type = "bar")
no_titleaxeslabels(quickplot)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.