-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Fix autoscaling to exclude inifinite data limits when possible. #18276
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there is a simpler fix.
Anyone can dismiss this review.
@tacaswell you're approach of changing L2544 to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems better, but I think could be a lot more straightforward? But no doubt there is a subtlety I'm missing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks better to me. I don't quite agree with your readability concerns, but this is till far better than the original, so 👍 and thanks for working on it....
Approach changed, consistent with this review...
It looks like the bug was that when we collapsed this from a doing x + y via copy-paste to a nested function we failed to pull out the x/y nature in the autoscaling? |
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Closes #18137
PR Summary
The existing code will allow an infinite data limit from one subplot to 'clobber' a finite data limit from another subplot thus defeating the intent.
PR Checklist