FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[ENH]: Add types for `fig_kw` argument in `subplots` · Issue #31003 · matplotlib/matplotlib · GitHub

Repository navigation

[ENH]: Add types for fig_kw argument in subplots #31003

Closed

Description

Problem

In pandas-stubs, we are looking to support pyright strict typing checks.

Because the argument fig_kw is untyped in the declaration of subplots in pyplot.py, pyright will report reportUnknownMemberType with strict type checking.

See https://github.com/pandas-dev/pandas-stubs/pull/1639/changes/de0a4176d4704d81cebd44cd201382340d0c2fbb..7985c9b0b8ec0dedca3fae36a1e539a386bdee27#r2709077432 for relevant comment

Proposed solution

Annotate **fig_kw as Any in the various subplots declarations.

Activity

  1. added a commit that references this issue on Jan 20, 2026
  2. added 3 commits that reference this issue on Jan 25, 2026
    99bc9a7
    009101a
    3f2bc7c
  3. added this to the v3.11.0 milestone on Jan 27, 2026
  4. added a commit that references this issue on Jan 27, 2026
    9957c39
  5. added 3 commits that reference this issue on Feb 3, 2026
    7885d25
    6988bb0
    90dd742
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL