@@ -726,9 +726,9 @@ describe('hover on fill', function() {
726726 mock . data . forEach ( function ( trace ) { trace . hoveron = 'fills' ; } ) ;
727727
728728 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' ) ;
730730 } ) . then ( function ( ) {
731- return assertLabelsCorrect ( [ 242 , 292 ] , [ 231.125 , 210 ] , 'trace 1' ) ;
731+ return assertLabelsCorrect ( [ 242 , 292 ] , [ 233 , 210 ] , 'trace 1' ) ;
732732 } ) . then ( function ( ) {
733733 return assertLabelsCorrect ( [ 147 , 252 ] , [ 158.925 , 248.1 ] , 'trace 0' ) ;
734734 } ) . then ( done ) ;
@@ -749,7 +749,7 @@ describe('hover on fill', function() {
749749 } ) . then ( function ( ) {
750750 return assertLabelsCorrect ( [ 237 , 218 ] , [ 266.75 , 265 ] , 'trace 1' ) ;
751751 } ) . then ( function ( ) {
752- return assertLabelsCorrect ( [ 237 , 251 ] , [ 247.7 , 254 ] , 'trace 0' ) ;
752+ return assertLabelsCorrect ( [ 237 , 240 ] , [ 247.7 , 254 ] , 'trace 0' ) ;
753753 } ) . then ( function ( ) {
754754 // zoom in to test clipping of large out-of-viewport shapes
755755 return Plotly . relayout ( gd , {
0 commit comments