Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
MNT: Restore auto-adding Axes3D to their parent figure on init#19496
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
This passes the labelled test if you go back to the old way of calling: @mpl3d_image_comparison(['axes3d_labelpad.png'],remove_text=False)deftest_axes3d_labelpad():fig=plt.figure()ax=Axes3D(fig) OTOH, I was hoping we would deprecate calling Axes3D this way because it really is illogical to have it behave differently from every other type of axes. |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Only warn when directly created by the user, not via our machinery.Closesmatplotlib#18939Co-authored-by: Jody Klymak <jklymak@gmail.com>Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
I think I fixed the doc build (by updating a very old whats new example!). |
Uh oh!
There was an error while loading.Please reload this page.
Only do this when directly created by the user, not via our machinery.
PR Summary
Alternative to#19413.
This still needs tests and updates to the docs.
PR Checklist
pytest
passes).flake8
on changed files to check).flake8-docstrings
and runflake8 --docstring-convention=all
).doc/users/next_whats_new/
(follow instructions in README.rst there).doc/api/next_api_changes/
(follow instructions in README.rst there).