@@ -2640,7 +2640,7 @@ describe('splom hover on subplots when hoversubplots is set to *axis* and (x|y)
2640
2640
it ( 'splom hoversubplots: *axis*' , function ( ) {
2641
2641
Lib . clearThrottle ( ) ;
2642
2642
Plotly . Fx . hover ( gd , { x : 200 , y : 200 } , 'xy' ) ;
2643
- expect ( gd . _hoverdata . length ) . toBe ( 3 ) ;
2643
+ expect ( gd . _hoverdata . length ) . toBe ( 2 ) ;
2644
2644
assertHoverLabelContent ( {
2645
2645
nums : [ '100' , '100k' ] ,
2646
2646
name : [ '' , '' ] ,
@@ -2651,12 +2651,12 @@ describe('splom hover on subplots when hoversubplots is set to *axis* and (x|y)
2651
2651
2652
2652
Lib . clearThrottle ( ) ;
2653
2653
Plotly . Fx . hover ( gd , { x : 200 , y : 200 } , 'xy' ) ;
2654
- expect ( gd . _hoverdata . length ) . toBe ( 3 ) ;
2654
+ expect ( gd . _hoverdata . length ) . toBe ( 2 ) ;
2655
2655
2656
2656
Plotly . relayout ( gd , 'hovermode' , 'y unified' ) ;
2657
2657
Lib . clearThrottle ( ) ;
2658
2658
Plotly . Fx . hover ( gd , { x : 200 , y : 200 } , 'xy' ) ;
2659
- expect ( gd . _hoverdata . length ) . toBe ( 3 ) ;
2659
+ expect ( gd . _hoverdata . length ) . toBe ( 2 ) ;
2660
2660
} ) ;
2661
2661
} ) ;
2662
2662
@@ -2696,7 +2696,7 @@ describe('splom hover *axis* hoversubplots splom points on same position should
2696
2696
it ( 'splom *axis* hoversubplots' , function ( ) {
2697
2697
Lib . clearThrottle ( ) ;
2698
2698
Plotly . Fx . hover ( gd , { } , 'xy' ) ;
2699
- expect ( gd . _hoverdata . length ) . toBe ( 5 ) ;
2699
+ expect ( gd . _hoverdata . length ) . toBe ( 4 ) ;
2700
2700
assertHoverLabelContent ( {
2701
2701
nums : [ '1' , '1' , '1' , '1' ] ,
2702
2702
name : [ '' , '' , '' , '' ] ,
@@ -2705,7 +2705,7 @@ describe('splom hover *axis* hoversubplots splom points on same position should
2705
2705
2706
2706
Lib . clearThrottle ( ) ;
2707
2707
Plotly . Fx . hover ( gd , { } , 'xy2' ) ;
2708
- expect ( gd . _hoverdata . length ) . toBe ( 4 ) ;
2708
+ expect ( gd . _hoverdata . length ) . toBe ( 3 ) ;
2709
2709
assertHoverLabelContent ( {
2710
2710
nums : [ '1' , '2' , '2' ] ,
2711
2711
name : [ '' , '' , '' ] ,
@@ -2714,7 +2714,7 @@ describe('splom hover *axis* hoversubplots splom points on same position should
2714
2714
2715
2715
Lib . clearThrottle ( ) ;
2716
2716
Plotly . Fx . hover ( gd , { } , 'xy3' ) ;
2717
- expect ( gd . _hoverdata . length ) . toBe ( 4 ) ;
2717
+ expect ( gd . _hoverdata . length ) . toBe ( 3 ) ;
2718
2718
assertHoverLabelContent ( {
2719
2719
nums : [ '1' , '2' , '2' ] ,
2720
2720
name : [ '' , '' , '' ] ,
@@ -2723,7 +2723,7 @@ describe('splom hover *axis* hoversubplots splom points on same position should
2723
2723
2724
2724
Lib . clearThrottle ( ) ;
2725
2725
Plotly . Fx . hover ( gd , { } , 'xy4' ) ;
2726
- expect ( gd . _hoverdata . length ) . toBe ( 5 ) ;
2726
+ expect ( gd . _hoverdata . length ) . toBe ( 4 ) ;
2727
2727
assertHoverLabelContent ( {
2728
2728
nums : [ '1' , '3' , '3' , '3' ] ,
2729
2729
name : [ '' , '' , '' , '' ] ,
@@ -2732,7 +2732,7 @@ describe('splom hover *axis* hoversubplots splom points on same position should
2732
2732
2733
2733
Lib . clearThrottle ( ) ;
2734
2734
Plotly . Fx . hover ( gd , { } , 'x2y' ) ;
2735
- expect ( gd . _hoverdata . length ) . toBe ( 5 ) ;
2735
+ expect ( gd . _hoverdata . length ) . toBe ( 4 ) ;
2736
2736
assertHoverLabelContent ( {
2737
2737
nums : [ '1' , '3' , '3' , '3' ] ,
2738
2738
name : [ '' , '' , '' , '' ] ,
@@ -2741,7 +2741,7 @@ describe('splom hover *axis* hoversubplots splom points on same position should
2741
2741
2742
2742
Lib . clearThrottle ( ) ;
2743
2743
Plotly . Fx . hover ( gd , { } , 'x3y' ) ;
2744
- expect ( gd . _hoverdata . length ) . toBe ( 5 ) ;
2744
+ expect ( gd . _hoverdata . length ) . toBe ( 4 ) ;
2745
2745
assertHoverLabelContent ( {
2746
2746
nums : [ '1' , '3' , '3' , '3' ] ,
2747
2747
name : [ '' , '' , '' , '' ] ,
@@ -2750,7 +2750,7 @@ describe('splom hover *axis* hoversubplots splom points on same position should
2750
2750
2751
2751
Lib . clearThrottle ( ) ;
2752
2752
Plotly . Fx . hover ( gd , { } , 'x4y' ) ;
2753
- expect ( gd . _hoverdata . length ) . toBe ( 5 ) ;
2753
+ expect ( gd . _hoverdata . length ) . toBe ( 4 ) ;
2754
2754
assertHoverLabelContent ( {
2755
2755
nums : [ '1' , '3' , '3' , '3' ] ,
2756
2756
name : [ '' , '' , '' , '' ] ,
0 commit comments