How to customize the color_continuous_scale in plotly?

@jumbo
To map your data ranges to prescribed colors, see this thread Colors for discrete ranges in heatmaps

and this notebook: b'Heatmap with a discrete colorscale | empet | Plotly'

If you want to use colors from an available color continuous scale see also the function get_color_for_val I defined in this thread: Hover background color on scatter 3d