Skip to content

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

Merged
jonmmease merged 2 commits into
masterfrom
bug_1300
Jan 26, 2019
Merged

jonmmease merged 2 commits into
masterfrom
bug_1300

Conversation

@jonmmease

Copy link
Copy Markdown
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.

1 participant