Acquire (and optionally display) plotly's plot schema
The schema contains valid attributes names, their value type, default values (if any), and min/max values (if applicable).
schema(jsonedit = interactive(), ...)
jsonedit |
use |
... |
other options passed onto |
s <- schema() # retrieve acceptable `layout.mapbox.style` values if (!is.na(Sys.getenv('MAPBOX_TOKEN', NA))) { styles <- s$layout$layoutAttributes$mapbox$style$values subplot( plot_mapbox() %>% layout(mapbox = list(style = styles[3])), plot_mapbox() %>% layout(mapbox = list(style = styles[5])) ) }
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.