Fix default backend#19854
Conversation
There is logic in setup.py to either set the value to a build-time config (so packagers can be opinionated about the default) or empty to get the fallback default. When working on a source-install this logic is not run.
See comment in code. Accounts for the fact that we can to directly specify the "fallback" backend value. This interprets the lack of a backend entry and an empty backend entry the same. closes matplotlib#19848
|
Actually I had a different fix coming in soon. |
|
Happened to be online so giving it a go here: mpl-extensions/mpl-interactions#178 as a real world test In particular this run: https://github.com/ianhi/mpl-interactions/pull/178/checks?check_run_id=2256624853 so this definitely fixes the pytest-mpl error. |
|
Closing in favor of #19855 |
PR Summary
PR Checklist
pytestpasses). (this is an import bug)flake8on changed files to check).flake8-docstringsand runflake8 --docstring-convention=all).