Turn off individual plot in JS

Is there a way to display a plot with some of the traces initially turned off?

Here’s how: https://codepen.io/etpinard/pen/MWgKNOm

1 Like

Thank you, the visible ‘legendonly’ option was just what I needed!

three reasons why you should buy plotly pro: support open source, get great support, host your plots and dashboards online