Skip to content

Commit 69a033b

Browse files
committed
more tolerance gl2d annotation test
1 parent ed075d2 commit 69a033b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/jasmine/tests/gl_plot_interact_test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1738,8 +1738,8 @@ describe('Test gl2d interactions', function() {
17381738
var ann = d3.select('g.annotation-text-g').select('g');
17391739
var translate = Drawing.getTranslate(ann);
17401740

1741-
expect(translate.x).toBeWithin(xy[0], 4.5);
1742-
expect(translate.y).toBeWithin(xy[1], 4.5);
1741+
expect(translate.x).toBeWithin(xy[0], 8);
1742+
expect(translate.y).toBeWithin(xy[1], 8);
17431743
}
17441744

17451745
Plotly.plot(gd, [{

0 commit comments

Comments
 (0)