getting warning about too many auto-margin redraws
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 18.3k
- Forks
- 2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 28
Description
Using plotlyjs 1.51.1, I'm seeing autorange do weird things:

Here's some reproducing code:
https://codepen.io/rhamner/pen/abOvOxW?editors=1010
It only fails for me when using log y-axis, but I haven't tested all permutations or anything. It worked previously but I didn't track which version (I know it was working last week).
It gives me this warning:

Windows 10 64-bit
Chrome Version 80.0.3987.87 (Official Build) (64-bit)
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.
Research direction
Start with the linked CodePen reproduction in Chrome using Plotly.js 1.51.1 and a log y-axis, then inspect the autorange and redraw behavior responsible for the warning. Done means the reproduced chart no longer reports too many auto-margin redraws and autorange behaves correctly; verify the result against the provided example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100