Closed
Description
Thanks for the continual ggplot2 updates!
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
Metadata
Metadata
Assignees
Labels
No labels