update_geom_defaults | R Documentation |
Modify geom/stat aesthetic defaults for future plots
update_geom_defaults(geom, new)
update_stat_defaults(stat, new)
new |
Named list of aesthetics. |
stat, geom |
Name of geom/stat to modify (like |
update_geom_defaults("point", list(colour = "darkblue"))
ggplot(mtcars, aes(mpg, wt)) + geom_point()
update_geom_defaults("point", list(colour = "black"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.