Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

How to specify color for each point in heatmap


I want to match an image to a heatmap.


I match the pixel values of the image in the heatmap, the output is as follows.


I do not know how colorscale works.

Is there a way to set colorscale like the color of an image?

Any feedback appreciated

regards. is a good place to start.

Not at the moment unfortunately. See