-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
[Doc]: Pyplot Axes – tuple or list? #26508
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
Comments
Thanks @EngineerKhan, I think either will work, but I agree this docstring should be self-consistent. Changing it as you say would make it match fig.add_axes (which it calls underneath). Would you like to make a PR? |
@rcomer I have made the PR. Please check if it sounds good. |
@EngineerKhan I cannot see a pull request from you. |
@EngineerKhan it looks like you still need to create the pull request from your branch. If you go here then you should see a "New pull request" button. |
Documentation Link
https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.axes.html
Problem
It reads: "4-tuple of floats rect = [left, bottom, width, height]. "
Shouldn't it be a list?
Suggested improvement
Perhaps we should go for the tuples here.
The text was updated successfully, but these errors were encountered: