Skip to content

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

stefanv
Copy link
Contributor

@stefanv stefanv commented Dec 18, 2024

This is a proof-of-concept PR to address #29334

@dstansby
Copy link
Member

This looks good to me at a glance - is there still interest in merging this? It's currently marked as draft.

@stefanv stefanv marked this pull request as ready for review April 30, 2025 23:12
@stefanv
Copy link
Contributor Author

stefanv commented Apr 30, 2025

I'd still like to see this, or something like it, merged!

@stefanv stefanv force-pushed the add_subplots-axes3d branch from 3b60169 to 81f6ba3 Compare May 1, 2025 16:50
@@ -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:
Copy link
Member

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, removed

@dstansby dstansby requested a review from timhoffm May 2, 2025 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants