Plotly Buttons with Dependent Interactions

Hi @iamuuriwer1,

Having button/slider interactions that depend on other buttons/sliders is not possible with the widgets that are built-in to plotly.js (i.e. the widgets that you define in the figure.layout hierarchy).

For more sophisticated interactions I recommend you use FigureWidget+ipywidgets if you’re working in the Jupyter Notebook (https://plot.ly/python/figurewidget-app/). Or Dash if you want to build a standalone webpage (https://dash.plot.ly/).

Hope that helps clear things up.

-Jon

2 Likes