@@ -537,9 +537,10 @@ describe('Test splom trace defaults:', function() {
537
537
538
538
var fullLayout = gd . _fullLayout ;
539
539
expect ( fullLayout . xaxis . matches ) . toBe ( 'y' ) ;
540
- expect ( fullLayout . yaxis . matches ) . toBe ( 'x' ) ;
541
540
expect ( fullLayout . xaxis2 . matches ) . toBe ( 'y2' ) ;
542
- expect ( fullLayout . yaxis2 . matches ) . toBe ( 'x2' ) ;
541
+ // not necessary to set y axes matching x, since x already matches y
542
+ expect ( fullLayout . yaxis . matches ) . toBe ( undefined ) ;
543
+ expect ( fullLayout . yaxis2 . matches ) . toBe ( undefined ) ;
543
544
544
545
var groups = fullLayout . _axisMatchGroups ;
545
546
expect ( groups . length ) . toBe ( 2 ) ;
@@ -562,7 +563,7 @@ describe('Test splom trace defaults:', function() {
562
563
expect ( fullLayout . xaxis ) . toBe ( undefined ) ;
563
564
expect ( fullLayout . yaxis . matches ) . toBe ( undefined ) ;
564
565
expect ( fullLayout . xaxis2 . matches ) . toBe ( 'y2' ) ;
565
- expect ( fullLayout . yaxis2 . matches ) . toBe ( 'x2' ) ;
566
+ expect ( fullLayout . yaxis2 . matches ) . toBe ( undefined ) ;
566
567
expect ( fullLayout . xaxis3 . matches ) . toBe ( undefined ) ;
567
568
expect ( fullLayout . yaxis3 ) . toBe ( undefined ) ;
568
569
@@ -586,7 +587,7 @@ describe('Test splom trace defaults:', function() {
586
587
expect ( fullLayout . xaxis . matches ) . toBe ( undefined ) ;
587
588
expect ( fullLayout . yaxis ) . toBe ( undefined ) ;
588
589
expect ( fullLayout . xaxis2 . matches ) . toBe ( 'y2' ) ;
589
- expect ( fullLayout . yaxis2 . matches ) . toBe ( 'x2' ) ;
590
+ expect ( fullLayout . yaxis2 . matches ) . toBe ( undefined ) ;
590
591
expect ( fullLayout . xaxis3 ) . toBe ( undefined ) ;
591
592
expect ( fullLayout . yaxis3 . matches ) . toBe ( undefined ) ;
592
593
@@ -608,7 +609,7 @@ describe('Test splom trace defaults:', function() {
608
609
609
610
var fullLayout = gd . _fullLayout ;
610
611
expect ( fullLayout . xaxis . matches ) . toBe ( 'y' ) ;
611
- expect ( fullLayout . yaxis . matches ) . toBe ( 'x' ) ;
612
+ expect ( fullLayout . yaxis . matches ) . toBe ( undefined ) ;
612
613
expect ( fullLayout . xaxis2 . matches ) . toBe ( 'x' ) ;
613
614
expect ( fullLayout . yaxis2 . matches ) . toBe ( 'x2' ) ;
614
615
0 commit comments