Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[MNT]: Any type hint in subplots #27025

Closed
@faultdiagnosistoolbox

Description

@faultdiagnosistoolbox

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]]?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp