Plotly Heatmap Colorscale. Colorbar plotly graph objects heatmap colorbar instance or dict with compatible properties colorscale sets the colorscale. How to set colorscales and heatmap colorscales in d3 js based javascript charts in plotly js.
The initial data are an array of z values and a plotly colorscale consisting in a scale 0 0 33 0 67 1 in your example and the corresponding color names or color codes. To understand why you get a heatmap colored like this you have to know how the colormapping is performed i e the definition of a heatmap. Data in z can either be a 2d array of values ragged or not or a 1d array of values.
Looking for a color by value option.
Float defines the minimum range for the z values. Custom colorscale heatmap made by ushark plotly. To understand why you get a heatmap colored like this you have to know how the colormapping is performed i e the definition of a heatmap. Divergent sequential and qualitative colorscales.