Skip to content

[TYP] Add overload of pyplot.subplots#27001

Merged
ksunden merged 6 commits intomatplotlib:mainfrom
n-takumasa:fix-subplots-typing
May 30, 2024
Merged

[TYP] Add overload of pyplot.subplots#27001
ksunden merged 6 commits intomatplotlib:mainfrom
n-takumasa:fix-subplots-typing

Conversation

@n-takumasa
Copy link
Copy Markdown
Contributor

@n-takumasa n-takumasa commented Oct 5, 2023

PR summary

Change the type hint of the return value of pyplot.subplots from Any to Axes, ndarray, or Axes | ndarray.

PR checklist

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

6 participants