View source: R/plotly_elegant.R
plotly_elegant | R Documentation |
plotly dark theme
plotly_elegant( plot, ..., margin = 3, background = "#1f1f1e", color = "#ffffff" )
plot |
plotly plot |
margin |
plot margin |
background |
plot background |
color |
font color |
mtcars %>% plot_ly(x = ~cyl, y = ~mpg) %>% plotly_elegant( xaxis = list(title = "hey"), yaxis = list(side = "right") )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.