View source: R/preview_theme.R
preview_theme | R Documentation |
Quickly generate a preview of a ggprism theme.
See names(ggprism_data$themes)
for valid palette names.
preview_theme(palette)
palette |
|
Returns an object of class ggplot.
library(ggplot2)
## see names of available themes
names(ggprism_data$themes)
## preview a theme
preview_theme("floral")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.