-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
getting warning about too many auto-margin redraws #4572
Comments
Thanks very much for the report ! It's kind of nice to see that auto-margin cap added in 631014a (from PR #4216) saved you from running into an infinite loop. Your codepen is probably the most minimal example of an infinite auto-margin loop that I've seen. Thanks very much for sharing. The situation here is essentially described in #2704 (comment) Unfortunately, I doubt we'll be able to fix this issue without first implementing #2704 |
Thanks @etpinard . Just do explicit margins in these situations as a workaround for now? |
Yes, that will work. |
Hi, Could you please take a look plotly/dash#1112 ? I suspect that dcc.loading use 1 redraw then go.Layout.Margin use another and some graph type use more than 1 redraw and that cause the error. |
Hi all, I also have this problem
When running this code |
Hey! |
|
A workaround for this is to set |
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)
The text was updated successfully, but these errors were encountered: