@@ -841,9 +841,9 @@ describe('Test axes', function() {
841
841
yaxis3 : { matches : 'y2' } ,
842
842
yaxis4 : { matches : 'y3' } ,
843
843
} ;
844
- layoutOut . _subplots . cartesian . push ( 'x2y2' , 'x3y3' , 'x4y4' ) ;
845
- layoutOut . _subplots . xaxis . push ( 'x2' , 'x3' , 'x4' ) ;
846
- layoutOut . _subplots . yaxis . push ( 'y2' , 'y3' , 'y4' ) ;
844
+ layoutOut . _subplots . cartesian = [ 'x2y2' , 'x3y3' , 'x4y4' ] ;
845
+ layoutOut . _subplots . xaxis = [ 'x2' , 'x3' , 'x4' ] ;
846
+ layoutOut . _subplots . yaxis = [ 'y2' , 'y3' , 'y4' ] ;
847
847
848
848
supplyLayoutDefaults ( layoutIn , layoutOut , fullData ) ;
849
849
@@ -871,9 +871,9 @@ describe('Test axes', function() {
871
871
yaxis3 : { matches : 'y' } ,
872
872
yaxis4 : { matches : 'y3' }
873
873
} ;
874
- layoutOut . _subplots . cartesian . push ( 'x3y3' , 'x4y4' ) ;
875
- layoutOut . _subplots . xaxis . push ( 'x3' , 'x4' ) ;
876
- layoutOut . _subplots . yaxis . push ( 'y3' , 'y4' ) ;
874
+ layoutOut . _subplots . cartesian = [ 'x3y3' , 'x4y4' ] ;
875
+ layoutOut . _subplots . xaxis = [ 'x3' , 'x4' ] ;
876
+ layoutOut . _subplots . yaxis = [ 'y3' , 'y4' ] ;
877
877
878
878
supplyLayoutDefaults ( layoutIn , layoutOut , fullData ) ;
879
879
@@ -940,9 +940,9 @@ describe('Test axes', function() {
940
940
xaxis2 : { matches : 'x' } ,
941
941
xaxis4 : { matches : 'x' }
942
942
} ;
943
- layoutOut . _subplots . cartesian . push ( 'x2y2' , 'x4y4' ) ;
944
- layoutOut . _subplots . xaxis . push ( 'x2' , 'x4' ) ;
945
- layoutOut . _subplots . yaxis . push ( 'y2' , 'y4' ) ;
943
+ layoutOut . _subplots . cartesian = [ 'x2y2' , 'x4y4' ] ;
944
+ layoutOut . _subplots . xaxis = [ 'x2' , 'x4' ] ;
945
+ layoutOut . _subplots . yaxis = [ 'y2' , 'y4' ] ;
946
946
947
947
supplyLayoutDefaults ( layoutIn , layoutOut , fullData ) ;
948
948
@@ -963,9 +963,9 @@ describe('Test axes', function() {
963
963
xaxis3 : { matches : 'x2' } ,
964
964
xaxis4 : { matches : 'x3' }
965
965
} ;
966
- layoutOut . _subplots . cartesian . push ( 'x3y3' , 'x4y4' ) ;
967
- layoutOut . _subplots . xaxis . push ( 'x3' , 'x4' ) ;
968
- layoutOut . _subplots . yaxis . push ( 'y3' , 'y4' ) ;
966
+ layoutOut . _subplots . cartesian = [ 'x3y3' , 'x4y4' ] ;
967
+ layoutOut . _subplots . xaxis = [ 'x3' , 'x4' ] ;
968
+ layoutOut . _subplots . yaxis = [ 'y3' , 'y4' ] ;
969
969
970
970
supplyLayoutDefaults ( layoutIn , layoutOut , fullData ) ;
971
971
0 commit comments