Annotated heatmaps: font colour blends with the colour of the square when using zmin and zmax
See original GitHub issueSince there’s no reaction to the new message in #1300, I’ll write it as a separate issue.
Bug can be reproduced when using zmin
and zmax
arguments. Plotly 4.5.0.
from random import triangular
import plotly.figure_factory as ff
z = [[round(triangular(0.01, 0.1), 3) for j in range(10)] for i in range(10)]
ff.create_annotated_heatmap(z, colorscale='greens').show()
ff.create_annotated_heatmap(z, colorscale='greens', zmin=0, zmax=1).show()
Without zmin
and zmax
:
With zmin=0
and zmax=1
:
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Chapter 3 Heatmap Annotations | ComplexHeatmap ...
Heatmap annotations are important components of a heatmap that it shows additional information that associates with rows or columns in the ...
Read more >Correlation Heatmap in Plotly - python - Stack Overflow
Seaborn colormap that I was create, I want to create something similar in Plotly. How can I do that? You can use of...
Read more >How does a heatmap's font_colors attribute work? - Dash Python
I created the following heatmap: I want the font color of the green cells to be white, and the red+yellow cells to be...
Read more >Heatmap colors - miocittadino.it
Here are heat maps using yellow and red for colors for the brain study. ... while numerical data requires a colour scale that...
Read more >Help Online - LabTalk Programming - Layer.CMap - OriginLab
Set color levels. method is Null (Not specified): Use the prepared color map settings, like zmin, zmax, etc., and the Original colormap level...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have submitted a PR, (this is my first one), not sure why the build doc requirement failed https://github.com/plotly/plotly.py/pull/2892
No update, we’d be happy to accept a PR for it if it’s easy 😃
The
RdBu
inclusion in sequential was a mistake, as noted in the docs you linked: