-
-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Type annotation add_subplot for projection="3d" #29341
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
base: main
Are you sure you want to change the base?
Conversation
This looks good to me at a glance - is there still interest in merging this? It's currently marked as draft. |
I'd still like to see this, or something like it, merged! |
d623524
to
3b60169
Compare
3b60169
to
81f6ba3
Compare
lib/matplotlib/figure.pyi
Outdated
@@ -25,6 +25,9 @@ from matplotlib.lines import Line2D | |||
from matplotlib.patches import Rectangle, Patch | |||
from matplotlib.text import Text | |||
from matplotlib.transforms import Affine2D, Bbox, BboxBase, Transform | |||
if TYPE_CHECKING: |
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.
Actually, this guard is not needed in .pyi files, because they are only used for tyoechecking.
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.
OK, removed
This is a proof-of-concept PR to address #29334