TST: matplotlib 3.4.1 broke RTD with MatplotlibDeprecationWarning
See original GitHub issueYou will see this error on CircleCI for mpldev
and in the dev job of Actions:
INTERNALERROR> ValueError: Key backend: '' is not a valid value for backend; supported values are
['GTK3Agg', 'GTK3Cairo', 'MacOSX', 'nbAgg', 'Qt4Agg', 'Qt4Cairo', 'Qt5Agg', 'Qt5Cairo',
'TkAgg', 'TkCairo', 'WebAgg', 'WX', 'WXAgg', 'WXCairo', 'agg', 'cairo',
'pdf', 'pgf', 'ps', 'svg', 'template']
You will see these warnings on RTD:
MatplotlibDeprecationWarning:
The validCap attribute was deprecated in Matplotlib 3.4 and will be removed two minor releases later.
return getattr(obj, attr, *defargs)
MatplotlibDeprecationWarning:
The validJoin attribute was deprecated in Matplotlib 3.4 and will be removed two minor releases later.
return getattr(obj, attr, *defargs)
~pandas
saw something similar for the warning and their fix is pandas-dev/pandas#32444~
TODO
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (10 by maintainers)
Top Results From Across the Web
Subclasses of Polygon with numpydoc xref throws error b/c of ...
TST: matplotlib 3.4.1 broke RTD with MatplotlibDeprecationWarning astropy/astropy#11458. Open. nstarman added a commit to nstarman/astropy that referenced ...
Read more >What's New — ginga v3.4.1
Fixed a small issue with a callback method in the Preferences plugin. Fix for a matplotlib deprecation warning. Ver 3.4.0 (2022-06-28) ....
Read more >ginga Documentation - Read the Docs
ginga Documentation, Release 3.4.1 ... Fix for some broken tests under python 2.7 ... Tests can now be run with py.test as well...
Read more >How do I install Matplotlib 3.4.1 in Anaconda? - Stack Overflow
I went to the Matplotlib official site discourse and found this post: ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Greetings from Skynet!
(A special day message.)
@pllim. I removed that part of the patch because I found it didn’t have an effect. The matplotlib docs use
`.CapStyle`
, which as a relative path can’t be overridden or ignored by numpydoc xref. Thanks, I’ll open a PR