We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5c0b86 commit 5c256f7Copy full SHA for 5c256f7
lib/matplotlib/tests/test_backends_interactive.py
@@ -78,7 +78,10 @@ def _get_available_interactive_backends():
78
missing = [dep for dep in deps if not importlib.util.find_spec(dep)]
79
if missing:
80
reason = "{} cannot be imported".format(", ".join(missing))
81
- elif env["MPLBACKEND"] == "tkagg" and _is_linux_and_xdisplay_invalid:
+ elif _is_linux_and_xdisplay_invalid and (
82
+ env["MPLBACKEND"] == "tkagg"
83
+ # Remove when https://github.com/wxWidgets/Phoenix/pull/2638 is out.
84
+ or env["MPLBACKEND"].startswith("wx")):
85
reason = "$DISPLAY is unset"
86
elif _is_linux_and_display_invalid:
87
reason = "$DISPLAY and $WAYLAND_DISPLAY are unset"
0 commit comments