We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a473e8f commit 09e9a9dCopy full SHA for 09e9a9d
mpl_gui/_manage_backend.py
@@ -79,10 +79,9 @@ def select_gui_toolkit(newbackend=None):
79
except ImportError:
80
continue
81
82
- else:
83
- # Switching to Agg should always succeed; if it doesn't, let the
84
- # exception propagate out.
85
- return select_gui_toolkit("agg")
+ # Switching to Agg should always succeed; if it doesn't, let the
+ # exception propagate out.
+ return select_gui_toolkit("agg")
86
87
if isinstance(newbackend, str):
88
# Backends are implemented as modules, but "inherit" default method
0 commit comments