@@ -475,33 +475,33 @@ describe('subplot creation / deletion:', function() {
475
475
] , {
476
476
xaxis2 : { overlaying : 'x' } ,
477
477
yaxis2 : { overlaying : 'y' } ,
478
- plot_bgcolor :'red' ,
478
+ plot_bgcolor : 'red' ,
479
479
showlegend : false
480
480
} )
481
481
. then ( function ( ) {
482
482
checkBGLayers ( 1 , 0 , [ 'xy' , 'x2y2' ] ) ;
483
483
484
484
return Plotly . relayout ( gd , {
485
- 'xaxis.domain' :[ 0 , 0.4 ] ,
486
- 'xaxis2.domain' :[ 0.6 , 1 ] ,
487
- 'xaxis2.overlaying' : null
488
- } )
485
+ 'xaxis.domain' : [ 0 , 0.4 ] ,
486
+ 'xaxis2.domain' : [ 0.6 , 1 ] ,
487
+ 'xaxis2.overlaying' : null
488
+ } ) ;
489
489
} )
490
490
. then ( function ( ) {
491
491
checkBGLayers ( 2 , 0 , [ 'xy' , 'x2y2' ] ) ;
492
492
493
493
return Plotly . relayout ( gd , {
494
494
'xaxis2.overlaying' : 'x'
495
- } )
495
+ } ) ;
496
496
} )
497
497
. then ( function ( ) {
498
498
checkBGLayers ( 1 , 0 , [ 'xy' , 'x2y2' ] ) ;
499
499
500
500
return Plotly . relayout ( gd , {
501
- 'xaxis.domain' :[ 0 , 0.6 ] ,
502
- 'xaxis2.domain' :[ 0.4 , 1 ] ,
503
- 'xaxis2.overlaying' : null
504
- } )
501
+ 'xaxis.domain' : [ 0 , 0.6 ] ,
502
+ 'xaxis2.domain' : [ 0.4 , 1 ] ,
503
+ 'xaxis2.overlaying' : null
504
+ } ) ;
505
505
} )
506
506
. then ( function ( ) {
507
507
checkBGLayers ( 1 , 1 , [ 'xy' , 'x2y2' ] ) ;
0 commit comments