-
Notifications
You must be signed in to change notification settings - Fork 32
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
Bad dodging when all y values are the same #31
Comments
Thanks for the bug report. There's a couple nested issues here:
So in the short-term, I think all your examples should be fixed by installing the github version (
|
Thanks for your commit, the restored Maybe you could use the For example replacing the way However, I would personally encourage to set |
Yeah I'd also vote for the non-smart default I think the least harm option might be to change the auto groupOnX line to something like:
so we throw a warning if the line would have triggered. Stil annoying to be e.g. sending warnings into someone's report but at least nothing is misrepresented and it explicitly states whats going on. I guess we could then remove the warning in a version or two while maintaining a warning in the documentation. |
I agree with throwing a warning for this. Since it's a pretty important bugfix I think we should push this and the warning to CRAN. |
Thank you for the useful
ggbeeswarm
package.I came across a strange
geom_beeswarm()
behaviour while accidentally plotting a vector composed of identical values: the points are dodged vertically and not horizontally.If the vector contains a single different value, the expected behaviour is restored:
When combined with the
dodge.width
argument this behaviour can produce a misleading representation:The text was updated successfully, but these errors were encountered: