Skip to content

Commit 2d94bef

Browse files
committed
Adjust splom test after addition of zerolinelayerAbove
1 parent 24d1082 commit 2d94bef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/jasmine/tests/splom_test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@ describe('Test splom interactions:', function() {
799799
.then(function() {
800800
_assert({
801801
subplotCnt: 25,
802-
innerSubplotNodeCnt: 18,
802+
innerSubplotNodeCnt: 19,
803803
hasSplomGrid: false,
804804
bgCnt: 0
805805
});
@@ -819,7 +819,7 @@ describe('Test splom interactions:', function() {
819819
// grid layer would be above xaxis layer,
820820
// if we didn't clear subplot children.
821821
expect(gridIndex).toBe(2, '<g.gridlayer> index');
822-
expect(xaxisIndex).toBe(15, '<g.xaxislayer-above> index');
822+
expect(xaxisIndex).toBe(16, '<g.xaxislayer-above> index');
823823

824824
return Plotly.restyle(gd, 'dimensions', [dimsLarge]);
825825
})
@@ -831,7 +831,7 @@ describe('Test splom interactions:', function() {
831831
// new subplots though have reduced number of children.
832832
innerSubplotNodeCnt: function(d) {
833833
var p = d.match(SUBPLOT_PATTERN);
834-
return (p[1] > 5 || p[2] > 5) ? 4 : 18;
834+
return (p[1] > 5 || p[2] > 5) ? 4 : 19;
835835
},
836836
hasSplomGrid: true,
837837
bgCnt: 0

0 commit comments

Comments
 (0)