matplotlib: missing types #462
Labels
fixed in next version (main)
A fix has been implemented and will appear in an upcoming version
typestub
Issue relating to our bundled type stubs
Do I understand correctly that Pylance bundles type stub files for popular libraries like matplotlib?
I get type errors for some things and I wonder if they are just missing from the bundled stub files.
For example, it doesn't recognize that
Axes
objects have aclear
method and this import gives an error:Can I add my own versions of these stub files in the
typings
subdirectory of my project to override them?If so, what file names do they need to have?
The text was updated successfully, but these errors were encountered: