Skip to content

Commit 518fc61

Browse files
authored
Merge pull request #4316 from plotly/fix3551-regl-line2d-gaps
Preserve line gaps in scattergl plot
2 parents 7a3af9c + c1f2af3 commit 518fc61

File tree

4 files changed

+61
-9
lines changed

4 files changed

+61
-9
lines changed

package-lock.json

+11-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
"polybooljs": "^1.2.0",
105105
"regl": "^1.3.11",
106106
"regl-error2d": "^2.0.8",
107-
"regl-line2d": "^3.0.14",
107+
"regl-line2d": "^3.0.15",
108108
"regl-scatter2d": "^3.1.5",
109109
"regl-splom": "^1.0.7",
110110
"right-now": "^1.0.0",
8.67 KB
Loading
+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"data": [
3+
{
4+
"type": "scattergl",
5+
"mode": "lines+markers",
6+
"y": [
7+
1,
8+
null,
9+
1,
10+
2
11+
],
12+
"x": [
13+
0,
14+
1,
15+
2,
16+
3
17+
],
18+
"connectgaps": false
19+
},
20+
{
21+
"type": "scattergl",
22+
"mode": "lines+markers",
23+
"y": [
24+
3,
25+
null,
26+
3,
27+
3
28+
],
29+
"x": [
30+
0,
31+
1,
32+
2,
33+
3
34+
],
35+
"connectgaps": false
36+
}
37+
],
38+
"layout": {
39+
"showlegend": false,
40+
"margin": {
41+
"t": 20,
42+
"b": 20,
43+
"l": 20,
44+
"r": 20
45+
},
46+
"width": 400,
47+
"height": 300
48+
}
49+
}

0 commit comments

Comments
 (0)