Skip to content

Review supersession #6389

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

Open
teunbrand opened this issue Apr 1, 2025 · 1 comment
Open

Review supersession #6389

teunbrand opened this issue Apr 1, 2025 · 1 comment

Comments

@teunbrand
Copy link
Collaborator

It'd be helpful to review which functions have preferred alternatives and mark them as superseded.
As an example, coord_polar() can be replaced with coord_radial(), but isn't documented like that.
I'd expect some helper functions to be functionally superseded as well.

@teunbrand teunbrand added this to the Editioning milestone Apr 1, 2025
@teunbrand
Copy link
Collaborator Author

teunbrand commented Apr 2, 2025

Let's create a list. It's open for additional suggestions.

Already superseded:

  • coord_flip() by inverting x/y aesthetics.
  • annotation_logticks() by guide_axis_logticks().
  • coord_map() and coord_quickmap() by coord_sf()

Considered for supersession:

  • coord_polar() to be superseded by coord_radial()
  • coord_equal() to be superseded by coord_fixed()
    • Perhaps these could even be incorporated in coord_cartesian(), they are easy to implement.
  • expand_limits() should just be function to be passed to scale limits, e.g. limits = ~ range(.x, value).

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

No branches or pull requests

1 participant