Skip to content

Commit cb485cc

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 439576f commit cb485cc

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
@@ -155,7 +155,7 @@ describe('sankey tests', function() {
155155

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

0 commit comments

Comments
 (0)