-
Notifications
You must be signed in to change notification settings - Fork 2.1k
preserve = "single" breaks violin plots #2801
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
Labels
Comments
The problem is that Lines 100 to 101 in 4d2ca99
This works for boxplots, because each boxplot is one line in the processed data. But it doesn't work for violin plots, because each violin plot consists of many lines (512 by default). I suspect the solution would be to count the number of identical xmin values with distinct group values.
|
clauswilke
added a commit
to wilkelab/ggplot2_archive
that referenced
this issue
Aug 8, 2018
clauswilke
added a commit
to wilkelab/ggplot2_archive
that referenced
this issue
Aug 22, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm trying to use preserve = "single" as you would with boxplots to maintain the sizes of the boxes when there are unused factors. While I figured it would work just the same way for violin plots, it appears to completely break them.
The latter attempt above produces this:
The text was updated successfully, but these errors were encountered: