See pal_simpsons() for details.
Arguments
- palette
Palette type. Currently there is one available option:
"springfield"(16-color palette).- alpha
Transparency level, a real number in (0, 1]. See
alphaingrDevices::rgb()for details.- ...
Additional parameters for
ggplot2::discrete_scale().
Author
Nan Xiao | me@nanx.me | https://nanx.me
Examples
example_scatterplot() + scale_color_simpsons()
#> `geom_smooth()` using formula = 'y ~ x'
example_barplot() + scale_fill_simpsons()
