Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

slider changes don't trigger axes (x, y, colorbar) adjustments #4796

Open
celia-lm opened this issue Oct 11, 2024 · 0 comments
Open

slider changes don't trigger axes (x, y, colorbar) adjustments #4796

celia-lm opened this issue Oct 11, 2024 · 0 comments
Labels
bug something broken cs customer success P2 considered for next cycle sev-3 annoyance with workaround

Comments

@celia-lm
Copy link

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()
@celia-lm celia-lm added the bug something broken label Oct 11, 2024
@gvwilson gvwilson added sev-3 annoyance with workaround P2 considered for next cycle cs customer success labels Oct 11, 2024
@gvwilson gvwilson changed the title [BUG] Slider changes don't trigger axes (x, y, colorbar) adjustments slider changes don't trigger axes (x, y, colorbar) adjustments Oct 22, 2024
@plotly plotly deleted a comment from andretation Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken cs customer success P2 considered for next cycle sev-3 annoyance with workaround
Projects
None yet
Development

No branches or pull requests

2 participants