-
-
Notifications
You must be signed in to change notification settings - Fork 8k
Register 3d projection by default. #13520
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
3c87da1
to
abfc603
Compare
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.
Don't think we need this any more?
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.
oops, indeed, fixed
Now that we always install mpl_toolkits, we may as well always register mplot3d and save an "apparently unused" import for the users.
abfc603
to
821b5ed
Compare
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 tests and docs work.
they passed
Worth a backport to 3.1.x
?
Examining the output of python -X importtime -c 'import matplotlib.pyplot, mpl_toolkits.mplot3d'
indicates that the slowdown should be on the order of 1% (~3ms vs 300ms).
Now that we always install mpl_toolkits (#12317), we may as well always register
mplot3d and save an "apparently unused" import for the users (#12249).
PR Summary
PR Checklist