-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Support type checking with mypy #20504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
As discussed on the call, Matplotlib may reconsider this after numpy has been through type hinting for a couple of releases. In the meantime, if anyone wants to release a separate package that supplies the hinting stubs, matplotlib would be be happy to support, perhaps even on the matplotlib root project (i.e. matplotlib/mpl-hinting) once it was shown to be generally useful. We will keep this open to track conversation. |
Sorry, didn't find the other issues, probably since I was only searching for mypy... |
Maybe some of this could be taken over: It has the note:
|
The Pylance team at Microsoft seems to have produced pretty good type stubs for matplotlib: https://github.com/microsoft/python-type-stubs/tree/main/matplotlib |
With
I would suggest a similar path for |
Would be great if matplotlib added type information and support for type checking with
mypy
, for example...The text was updated successfully, but these errors were encountered: