Skip to content

Fix annotated heatmap text color when values are specified as a nested list #1411

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

Merged
merged 2 commits into from
Jan 26, 2019

Conversation

jonmmease
Copy link
Contributor

Closes #1300

When the z value provided to the create_annotated_heatmap figure factory was a nested list, the min/max values were being computed incorrectly resulting in subtle errors in font coloring. When the z value was a numpy array, text colors were computed properly.

There were incorrect calculations for the min/max of a 2D list.
@jonmmease jonmmease merged commit 15aff13 into master Jan 26, 2019
@jonmmease jonmmease added this to the v3.6.0 milestone Jan 26, 2019
@nicolaskruchten nicolaskruchten deleted the bug_1300 branch June 19, 2020 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant