-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Improve docs on Axes limits and direction #12705
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
a list of (x, y) tuples or a Nx2 array. | ||
|
||
updatex, updatey : bool | ||
Whether to update the x/y limits. |
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.
Adding optional, default *True*
here?
I wonder what happens if you let both be False
though.
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.
If both are False, the BBox
is invaidate()
d, but the limits are not changed.
lib/matplotlib/axes/_base.py
Outdated
|
||
If no data is set currently, the BBox will ignore its limits and set | ||
the bound to be the bounds of the xydata (*xys*). Otherwise, it will | ||
compute the bounds of it's current data and the data in *xys*. |
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.
its, instead of it's
Or maybe
compute the bounds of the union of its current data and the data in xys.
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.
Thanks!
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulation you did some good work ! Hopefully your backport PR will be tested by the continuous integration and merged soon! If these instruction are inaccurate, feel free to suggest an improvement. |
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulation you did some good work ! Hopefully your backport PR will be tested by the continuous integration and merged soon! If these instruction are inaccurate, feel free to suggest an improvement. |
Improve docs on Axes limits and direction
Improve docs on Axes limits and direction
…v3.0.x Backport PR #12705 on branch v3.0.x
PR Summary
Improve docs on Axes limits and direction. This is part of the overall Axes documentation review #10148.
Only docstring changes.