Skip to content

Fix SubplotSpec.get_gridspec type hint #29724

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

Merged
merged 1 commit into from
Mar 10, 2025

Conversation

has2k1
Copy link
Contributor

@has2k1 has2k1 commented Mar 10, 2025

PR summary

SubplotSpec.__init__ accepts an instance of GridSpecBase, the getter function should return a GridSpecBase as well.

PR checklist

SubplotSpec.__init__ accepts an instance of GridSpecBase,
the getter function should return a GridSpecBase as well.
@github-actions github-actions bot added the topic: geometry manager LayoutEngine, Constrained layout, Tight layout label Mar 10, 2025
@oscargus oscargus added this to the v3.10.2 milestone Mar 10, 2025
@timhoffm timhoffm merged commit 3cdbe7a into matplotlib:main Mar 10, 2025
41 of 44 checks passed
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Mar 10, 2025
oscargus added a commit that referenced this pull request Mar 10, 2025
…724-on-v3.10.x

Backport PR #29724 on branch v3.10.x (Fix SubplotSpec.get_gridspec type hint)
@ksunden ksunden mentioned this pull request May 9, 2025
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: geometry manager LayoutEngine, Constrained layout, Tight layout topic: typing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants