Skip to content

Commit 438913a

Browse files
committed
add test to toself_tonext with >2 segments
1 parent 6033cc5 commit 438913a

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

test/image/mocks/gl2d_scatter_fill_self_next.json

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,29 @@
1717
"y": [5, 6, 5],
1818
"fill": "toself",
1919
"type": "scattergl"
20-
}
20+
},
21+
{
22+
"x": [1.1, 1.1, 2.1, null,
23+
-1.9,-1.9,-0.9,null,
24+
-4.9,-4.9,-3.9],
25+
"y": [6.1, 7.1, 7.1, null,
26+
1.1, 2.1, 2.1, null,
27+
1.1, 2.1, 2.1],
28+
"type": "scattergl",
29+
"fill": "tonext"
30+
},
31+
{
32+
"x": [ 0, 0, 2, 2, 0, null,
33+
1,1,3,3,1,null,
34+
-2,-2,0,0,-2,null,
35+
-5,-5,-3,-3,-5],
36+
"y": [9, 10, 10, 9, 9, null,
37+
6,8, 8, 6,6,null,
38+
1,3,3,1, 1,null,
39+
1,3,3,1,1],
40+
"type": "scattergl",
41+
"fill": "tonext"
42+
}
2143
],
2244
"layout":{
2345
"title": {"text": "Fill toself and tonext"},

0 commit comments

Comments
 (0)