Layout callbacks dont fire on responsive FigureWidget
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
- Domain
- data-visualization, frontend
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
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from plotly/plotly.py
-
P3 size: 1 task
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
P3 size: 1 task
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
bug P1
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
feature P3
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
feature P3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
All issues in plotly/plotly.py
Similar issues
-
Add: hunch Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
AbdelStark/awesome-typesafe#104 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
DiamondLightSource/dodal#2211 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
openml/openml-python#1749 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sipyourdrink-ltd/bernstein#6191 ·