Hi @plotly.lover no there is a slight change compared to the initial example, it corresponds to these lines (using update
instead of restyle
)
step = dict(
method="update",
args=[{"visible":[False] * len(fig.data)}, # update for traces
{"title":str(i)} # update for layout
],
)