Skip to content

docs: clarify how vline, hline, and abline affect position scales#6782

Merged
teunbrand merged 2 commits intotidyverse:mainfrom
tanmaydimriGSOC:fix-vline-hline-docs
Apr 14, 2026
Merged

docs: clarify how vline, hline, and abline affect position scales#6782
teunbrand merged 2 commits intotidyverse:mainfrom
tanmaydimriGSOC:fix-vline-hline-docs

Conversation

@tanmaydimriGSOC
Copy link
Copy Markdown
Contributor

This PR updates the documentation for geom_vline(), geom_hline(), and geom_abline() to clarify that these geoms can affect position scales due to their position aesthetics (xintercept, yintercept, slope, intercept).

This reflects the current behavior introduced when position aesthetics were consolidated (#3342), and avoids suggesting that these geoms never affect scales.

Closes #6768.

Copy link
Copy Markdown
Collaborator

@teunbrand teunbrand left a comment

Choose a reason for hiding this comment

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

This looks good to me thank you for the contribution!

@teunbrand teunbrand merged commit 7d79c95 into tidyverse:main Apr 14, 2026
1 of 11 checks passed
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_vline() and geom_hline() affect x and y scales

2 participants