@@ -726,9 +726,9 @@ describe('hover on fill', function() {
726
726
mock . data . forEach ( function ( trace ) { trace . hoveron = 'fills' ; } ) ;
727
727
728
728
Plotly . plot ( createGraphDiv ( ) , mock . data , mock . layout ) . then ( function ( ) {
729
- return assertLabelsCorrect ( [ 242 , 142 ] , [ 249.175 , 133.8 ] , 'trace 2' ) ;
729
+ return assertLabelsCorrect ( [ 242 , 142 ] , [ 252 , 133.8 ] , 'trace 2' ) ;
730
730
} ) . then ( function ( ) {
731
- return assertLabelsCorrect ( [ 242 , 292 ] , [ 231.125 , 210 ] , 'trace 1' ) ;
731
+ return assertLabelsCorrect ( [ 242 , 292 ] , [ 233 , 210 ] , 'trace 1' ) ;
732
732
} ) . then ( function ( ) {
733
733
return assertLabelsCorrect ( [ 147 , 252 ] , [ 158.925 , 248.1 ] , 'trace 0' ) ;
734
734
} ) . then ( done ) ;
@@ -749,7 +749,7 @@ describe('hover on fill', function() {
749
749
} ) . then ( function ( ) {
750
750
return assertLabelsCorrect ( [ 237 , 218 ] , [ 266.75 , 265 ] , 'trace 1' ) ;
751
751
} ) . then ( function ( ) {
752
- return assertLabelsCorrect ( [ 237 , 251 ] , [ 247.7 , 254 ] , 'trace 0' ) ;
752
+ return assertLabelsCorrect ( [ 237 , 240 ] , [ 247.7 , 254 ] , 'trace 0' ) ;
753
753
} ) . then ( function ( ) {
754
754
// zoom in to test clipping of large out-of-viewport shapes
755
755
return Plotly . relayout ( gd , {
0 commit comments