-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reset original defaults with update_geom_defaults()
#4993
Comments
As far as I can tell, we just overwrite the settings for the geom, so afterwards we don't have them anymore either. Lines 14 to 19 in 759c63c
At some point there was talk about saving the geom defaults in the theme, and that would be a great solution for this problem, but I think there hasn't been much development on the PR for a long time now. |
One small improvement here would be for |
Related to this, could there be a way to easily reset all geom defaults back to originals? Maybe when the geom argument is NULL? Or maybe a new function like |
Reviving this issue for after 3.5.1 |
Considering this closed (again) after #5846. |
Sometimes, as I'm interactively building a plot, I change geom default aesthetics with
update_geom_defaults()
, then change my mind and want to put them back. Currently, I don't see a way to do that other than by knowing what the original defaults were or restarting my R session.It would be really helpful to be able to do something like this to reset the
size
default to 1.5:And/or like this to reset all aesthetics to their original defaults:
The text was updated successfully, but these errors were encountered: