Skip to content
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

Fix mistake in alignment docs for geom_text() #6073

Merged
merged 2 commits into from
Sep 9, 2024

Conversation

teunbrand
Copy link
Collaborator

This PR fixes #6033. The title pretty much covers the PR's content.

@@ -31,8 +31,8 @@
#'
#' @section Alignment:
#' You can modify text alignment with the `vjust` and `hjust`
#' aesthetics. These can either be a number between 0 (right/bottom) and
#' 1 (top/left) or a character (`"left"`, `"middle"`, `"right"`, `"bottom"`,
Copy link
Member

Choose a reason for hiding this comment

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

There's no problem with this fix, but I personally prefer "left/top" to match the order of "right/bottom". What do you think?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I like the order matching part, but it should be left/bottom & right/top then

Copy link
Member

Choose a reason for hiding this comment

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

Ah, sorry, you are right. For some reason, I looked at the old description...

Copy link
Member

@yutannihilation yutannihilation left a comment

Choose a reason for hiding this comment

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

Thanks for updating. Looks good!

@teunbrand
Copy link
Collaborator Author

Thansk for the review!

@teunbrand teunbrand merged commit 2bd8cd5 into tidyverse:main Sep 9, 2024
13 checks passed
@teunbrand teunbrand deleted the fix_6033 branch September 9, 2024 14:00
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.

geom_text() justification docs are wrong
2 participants