Open
Description
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