arial {easylabel}R Documentation

Change plotly font to Arial

Description

Change plotly font to Arial

Usage

arial(p, size = 14)

Arguments

p

A plotly object

size

Font size

Value

A plotly object

Examples

library(plotly)
data(mtcars)

p <- plot_ly(mtcars, x = ~mpg, y = ~wt, color = ~cyl,
             type = 'scatter', mode = 'markers')
p %>% arial
p %>% arial(18)

[Package easylabel version 0.3.3 Index]