Skip to content

Commit 545ad47

Browse files
committed
lock down equivalence of all/allticks for zeroline visibility
1 parent ef53e31 commit 545ad47

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/jasmine/tests/axes_test.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -2874,7 +2874,11 @@ describe('Test axes', function() {
28742874
// x axis still has a zero line on xy2, and y on x2y
28752875
// all the others have disappeared now
28762876
assertZeroLines(['x', 'y']);
2877-
return Plotly.relayout(gd, {'xaxis.showline': true, 'xaxis.mirror': 'all'});
2877+
return Plotly.relayout(gd, {'xaxis.mirror': 'allticks', 'yaxis.mirror': 'allticks'});
2878+
})
2879+
.then(function() {
2880+
// allticks works the same as all
2881+
assertZeroLines(['x', 'y']);
28782882
})
28792883
.catch(failTest)
28802884
.then(done);

0 commit comments

Comments
 (0)