@@ -669,15 +669,15 @@ describe('sankey tests', function() {
669
669
Lib . clearThrottle ( ) ;
670
670
}
671
671
672
- var node = [ 404 , 302 ] ;
672
+ var node = [ 410 , 300 ] ;
673
673
var link = [ 450 , 300 ] ;
674
674
675
675
it ( 'should show the correct hover labels' , function ( done ) {
676
676
var gd = createGraphDiv ( ) ;
677
677
var mockCopy = Lib . extendDeep ( { } , mock ) ;
678
678
679
679
Plotly . newPlot ( gd , mockCopy ) . then ( function ( ) {
680
- _hover ( 404 , 302 ) ;
680
+ _hover ( 410 , 300 ) ;
681
681
682
682
assertLabel (
683
683
[ 'Solid' , 'incoming flow count: 4' , 'outgoing flow count: 3' , '447TWh' ] ,
@@ -697,7 +697,7 @@ describe('sankey tests', function() {
697
697
return Plotly . relayout ( gd , 'hoverlabel.font.family' , 'Roboto' ) ;
698
698
} )
699
699
. then ( function ( ) {
700
- _hover ( 404 , 302 ) ;
700
+ _hover ( 410 , 300 ) ;
701
701
702
702
assertLabel (
703
703
[ 'Solid' , 'incoming flow count: 4' , 'outgoing flow count: 3' , '447TWh' ] ,
@@ -722,7 +722,7 @@ describe('sankey tests', function() {
722
722
} ) ;
723
723
} )
724
724
. then ( function ( ) {
725
- _hover ( 404 , 302 ) ;
725
+ _hover ( 410 , 300 ) ;
726
726
727
727
assertLabel (
728
728
[ 'Solid' , 'incoming flow count: 4' , 'outgoing flow count: 3' , '447TWh' ] ,
@@ -753,7 +753,7 @@ describe('sankey tests', function() {
753
753
} ) ;
754
754
} )
755
755
. then ( function ( ) {
756
- _hover ( 404 , 302 ) ;
756
+ _hover ( 410 , 300 ) ;
757
757
758
758
assertLabel (
759
759
[ 'Solid' , 'incoming flow count: 4' , 'outgoing flow count: 3' , '447TWh' ] ,
@@ -815,7 +815,7 @@ describe('sankey tests', function() {
815
815
mockCopy . data [ 0 ] . link . customdata [ 61 ] = [ 'linkCustomdata0' , 'linkCustomdata1' ] ;
816
816
817
817
Plotly . newPlot ( gd , mockCopy ) . then ( function ( ) {
818
- _hover ( 404 , 302 ) ;
818
+ _hover ( 410 , 300 ) ;
819
819
820
820
assertLabel (
821
821
[ 'Solid' , 'incoming flow count: 4' , 'outgoing flow count: 3' , '447TWh' ] ,
@@ -838,7 +838,7 @@ describe('sankey tests', function() {
838
838
} ) ;
839
839
} )
840
840
. then ( function ( ) {
841
- _hover ( 404 , 302 ) ;
841
+ _hover ( 410 , 300 ) ;
842
842
843
843
assertLabel (
844
844
[ 'hovertemplate' , '447TWh' , '447.48' , 'nodeCustomdata0/nodeCustomdata1' , 'trace 0' ] ,
@@ -890,7 +890,7 @@ describe('sankey tests', function() {
890
890
891
891
Plotly . newPlot ( gd , mockCopy )
892
892
. then ( function ( ) {
893
- _hover ( 404 , 302 ) ;
893
+ _hover ( 410 , 300 ) ;
894
894
895
895
assertLabel (
896
896
[ 'Solid' , 'incoming flow count: 4' , 'outgoing flow count: 3' , '447TWh' ] ,
@@ -1054,7 +1054,7 @@ describe('sankey tests', function() {
1054
1054
var mockCopy = Lib . extendDeep ( { } , mock ) ;
1055
1055
1056
1056
Plotly . newPlot ( gd , mockCopy )
1057
- . then ( function ( ) { _hover ( 404 , 302 ) ; } )
1057
+ . then ( function ( ) { _hover ( 410 , 300 ) ; } )
1058
1058
. then ( function ( ) {
1059
1059
assertHoverLabelContent ( {
1060
1060
nums : 'Solid\nincoming flow count: 4\noutgoing flow count: 3' ,
@@ -1064,7 +1064,7 @@ describe('sankey tests', function() {
1064
1064
. then ( function ( ) {
1065
1065
return Plotly . restyle ( gd , 'hoverlabel.namelength' , 3 ) ;
1066
1066
} )
1067
- . then ( function ( ) { _hover ( 404 , 302 ) ; } )
1067
+ . then ( function ( ) { _hover ( 410 , 300 ) ; } )
1068
1068
. then ( function ( ) {
1069
1069
assertHoverLabelContent ( {
1070
1070
nums : 'Solid\nincoming flow count: 4\noutgoing flow count: 3' ,
@@ -1086,7 +1086,7 @@ describe('sankey tests', function() {
1086
1086
1087
1087
function _makeWrapper ( eventType , mouseFn ) {
1088
1088
var posByElementType = {
1089
- node : [ 404 , 302 ] ,
1089
+ node : [ 410 , 300 ] ,
1090
1090
link : [ 450 , 300 ]
1091
1091
} ;
1092
1092
0 commit comments