arial | R Documentation |
Change plotly font to Arial
arial(p, size = 14)
p |
A plotly object |
size |
Font size |
A plotly object
library(plotly)
data(mtcars)
p <- plot_ly(mtcars, x = ~mpg, y = ~wt, color = ~cyl,
type = 'scatter', mode = 'markers')
p %>% arial
p %>% arial(18)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.