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 55
66from  matplotlib  import  cbook , rcsetup 
77from  matplotlib  import  rcParams , rcParamsDefault 
8+ from  matplotlib .backends .registry  import  backend_registry 
89import  matplotlib .backend_bases 
910
1011
@@ -92,7 +93,7 @@ def select_gui_toolkit(newbackend=None):
9293        if  newbackend .lower () ==  "tkagg" :
9394            backend_name  =  f"mpl_gui._patched_backends.{ newbackend .lower ()}  
9495        else :
95-             backend_name  =  cbook ._backend_module_name (newbackend )
96+             backend_name  =  backend_registry ._backend_module_name (newbackend )
9697
9798        mod  =  importlib .import_module (backend_name )
9899        if  hasattr (mod , "Backend" ):
Original file line number Diff line number Diff line change 11# 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