
Last chance! 50% off unlimited learning
Sale ends in
update_geom_defaults(geom, new)update_stat_defaults(stat, new)
"point"
or
"bin"
), or a Geom/Stat object (like GeomPoint
or
StatBin
).update_geom_defaults("point", list(colour = "darkblue"))
ggplot(mtcars, aes(mpg, wt)) + geom_point()
update_geom_defaults("point", list(colour = "black"))
Run the code above in your browser using DataLab