I’m using Dash, and I made a heatmap (go.Heatmap). It works, it’s visible, it’s gorgeous.
Now I’m trying to add
customdata to it (to be used on a click event later, aka I’m accessing
clickdata later). I have two bar graphs were I put in
customdata and when I click on them, I get the
customdata field in my
clickdata. I have tried and failed to do the same with the heatmap. Here is a dummy example of what I’m writing:
trace_heatmap = go.Heatmap(
Everything works, except the customdata. In this example, I’ve set it equal to the same thing as what I’m using for the
text field, as both are lists and the
text one worked, so I thought it’d be a good thing to test with. But, as said above, when I click a point and access the
clickdata, there is no
customdata at all. Any guidance would be appreciated!