File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,8 @@ def _safe_pyplot_import():
108108 from matplotlib .backends .registry import backend_registry
109109 backend = backend_registry .backend_for_gui_framework (current_framework )
110110 if backend is None :
111- raise RuntimeError (f"No suitable backend for the current GUI framework { current_framework !r} " )
111+ raise RuntimeError ("No suitable backend for the current GUI framework "
112+ f"{ current_framework !r} " )
112113
113114 rcParams ["backend" ] = mpl .rcParamsOrig ["backend" ] = backend
114115 import matplotlib .pyplot as plt # Now this should succeed.
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ interactive_bk: list[str]
88non_interactive_bk : list [str ]
99all_backends : list [str ]
1010
11+ def __dir__ () -> list [str ]: ...
12+
1113_T = TypeVar ("_T" )
1214
1315def _listify_validator (s : Callable [[Any ], _T ]) -> Callable [[Any ], list [_T ]]: ...
You can’t perform that action at this time.
0 commit comments