Highlight heatmap cell or change the color of a specific heatmap cell

Is it possible to highlight or change the color of a specific heatmap cell in Plotly, I have a requirement of accepting the user input and then highlight those cells on the heatmap. Any help would be greatly appreciated, thanks

1 Like

You could add a second heatmap in front of the first, with all null (or NaN or None) except for the selected cells. Alternatively if it’s a compact region you’re highlighting you could make a layout.shape or a filled scatter line trace that encloses the selected region.

Thank you @alexcjohnson, I guess I will try the scatter layout and see how it goes.