8000 [Bug]: Missing typing for backend_wxagg.py · Issue #26941 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
[Bug]: Missing typing for backend_wxagg.py #26941
Open
@chacabuco

Description

@chacabuco

Bug summary

with mypy, FigureCanvasWxAgg results in error:

Call to untyped function "FigureCanvasWxAgg" in typed context [no-untyped-call]

Code for reproduction

from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as FigureCanvas

FigureCanvas(None, -1)
# Then run mypy --strict

Actual outcome

Call to untyped function "FigureCanvasWxAgg" in typed context [no-untyped-call]

Expected outcome

No Mypy error

Additional information

No response

Operating system

Ubuntu

Matplotlib Version

3.8.0

Matplotlib Backend

wxAgg

Python version

3.8.10

Jupyter version

No response

Installation

pip

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

      0