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

Named list of aesthetics.