Modify geom/stat aesthetic defaults for future plots

Usage

update_geom_defaults(geom, new)
update_stat_defaults(stat, new)

Arguments

new
named list of aesthetics
stat,geom
name of geom/stat to modify

Description

Modify geom/stat aesthetic defaults for future plots

Examples

update_geom_defaults("point", list(colour = "darkblue")) ggplot(mtcars, aes(mpg, wt)) + geom_point()

update_geom_defaults("point", list(colour = "black"))