JS Control of Plot Generated by Python

I would like to make a plot that has 15 different heatmap traces (static data so I can export to file I think) and then show/hide them via external javascript, or built-in plotly functionality. I don’t think that visible=‘legendonly’ will work because then I’ll have 15 legends on screen

Thank you in advance!

Hey @sine1son welcome to the forum. You could select the underlying data via a dropdown. There are some topics on the form on how to do that- is this is an option for you.

I’m not sure I can switch underlying data because the heatmap matrix is generated on the backend, but if I could just show/hide traces or layers via a dropdown that would be great, can you link to an example?

Thank you!

Maybe this helps you?