Description Usage Arguments Examples
Invert geom defaults for fill and color/colour
1 | invert_geom_defaults(geoms = get_geoms())
|
geoms |
List of geoms as ggproto objects |
1 2 3 4 5 6 7 8 9 10 11 12 13 | 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
|
Inverted geom defaults of fill and color/colour.
To change them back, use invert_geom_defaults().
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.