How do I create toggle buttons on Plotly?

Hi, I’m trying to create an interface where a user can toggle to show / hide different subplots using toggle buttons. Is it possible to add toggle buttons on the Plotly website? I would simply do this with Python, but I want to embed this in a Medium article, which is why it’s important the chart is hosted on (Medium whitelists embeddable domains). As a backup option, would there be any way to create the plot using the Python library, then host it on Plotly so I can still embed it on Medium?

Any suggestions are appreciated. Thanks.

Has this been resolved? thx

I’m not looking for a toggle switch so much as wanting to change the label on a button (to mimic a toggle switch)