File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 5
5
6
6
from matplotlib import cbook , rcsetup
7
7
from matplotlib import rcParams , rcParamsDefault
8
+ from matplotlib .backends .registry import backend_registry
8
9
import matplotlib .backend_bases
9
10
10
11
@@ -92,7 +93,7 @@ def select_gui_toolkit(newbackend=None):
92
93
if newbackend .lower () == "tkagg" :
93
94
backend_name = f"mpl_gui._patched_backends.{ newbackend .lower ()} "
94
95
else :
95
- backend_name = cbook ._backend_module_name (newbackend )
96
+ backend_name = backend_registry ._backend_module_name (newbackend )
96
97
97
98
mod = importlib .import_module (backend_name )
98
99
if hasattr (mod , "Backend" ):
Original file line number Diff line number Diff line change 1
1
# List required packages in this file, one per line.
2
- matplotlib
2
+ matplotlib > 3.9
You can’t perform that action at this time.
0 commit comments