@@ -841,9 +841,9 @@ describe('Test axes', function() {
841841 yaxis3: {matches: 'y2'},
842842 yaxis4: {matches: 'y3'},
843843 };
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'] ;
847847
848848 supplyLayoutDefaults(layoutIn, layoutOut, fullData);
849849
@@ -871,9 +871,9 @@ describe('Test axes', function() {
871871 yaxis3: {matches: 'y'},
872872 yaxis4: {matches: 'y3'}
873873 };
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'] ;
877877
878878 supplyLayoutDefaults(layoutIn, layoutOut, fullData);
879879
@@ -940,9 +940,9 @@ describe('Test axes', function() {
940940 xaxis2: {matches: 'x'},
941941 xaxis4: {matches: 'x'}
942942 };
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'] ;
946946
947947 supplyLayoutDefaults(layoutIn, layoutOut, fullData);
948948
@@ -963,9 +963,9 @@ describe('Test axes', function() {
963963 xaxis3: {matches: 'x2'},
964964 xaxis4: {matches: 'x3'}
965965 };
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'] ;
969969
970970 supplyLayoutDefaults(layoutIn, layoutOut, fullData);
971971
0 commit comments