Skip to content

Wrong histogram for a certain data point #2393

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
Pradhyo opened this issue Feb 21, 2018 · 2 comments · Fixed by #2413
Closed

Wrong histogram for a certain data point #2393

Pradhyo opened this issue Feb 21, 2018 · 2 comments · Fixed by #2413
Labels
bug something broken

Comments

@Pradhyo
Copy link

Pradhyo commented Feb 21, 2018

Instead of two bars, one at 4 and another at 1, there is only one single bar at 4 when I try to plot a histogram for just [4, 1]

Bug on Codepen

It plots correctly for [5, 1] and some other values I tried.

@alexcjohnson alexcjohnson added the bug something broken label Feb 22, 2018
@alexcjohnson
Copy link
Collaborator

Thanks for the report - this seems to fail for a somewhat random set of [x, 1], including 8, 9, and 15-19 (and [1, x] fails the reverse way for the same numbers, only showing the 1).

@Pradhyo
Copy link
Author

Pradhyo commented Feb 28, 2018

Thank you!

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

Successfully merging a pull request may close this issue.

2 participants