Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#4,796 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
plotly, python

Research direction

Run the provided gapminder MRE with plotly 5.24.1 and compare the axes and colorbar after moving the animation slider with the downloaded plot. Trace the animation update entry point used by this example; done when slider changes refresh the x-axis, y-axis, and colorbar ranges to match the selected data.

Written by the indexing model from the issue text.

Description

bug cs P2 sev-3

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.

https://github.com/user-attachments/assets/9305c8f8-4724-4b96-9f0f-dbaf5159df4c

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()
Dominant language
Python
Stars
18.8k
Forks
2.8k
Avg merge
13h 41m
Merged PRs (30d)
21

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from plotly/plotly.py

All issues in plotly/plotly.py

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.