Skip to content
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

Fix yet another histogram edge case #2413

Merged
merged 1 commit into from
Feb 27, 2018
Merged

Fix yet another histogram edge case #2413

merged 1 commit into from
Feb 27, 2018

Conversation

alexcjohnson
Copy link
Collaborator

Fixes #2393 - this bug was actually introduced with #2028 fixing some other histogram edge cases. But in that fix I accidentally conflated single-value (which should use the special logic added there to readjust bins) and single-bin (which can result from Axes.autoBin even with multiple distinct values in the data array). This special logic is only triggered with barmode: 'overlay' which is why that's all I tested here; it already worked correctly in any other barmode.

cc @etpinard

@etpinard etpinard added the bug something broken label Feb 27, 2018
@etpinard
Copy link
Contributor

Fantastic 💃

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 this pull request may close these issues.

Wrong histogram for a certain data point
2 participants