Skip to content

[ENH]: Type annotations do no pass reportUnknownMemberType #27923

@Matt-Ord

Description

@Matt-Ord

Problem

Lots of the functions on Figure and Axes don't pass Pylance[reportUnknownMemberType]. This makes it hard to use matplotlib with strict type checking enabled.

Proposed solution

Add type annotations to the **kwargs argument for all type declarations in figure.pyi

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions