Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
overlapping boxes with geom_boxplot(varwidth=TRUE) #2143
Comments
|
Can you please produce a reprex using the reprex package? |
hadley
added the
reprex
label
Jun 1, 2017
mcol
commented
Jun 2, 2017
karawoo
added bug layers and removed reprex
labels
Jun 22, 2017
|
The main problem is here — within each species the variable-width boxes have different I think this line will also be a problem because only the width of the first box will be used. |
karawoo
closed this
in #2196
Jul 28, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

mcol commentedMay 25, 2017
When I try to produce boxplots with colours depending on a categorical variable, these appear overlapping if varwidth is set to TRUE (which is what I'd like to use).
Here's an example:
This raises the following warning: "position_dodge requires non-overlapping x intervals"
However, the boxes don't overlap (and no warning is raised) if varwidth is not specified.