Black Lives Matter. Please consider donating to Black Girls Code today.

Highlight of a heatmap cell


I have two heatmap Graphs with equivalent x and y axis (the two heatmaps are all the same but for the z values).

When a cell is highlighted on one of the heatmaps, I would like the equivalent cell to be highlighted on the other heatmap (like surrounding the cell with a red box).
I can hook a on_hover event callback on both Graph but I do not know what to return to highlight the specific cell on the other Graph.