Skip to content

Commit c6821f7

Browse files
committed
test(sankey): raise the non-clamped case height to 1000
With 24 sink nodes the padding only stops clamping once the plot area is ~1000px high (verified against the real layout: gap 27.3 at 900, exactly 30 at 1000).
1 parent 17b036f commit c6821f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/jasmine/tests/sankey_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ describe('sankey tests', function () {
160160

161161
var fig = Lib.extendDeep({}, padMock);
162162
fig.layout.width = 480;
163-
fig.layout.height = 880;
163+
fig.layout.height = 1000;
164164
var gd = createGraphDiv();
165165
Plotly.newPlot(gd, fig)
166166
.then(function() {

0 commit comments

Comments
 (0)