You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if there could be a function to reset all geom defaults back to the initial defaults? Otherwise, you have to know what the defaults are, or restart once you update something.
Something simple like below would be super helpful.
reset_geom_defaults <- function() {
ggplot2::update_geom_defaults("area", NULL)
ggplot2::update_geom_defaults("bar", NULL)
ggplot2::update_geom_defaults("boxplot", NULL)
ggplot2::update_geom_defaults("col", NULL)
... # etc with all geom's there
}
Maybe this could be something for Tidy Dev Day, as hopefully pretty simple??
An idea (maybe for the future) is that it could also have an argument that would allow users to specify only certain geoms to reset