Conversation
There was a problem hiding this comment.
Thank you for opening your first PR into Matplotlib!
If you have not heard from us in a while, please feel free to ping @matplotlib/developers or anyone who has commented on the PR. Most of our reviewers are volunteers and sometimes things fall through the cracks.
You can also join us on gitter for real-time discussion.
For details on testing, writing docs, and our review process, please see the developer guide
We strive to be a welcoming and open project. Please follow our Code of Conduct.
|
Hi @oscargus, |
|
It seems like it is the location of the ytick-labels that is off. The -1.0 label is outside of the viewable area and all other are shifted one position. So I guess that the actual box is drawn correctly, but the labels are misplaced. Edit: To clarify, I guess that this problem is not caused by your change, so it seems to be an issue elsewhere. |
|
I agree with you. Concerning the test, I will try to finalize it next week. |
| value description | ||
| ========= ================================================== | ||
| 'auto' automatic; fill the position rectangle with data. | ||
| 'equal' automatic; adapt the axes to have equal aspect |
There was a problem hiding this comment.
| 'equal' automatic; adapt the axes to have equal aspect | |
| 'equal' automatic; adapt the axes to have equal aspect. |
| mpl_toolkits.mplot3d.axes3d.Axes3D.set_box_aspect | ||
| """ | ||
| if aspect != 'auto': | ||
| if aspect not in ['auto', 'equal']: |
There was a problem hiding this comment.
| if aspect not in ['auto', 'equal']: | |
| if aspect not in ('auto', 'equal'): |
Minor thing, but slightly faster this way as this can be "compiled".
|
Approved subject to minor fixes and rebasing/squashing into single commit. |
|
The error comes from adding a figure in one commit and updating in another. If you rebase and squash the commits into a single one, it should go away. |
|
Oh, you are using the main branch. In general it is better to not do that, but to create a separate branch. Now, you need to do something like Then, for later updates you can do
so that the change will stay in that single commit. |
|
We can also squash the commits when merging. |
|
Hi @oscargus , |


PR Summary
Closes #22570
Make axis('equal') available
(I am new in PR - sorry for not doing things correctly)
PR Checklist
Tests and Styling
pytestpasses).flake8-docstringsand runflake8 --docstring-convention=all).Documentation
doc/users/next_whats_new/(follow instructions in README.rst there).doc/api/next_api_changes/(follow instructions in README.rst there).Example