This repository was archived by the owner on Jun 3, 2024. It is now read-only.
File tree 2 files changed +5
-4
lines changed
dash_core_components_base
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 19
19
"named \n 'dash.py' in your current directory." , file = _sys .stderr )
20
20
_sys .exit (1 )
21
21
22
- from ._imports_ import * # noqa: F401, F403
22
+ from ._imports_ import * # noqa: F401, F403, E402
23
23
from ._imports_ import __all__ # noqa: E402
24
24
25
25
_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 {
227
227
return layout ;
228
228
}
229
229
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 ) || { } ;
232
233
// Store the original data that we're about to override
233
234
const override_originals = { } ;
234
235
for ( const key in override ) {
@@ -245,7 +246,7 @@ class PlotlyGraph extends Component {
245
246
for ( const key in override ) {
246
247
layout [ key ] = override [ key ] ;
247
248
}
248
- return layout ; // not really a clone
249
+ return layout ; // not really a clone
249
250
}
250
251
251
252
getConfigOverride ( responsive ) {
You can’t perform that action at this time.
0 commit comments