Skip to content

Commit 439576f

Browse files
committed
test(sankey): size the non-clamped case to genuinely fit node.pad
At 24 sink nodes a 900-high figure still clamps the padding (effective gap 26.7 < 30); 880 was verified against the real layout to leave enough room. Also fix the leftover single-arg spy in this test.
1 parent c3bb43c commit 439576f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/jasmine/tests/sankey_test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ describe('sankey tests', function() {
154154
});
155155

156156
var fig = Lib.extendDeep({}, padMock);
157-
fig.layout.width = 700;
158-
fig.layout.height = 900;
157+
fig.layout.width = 480;
158+
fig.layout.height = 880;
159159
var gd = createGraphDiv();
160160
Plotly.newPlot(gd, fig)
161161
.then(function() {

0 commit comments

Comments
 (0)