Skip to content

Update coord_flip() docs #5150

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

Merged
merged 5 commits into from
Mar 23, 2023
Merged

Conversation

teunbrand
Copy link
Collaborator

@teunbrand teunbrand commented Jan 14, 2023

This PR aims to fix #5130.

In brief, I tried to make it clear that swapping aesthetics is the preferred method, and tone down any description of coord_flip() being useful.

  • The description mentions easily swapping x/y aesthetics
  • Every example is preceded by the same plot using swapped aesthetics.

I was unsure what goes into a decision to supersede a function, so I defaulted to not tag it with a superseded badge.

@thomasp85
Copy link
Member

I think it would make sense to mark it as superseded - thoughts @hadley ?

@hadley
Copy link
Member

hadley commented Mar 14, 2023

Yeah, that’s fine with me.

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

@teunbrand teunbrand merged commit 152d1d5 into tidyverse:main Mar 23, 2023
@teunbrand teunbrand deleted the coord_flip_docs branch March 23, 2023 18:26
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.

Updates to coord_flip() docs
3 participants