-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Make ax3d.get_xlim() return a tuple, as 2D axes do. #10554
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.
+1 for making the API more consistent. This needs an API change note, as people might have relied on the np.array type.
done |
``Axes3D.get_xlim``, ``get_ylim`` and ``get_zlim`` now return a tuple | ||
````````````````````````````````````````````````````````````````````` | ||
|
||
They previously returned an array. Returning a tupleis consistent with the |
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.
Typo: tupleis
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.
fixed :p
@@ -0,0 +1,5 @@ | |||
``Axes3D.get_xlim``, ``get_ylim`` and ``get_zlim`` now return a tuple |
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.
Should this go in the 2.2 API changes that has already been merged up?
Backport PR #10554 on branch v2.2.x
PR Summary
Closes #10496. Alternate fix is in #10503.
PR Checklist