Skip to content

Reset original defaults with update_geom_defaults() #4993

Closed
@bwiernik

Description

@bwiernik

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:

update_geom_defaults("geom", list(size = NULL))

And/or like this to reset all aesthetics to their original defaults:

update_geom_defaults("geom", NULL)

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions