This repository was archived by the owner on Aug 29, 2025. It is now read-only.
  
  
  
  
    
    
    
      
    
  
  
    
File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed 
dash_core_components_base Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1919          "named \n 'dash.py' in your current directory." , file = _sys .stderr )
2020    _sys .exit (1 )
2121
22- from  ._imports_  import  *   # noqa: F401, F403 
22+ from  ._imports_  import  *   # noqa: F401, F403, E402  
2323from  ._imports_  import  __all__   # noqa: E402 
2424
2525_current_path  =  _os .path .dirname (_os .path .abspath (__file__ ))
Original file line number Diff line number Diff line change @@ -227,8 +227,9 @@ class PlotlyGraph extends Component {
227227            return  layout ; 
228228        } 
229229        const  override  =  this . getLayoutOverride ( responsive ) ; 
230-         const  prev_layout  =  this . gd . current . layout ;   // === this.props.figure.layout 
231-         const  prev_override_originals  =  ( this . state  &&  this . state . override_originals )  ||  { } ; 
230+         const  prev_layout  =  this . gd . current . layout ;  // === this.props.figure.layout 
231+         const  prev_override_originals  = 
232+             ( this . state  &&  this . state . override_originals )  ||  { } ; 
232233        // Store the original data that we're about to override 
233234        const  override_originals  =  { } ; 
234235        for  ( const  key  in  override )  { 
@@ -245,7 +246,7 @@ class PlotlyGraph extends Component {
245246        for  ( const  key  in  override )  { 
246247            layout [ key ]  =  override [ key ] ; 
247248        } 
248-         return  layout ;    // not really a clone 
249+         return  layout ;  // not really a clone 
249250    } 
250251
251252    getConfigOverride ( responsive )  { 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments