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

[TYP]: Decide what to re-export from pyplot #26372

Open
@QuLogic

Description

@QuLogic

Summary

Runningmypy --strict generates the following missed items found in the tests or other parts of the code base:

error: Module "matplotlib.pyplot" does not explicitly export attribute "Axes"  [attr-defined]error: Module "matplotlib.pyplot" does not explicitly export attribute "Circle"  [attr-defined]error: Module "matplotlib.pyplot" does not explicitly export attribute "cm"  [attr-defined]error: Module "matplotlib.pyplot" does not explicitly export attribute "color_sequences"  [attr-defined]error: Module "matplotlib.pyplot" does not explicitly export attribute "figaspect"  [attr-defined]error: Module "matplotlib.pyplot" does not explicitly export attribute "FixedFormatter"  [attr-defined]error: Module "matplotlib.pyplot" does not explicitly export attribute "FixedLocator"  [attr-defined]error: Module "matplotlib.pyplot" does not explicitly export attribute "FormatStrFormatter"  [attr-defined]error: Module "matplotlib.pyplot" does not explicitly export attribute "FuncFormatter"  [attr-defined]error: Module "matplotlib.pyplot" does not explicitly export attribute "get_backend"  [attr-defined]error: Module "matplotlib.pyplot" does not explicitly export attribute "Line2D"  [attr-defined]error: Module "matplotlib.pyplot" does not explicitly export attribute "LinearLocator"  [attr-defined]error: Module "matplotlib.pyplot" does not explicitly export attribute "MaxNLocator"  [attr-defined]error: Module "matplotlib.pyplot" does not explicitly export attribute "MultipleLocator"  [attr-defined]error: Module "matplotlib.pyplot" does not explicitly export attribute "Normalize"  [attr-defined]error: Module "matplotlib.pyplot" does not explicitly export attribute "NullLocator"  [attr-defined]error: Module "matplotlib.pyplot" does not explicitly export attribute "_pylab_helpers"  [attr-defined]error: Module "matplotlib.pyplot" does not explicitly export attribute "rcParams"  [attr-defined]error: Module "matplotlib.pyplot" does not explicitly export attribute "rcParamsDefault"  [attr-defined]error: Module "matplotlib.pyplot" does not explicitly export attribute "Rectangle"  [attr-defined]error: Module "matplotlib.pyplot" does not explicitly export attribute "style"  [attr-defined]

We should decide whether these items should be re-exported there or we should reduce that usage internally as well.

Proposed fix

No response

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp