How to specify color for each point in heatmap

Hi

I want to match an image to a heatmap.

msrresult

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

plotly

I do not know how colorscale works.

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

Any feedback appreciated

regards.

Single-page reference in JavaScript is a good place to start.

Not at the moment unfortunately. See Raster graphics / heatmap performance · Issue #1827 · plotly/plotly.js · GitHub