Skip to content

Commit 6cc20d8

Browse files
committed
Remove excessive spacing in code sample
1 parent 7e3ac00 commit 6cc20d8

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Diff for: CONTRIBUTING.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -183,15 +183,15 @@ it may be necessary to to fix the width, height, margins, X axis range and Y axi
183183

184184
```
185185
Plotly.newPlot(gd, [{
186-
x: [1, 1, 1, 2, 2, 2, 3, 3, 3],
187-
y: [1, 2, 3, 1, 2, 3, 1, 2, 3],
188-
mode: 'markers'
189-
}], {
190-
width: 400, height: 400,
191-
margin: {l: 100, r: 100, t: 100, b: 100},
192-
xaxis: {range: [0, 4]},
193-
yaxis: {range: [0, 4]}
194-
});
186+
x: [1, 1, 1, 2, 2, 2, 3, 3, 3],
187+
y: [1, 2, 3, 1, 2, 3, 1, 2, 3],
188+
mode: 'markers'
189+
}], {
190+
width: 400, height: 400,
191+
margin: {l: 100, r: 100, t: 100, b: 100},
192+
xaxis: {range: [0, 4]},
193+
yaxis: {range: [0, 4]}
194+
});
195195
```
196196

197197
This will produce the following plot, and say you want to simulate a selection path of (175, 175) to (225, 225):

0 commit comments

Comments
 (0)