Skip to content

Commit

Permalink
Update splom_test's innerSubplotNodeCnt and index of xaxislayer-above
Browse files Browse the repository at this point in the history
  • Loading branch information
my-tien committed Mar 15, 2024
1 parent 8cbfb39 commit 7338ad8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/jasmine/tests/splom_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ describe('Test splom interactions:', function() {
.then(function() {
_assert({
subplotCnt: 25,
innerSubplotNodeCnt: 18,
innerSubplotNodeCnt: 19,
hasSplomGrid: false,
bgCnt: 0
});
Expand All @@ -845,7 +845,7 @@ describe('Test splom interactions:', function() {
// grid layer would be above xaxis layer,
// if we didn't clear subplot children.
expect(gridIndex).toBe(2, '<g.gridlayer> index');
expect(xaxisIndex).toBe(15, '<g.xaxislayer-above> index');
expect(xaxisIndex).toBe(16, '<g.xaxislayer-above> index');

return Plotly.restyle(gd, 'dimensions', [dimsLarge]);
})
Expand All @@ -857,7 +857,7 @@ describe('Test splom interactions:', function() {
// new subplots though have reduced number of children.
innerSubplotNodeCnt: function(d) {
var p = d.match(SUBPLOT_PATTERN);
return (p[1] > 5 || p[2] > 5) ? 4 : 18;
return (p[1] > 5 || p[2] > 5) ? 4 : 19;
},
hasSplomGrid: true,
bgCnt: 0
Expand Down

0 comments on commit 7338ad8

Please sign in to comment.