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
Bug summary
With
mypy,plt.show()results inerror: Call to untyped function "show" in typed context [no-untyped-call].Code for reproduction
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.0andmypy 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