Skip to content

Conversation

@teunbrand
Copy link
Collaborator

This PR aims to fix #5975.

Briefly, it introduces reset_geom_defaults() and reset_stat_defaults() to undo changes introduced with update_geom_defaults() or update_stat_defaults() respectively.
Because the first time the update_*_defaults() functions are run, the then-current defaults are cached before being updated. This cache is used by the reset_*_defaults() functions as the source of original settings.

Copy link
Member

@thomasp85 thomasp85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Could a function to reset all geom defaults back to the initial defaults be provided?

2 participants