-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
fix: Calculate colorscale properly for histogram #7534
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💃 Looks good. You could also test this by removing cmin
and cmax
from the histogram_colorscale
mock, as the values it includes are what it should choose automatically anyway so if the colors it ends up with match the existing mock it must have gotten the proper min and max.
💃 Looks good. You could also test this by removing
cmin
andcmax
from thehistogram_colorscale
mock, as the values it includes are what it should choose automatically anyway so if the colors it ends up with match the existing mock it must have gotten the proper min and max.
That's actually a better test. I'll update the OP to show the change.
Uh oh!
There was an error while loading. Please reload this page.
Description
Calculate the colorscale properties for the histrogram trace when they are undefined.
Screenshots
Testing
cmin
andcmax
valuesNotes