Skip to content

Boxplot points not drawn when data has no whiskers and jitter is not 0 #725

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

Closed
imre-v opened this issue Jul 7, 2016 · 4 comments
Closed
Assignees
Labels
bug something broken

Comments

@imre-v
Copy link

imre-v commented Jul 7, 2016

When the data to be plotted has such a distribution that there are no whiskers to be drawn, plotly fails to draw boxpoints if jitter is set to anything but 0. I.e. if jitter is 0, the points are drawn, but they overlap. Example at:

http://codepen.io/anon/pen/OXjgNP

@etpinard
Copy link
Contributor

etpinard commented Jul 7, 2016

Thanks for the report.

This may be related to #574

@etpinard etpinard added the bug something broken label Jul 7, 2016
@etpinard
Copy link
Contributor

etpinard commented Jul 13, 2016

I'm not exactly sure how to fix this bug, but I found the problem.

On this line, maxJitterFactor is zero whenever there are no whiskers and a jitter: 0.

@etpinard
Copy link
Contributor

etpinard commented Sep 7, 2016

@alexcjohnson do you have an opinion on this one?

@alexcjohnson
Copy link
Collaborator

Oh man, that's pathological... but should be a quick fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

No branches or pull requests

3 participants