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
type stubs for matplotlib #17991
Comments
FYI: pylance ships matplotlib stubs already, but they are proprietary (for now) and may end up in pyright see https://github.com/microsoft/pyright/issues/861 |
I'm going to close this as we are well aware that type annotations exist and adding them across the library is a bigger project than should be tracked in a single issue. I stand by we should let numpy go through a couple of release cylces with the types before we start to adopt them to let the dust settle a bit. It is my understanding that the MSFT stubs are auto-generated by walking the code which suggests it is not urgent that we take this on (as the tools that will benefit the most from the stubs can generate their own). |
FWIW, this isn't the case; what's shipped with Pylance I wrote by hand over the course of a weekend conference (this weekend was the anniversary of me writing them, yay); they certainly aren't meant to be proprietary in any sense and will end up in https://github.com/microsoft/python-type-stubs (them not being there is an oversight). Sorry for bumping an old thread (time flies), I'm just now spending some long-overdue time addressing issues in those stubs and was checking on the state of typing here. |
Would be great if matplotlib shipped with type stubs.
The text was updated successfully, but these errors were encountered: