6.2.4 Advanced Heatmap
1. Basic Annotated Heatmap
## Annotated heatmap
import plotly.figure_factory as ff
z = [[.1, .3, .5, .7, .9],
[1, .8, .6, .4, .2],
[.2, 0, .5, .7, .9],
[.9, .8, .4, .2, 0],
[.3, .4, .5, .7, 1]]
fig = ff.create_annotated_heatmap(z)
fig.show()
2. Heatmap with defined color-scale

3. Customized Heatmap

Last updated
Was this helpful?