Multiple traces with a single slider in plotly

Hi @empet,

Of course ! It’s the least I can do.
Basically, I’m plotting absorption spectra juxtaposed to water absorption profiles (for multiple points) - both subplots use “simple” lines, lines with markers and filled lines. The slider is used to change the wavelength of the absorption profiles (the 2nd subplot) - so it turn specific traces (in)visible (as in jmmease’s example). At the moment, everything works fine, excepted that when one updates the wavelength (by moving the cursor) it does not keep the “toggling information” (I don’t know if I can say that :confused:), as can be seen on the following gif (I didn’t plot any filled lines [=standard deviation] here but it works the same way).

I hope my explanations aren’t too messy :thinking: