Skip to content

Fix remove_missing() call in Stat$compute_layer() #3555

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 1 commit into from
Oct 7, 2019

Conversation

thomasp85
Copy link
Member

Fix #3548

The old call to remove_missing() in Stat$compute_layer() did not factor in the new x|y notation allowed in Stat$required_aes for bidirectional layers. This caused missing data to not be removed correctly. This PR fixes the problem

@thomasp85 thomasp85 added this to the ggplot2 3.3.0 milestone Oct 7, 2019
@thomasp85 thomasp85 requested a review from clauswilke October 7, 2019 12:51
Copy link
Member

@clauswilke clauswilke left a comment

Choose a reason for hiding this comment

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

This definitely looks like it's needed. I don't immediately see how it interacts with the StatBoxplot issue and whether some additional changes are needed there.

@thomasp85
Copy link
Member Author

This fixes the issue. The StatBoxplot code itself is correct

@thomasp85 thomasp85 merged commit 1895864 into tidyverse:master Oct 7, 2019
@lock
Copy link

lock bot commented Apr 4, 2020

This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/

@lock lock bot locked and limited conversation to collaborators Apr 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

boxplot computation fails when setting scale limits
2 participants