arial: Change plotly font to Arial

View source: R/add_labels.R

arialR 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)

easylabel documentation built on April 3, 2025, 6:22 p.m.