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

Layout callbacks dont fire on responsive FigureWidget

Open
#5,279 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Reproduce the responsive FigureWidget behavior described in plotly.py with versions 5.24.1 and 6.2.0, resizing the browser and observing width callbacks and initial callback execution. Trace the FigureWidget responsive and callback entry points to determine whether the change is intentional; done means the behavior is explained and, if unintended, covered by a regression test.

Written by the indexing model from the issue text.

Description

bug P2

Hi, im currently working with plotly in python shiny using shinywidgets. Now there seems to be an issue coming from plotly, where the callbacks dont fire for a responsive FigureWidget. Specifically callbacks installed on the widgets width. This worked with plotly v5.24.1. There i could resize the browser window, which would then resize the FigureWidget (because it is responsive) and this would trigger the width callback. This doesnt work anymore in plotly v6.2.0.

Also, every callback would be initially run when the FigureWidget is first rendered in plotly v5.24.1. This also doesnt seem to happen anymore. Is this deliberate?

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.