Open
Description
When the slider moves, the axes don't adjust to the new data range, but if we download the plot with the current slider selection the view is correct.
Screen.Recording.2024-10-11.at.19.10.47.mov
MRE
plotly==5.24.1
import plotly.express as px
import random
df = px.data.gapminder()
df['numeric_var'] = df['year'].apply(lambda x: x - 1900 + random.randint(-5,5))
fig = px.scatter(
df, x="gdpPercap", y="numeric_var", animation_frame="year", animation_group="country",
color="numeric_var", hover_name="country",
)
fig.show()