-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Closed
Labels
Milestone
Description
Bug summary
With mypy, plt.show() results in error: Call to untyped function "show" in typed context [no-untyped-call].
Code for reproduction
import matplotlib.pyplot as plt
plt.show()
# Then run `mypy`.Actual outcome
error: Call to untyped function "show" in typed context [no-untyped-call]
Expected outcome
No error.
Additional information
No error was reported in earlier versions.
The error appears with matplotlib 3.8.0 and mypy 1.5.1.
Operating system
Ubuntu
Matplotlib Version
3.8.0
Matplotlib Backend
No response
Python version
No response
Jupyter version
No response
Installation
pip
adamjstewart