-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Closed
Labels
Description
Bug summary
Running python tools/stubtest.py
fails for me locally with
% python tools/stubtest.py
error: matplotlib failed to find stubs
Stub:
MISSING
Runtime:
<module 'matplotlib' from '/Users/dstansby/software/matplotlib/lib/matplotlib/__init__.py'>
note: unused allowlist entry matplotlib.backends.*
note: unused allowlist entry matplotlib.tests.*
note: unused allowlist entry matplotlib.pylab.*
...
(many more note lines below here)
I can't work out what I need to do to fix this, and was hoping someone who knew more about the stubs could help! I followed the contributing guidelines to set up a development environment, which is working fine for tests etc.
Code for reproduction
n/a
Actual outcome
Stub test fails.
Expected outcome
Stub test runs.
Additional information
No response
Operating system
macOS
Matplotlib Version
3.9.0.dev896+gc1b80c56f7
Matplotlib Backend
MacOSX
Python version
3.11.6
Jupyter version
No response
Installation
git checkout