All arguments are passed to ggplot2::update_geom_defaults, but this function adds a NULL check.

.set_geom_aesthetics(geom, new)

Arguments

geom

Name of geom/stat to modify (like "point" or "bin"), or a Geom/Stat object (like GeomPoint or StatBin).

new

One of the following:

  • A named list of aesthetics to serve as new defaults.

  • NULL to reset the defaults.