Hi @empet, I am using custom colorscale for heatmap, but I am getting different color, shouldn’t the plot be giving limegreen and tomato color?
colorscale= [[0, 'whitesmoke'], [0.33, 'limegreen'], [0.67, 'tomato'], [1, 'teal']]
values = [[0,0,0,0,0,.67,.67,.67,.67,0,0,0,0,0,.33,.33,.33,.33,0,0,0,0],
[0,0,0,0,0,.67,.67,.67,.67,0,0,0,0,0,.33,.33,.33,.33,0,0,0,0]
]
fig_bar = go.Figure(data=go.Heatmap(z=values, colorscale=colorscale,text=values,
hoverinfo ='text',showscale=False)
)
fig_bar.show()
