invert_geom_defaults {ggdark} | R Documentation |
Invert geom defaults for fill and color/colour
Description
Invert geom defaults for fill and color/colour
Usage
invert_geom_defaults(geoms = get_geoms())
Arguments
geoms |
List of geoms as ggproto objects |
Examples
library(ggplot2)
p <- ggplot(iris, aes(Sepal.Width, Sepal.Length)) +
geom_point() +
facet_wrap(~ Species)
p + dark_theme_gray() # geom defaults changed
p + theme_gray() # oh no! geoms are not visible on light background
invert_geom_defaults() # geom defaults changed back
p + theme_gray() # back to normal
[Package ggdark version 0.2.1 Index]