Skip to content

Commit 7338ad8

Browse files
committed
Update splom_test's innerSubplotNodeCnt and index of xaxislayer-above
1 parent 8cbfb39 commit 7338ad8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: test/jasmine/tests/splom_test.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ describe('Test splom interactions:', function() {
825825
.then(function() {
826826
_assert({
827827
subplotCnt: 25,
828-
innerSubplotNodeCnt: 18,
828+
innerSubplotNodeCnt: 19,
829829
hasSplomGrid: false,
830830
bgCnt: 0
831831
});
@@ -845,7 +845,7 @@ describe('Test splom interactions:', function() {
845845
// grid layer would be above xaxis layer,
846846
// if we didn't clear subplot children.
847847
expect(gridIndex).toBe(2, '<g.gridlayer> index');
848-
expect(xaxisIndex).toBe(15, '<g.xaxislayer-above> index');
848+
expect(xaxisIndex).toBe(16, '<g.xaxislayer-above> index');
849849

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

0 commit comments

Comments
 (0)