Skip to content

The future of update_geom_defaults() #6085

Open
@teunbrand

Description

@teunbrand

This issue came up in #6084 (comment).

Briefly, now that we can do theme(geom = element_geom(...)), there is much less need for update_geom_defaults(). Per #6084 (comment), we should ask ourselves if update_geom_defaults() should be deprecated in a future release.

In my opinion, there is still a niche for update_geom_defaults() as one might want to swap out defaults anyway, in particular when it should affect 1 particular geom and not all of them. I sometimes (ab)use it to get geoms to accept the aesthetics I want (example). I'd therefore advise against future deprecation, but we should probably pivot from recommending update_geom_defaults() to theme(geom).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions