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
@@ -93,7 +94,7 @@ def select_gui_toolkit(newbackend=None):
93
94
if newbackend .lower () == "tkagg" :
94
95
backend_name = f"mpl_gui._patched_backends.{ newbackend .lower ()} "
95
96
else :
96
- backend_name = cbook ._backend_module_name (newbackend )
97
+ backend_name = backend_registry ._backend_module_name (newbackend )
97
98
98
99
mod = importlib .import_module (backend_name )
99
100
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