We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ac0b90 commit c678cb8Copy full SHA for c678cb8
test/jasmine/tests/axes_test.js
@@ -4386,7 +4386,7 @@ describe('Test axes', function() {
4386
function assertLayout() {
4387
var titleTop = getPos(gd, '.xtitle').top;
4388
var tickBottom = getPos(gd, '.xtick').bottom;
4389
- expect(tickBottom).toBeLessThan(titleTop);
+ expect(tickBottom).toBeLessThan(titleTop + 2); // allow two pixels tolerance
4390
}
4391
4392
var fig = require('@mocks/z-automargin-zoom.json');
0 commit comments