Skip to content

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