Skip to content

Ensure correct positioning of dots in geom_dotplot #4417

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 4 commits into from
Apr 14, 2021

Conversation

thomasp85
Copy link
Member

Fix #1745

This PR fixes the skewed positioning of dots reported in the issue above.

It simply ensures that the data is split on both the binaxis and stackaxis when calculating offset

@thomasp85 thomasp85 added this to the ggplot2 3.3.4 milestone Apr 13, 2021
@thomasp85 thomasp85 requested a review from wch April 13, 2021 11:04
Copy link
Member

@wch wch left a comment

Choose a reason for hiding this comment

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

Looks good to me -- though it's been a really long time since I looked at this stuff so I don't remember it very well.

@thomasp85 thomasp85 merged commit 668a51e into master Apr 14, 2021
@thomasp85 thomasp85 deleted the issue-1745-dotplot-position branch April 14, 2021 06:21
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_dotplot dot layout with groups
3 participants