8000
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 e18712a commit e458aa6Copy full SHA for e458aa6
lib/matplotlib/backends/registry.py
@@ -397,7 +397,7 @@ def resolve_gui_or_backend(self, gui_or_backend):
397
# First check if it is a gui loop name.
398
backend = self.backend_for_gui_framework(gui_or_backend)
399
if backend is not None:
400
- return backend, gui_or_backend
+ return backend, gui_or_backend if gui_or_backend != "headless" else None
401
402
# Then check if it is a backend name.
403
try:
0 commit comments