Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed
Labels
Milestone
Description
Summary
I noticed that type inference in vscode didn't work as expected anymore after updating to 3.8.0 from 3.7.3. I tracked it down to that the type hint for the output of subplots() is tuple[Figure, Any] and the ax output didn't get proper intellisense in the IDE.
Proposed fix
Shouldn't the type hint for the output be something liketuple[Figure, Axes | list[Axes]]
?