ggla_plotly_style: ggla_plotly_style

Description Usage Arguments Value Examples

View source: R/ggla_plotly_style.R

Description

Adds default ggla style to a plotly plot

Usage

1
ggla_plotly_style(plot, gla_theme = "default", base_size = 14, ...)

Arguments

plot

A plotly plot, created either using plot_ly or ggplotly.

gla_theme

Either "default" or "inverse", Default: 'default'

base_size

base font size, Default: 14

...

Other parameters passed to plotly::style

Value

A plotly plot

Examples

1
2
3
4
5
6
## Not run: 
if(interactive()){
 #EXAMPLE1
 }

## End(Not run)

Greater-London-Authority/gglaplot documentation built on Dec. 28, 2021, 8:27 p.m.