Changing active slider value doesn't change the displayed data
How can I change the displayed data subset when using animation_frame? fig.update_layout(sliders=[dict(active=...)]), shown in the docs, only changes the value selected on the slider itself, but not the actual data. In this example, it's still showing the data associated with z=1 (notebook).
import plotly.express as px
import pandas as pd
df = pd.DataFrame(dict(x=[0, 1, 0, 1],
y=[0, 1, 1, 0],
z=[0, 0, 1, 1]))
fig = px.line(df, "x", "y", animation_frame="z")
fig.update_layout(sliders=[dict(active=1)])
fig.show()
Also posted to StackOverflow
Hi - we are trying to tidy up the stale issues and PRs in Plotly's public repositories so that we can focus on things that are still important to our community. Since this one has been sitting for several years, I'm going to close it; if it is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. Thanks for your help - @gvwilson
