Skip to content

Commit e737664

Browse files
committed
2nd cut violin mocks
1 parent bc6bc02 commit e737664

10 files changed

+582
-4
lines changed
41.5 KB
Loading
4.8 KB
Loading
29.8 KB
Loading
-1.78 KB
Loading
41.5 KB
Loading
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"data": [{
3+
"type": "violin",
4+
"x0": "sample 1",
5+
"name": "violin",
6+
"points": "all",
7+
"y": [79, 54, 74, 62, 85, 55, 88, 85, 51, 85, 54, 84, 78, 47, 83, 52, 62, 84, 52, 79, 51, 47, 78, 69, 74, 83, 55, 76, 78, 79, 73, 77, 66, 80, 74, 52, 48, 80, 59, 90, 80, 58, 84, 58, 73, 83, 64, 53, 82, 59, 75, 90, 54, 80, 54, 83, 71, 64, 77, 81, 59, 84, 48, 82, 60, 92, 78, 78, 65, 73, 82, 56, 79, 71, 62, 76, 60, 78, 76, 83, 75, 82, 70, 65, 73, 88, 76, 80, 48, 86, 60, 90, 50, 78, 63, 72, 84, 75, 51, 82, 62, 88, 49, 83, 81, 47, 84, 52, 86, 81, 75, 59, 89, 79, 59, 81, 50, 85, 59, 87, 53, 69, 77, 56, 88, 81, 45, 82, 55, 90, 45, 83, 56, 89, 46, 82, 51, 86, 53, 79, 81, 60, 82, 77, 76, 59, 80, 49, 96, 53, 77, 77, 65, 81, 71, 70, 81, 93, 53, 89, 45, 86, 58, 78, 66, 76, 63, 88, 52, 93, 49, 57, 77, 68, 81, 81, 73, 50, 85, 74, 55, 77, 83, 83, 51, 78, 84, 46, 83, 55, 81, 57, 76, 84, 77, 81, 87, 77, 51, 78, 60, 82, 91, 53, 78, 46, 77, 84, 49, 83, 71, 80, 49, 75, 64, 76, 53, 94, 55, 76, 50, 82, 54, 75, 78, 79, 78, 78, 70, 79, 70, 54, 86, 50, 90, 54, 54, 77, 79, 64, 75, 47, 86, 63, 85, 82, 57, 82, 67, 74, 54, 83, 73, 73, 88, 80, 71, 83, 56, 79, 78, 84, 58, 83, 43, 60, 75, 81, 46, 90, 46, 74 ]
8+
}, {
9+
"type": "box",
10+
"x0": "sample 1",
11+
"name": "box",
12+
"boxpoints": false,
13+
"y": [79, 54, 74, 62, 85, 55, 88, 85, 51, 85, 54, 84, 78, 47, 83, 52, 62, 84, 52, 79, 51, 47, 78, 69, 74, 83, 55, 76, 78, 79, 73, 77, 66, 80, 74, 52, 48, 80, 59, 90, 80, 58, 84, 58, 73, 83, 64, 53, 82, 59, 75, 90, 54, 80, 54, 83, 71, 64, 77, 81, 59, 84, 48, 82, 60, 92, 78, 78, 65, 73, 82, 56, 79, 71, 62, 76, 60, 78, 76, 83, 75, 82, 70, 65, 73, 88, 76, 80, 48, 86, 60, 90, 50, 78, 63, 72, 84, 75, 51, 82, 62, 88, 49, 83, 81, 47, 84, 52, 86, 81, 75, 59, 89, 79, 59, 81, 50, 85, 59, 87, 53, 69, 77, 56, 88, 81, 45, 82, 55, 90, 45, 83, 56, 89, 46, 82, 51, 86, 53, 79, 81, 60, 82, 77, 76, 59, 80, 49, 96, 53, 77, 77, 65, 81, 71, 70, 81, 93, 53, 89, 45, 86, 58, 78, 66, 76, 63, 88, 52, 93, 49, 57, 77, 68, 81, 81, 73, 50, 85, 74, 55, 77, 83, 83, 51, 78, 84, 46, 83, 55, 81, 57, 76, 84, 77, 81, 87, 77, 51, 78, 60, 82, 91, 53, 78, 46, 77, 84, 49, 83, 71, 80, 49, 75, 64, 76, 53, 94, 55, 76, 50, 82, 54, 75, 78, 79, 78, 78, 70, 79, 70, 54, 86, 50, 90, 54, 54, 77, 79, 64, 75, 47, 86, 63, 85, 82, 57, 82, 67, 74, 54, 83, 73, 73, 88, 80, 71, 83, 56, 79, 78, 84, 58, 83, 43, 60, 75, 81, 46, 90, 46, 74 ]
14+
}],
15+
"layout": {
16+
"legend": {
17+
"x": 0.95,
18+
"xanchor": "right"
19+
}
20+
}
21+
}

test/image/mocks/violin_grouped.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
}
2020
},
2121
"points": "all",
22-
"jitter": 0
22+
"jitter": 0,
23+
"span": [0, null]
2324
}, {
2425
"type": "violin",
2526
"name": "radishes",
@@ -40,7 +41,8 @@
4041
}
4142
},
4243
"points": "all",
43-
"jitter": 0
44+
"jitter": 0,
45+
"span": [0, null]
4446
}, {
4547
"type": "violin",
4648
"name": "carrots",
@@ -61,8 +63,8 @@
6163
}
6264
},
6365
"points": "all",
64-
"jitter": 0
65-
}, {
66+
"jitter": 0,
67+
"span": [0, null]
6668
}],
6769
"layout": {
6870
"yaxis": {
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"data": [{
3+
"type": "violin",
4+
"x": [
5+
"1798-01-01",
6+
"1798-04-04",
7+
"1798-05-05",
8+
"1798-05-05",
9+
"1798-07-05",
10+
"1798-07-22",
11+
"1799-01-01"
12+
],
13+
"orientation": "h",
14+
"xcalendar": "discworld",
15+
"name": "discworld dates",
16+
"showinnerbox": true,
17+
"xaxis": "x",
18+
"yaxis": "y"
19+
}, {
20+
"type": "violin",
21+
"x": [
22+
"A",
23+
"B",
24+
"C",
25+
"C",
26+
"C",
27+
"D",
28+
"G"
29+
],
30+
"orientation": "h",
31+
"name": "categories",
32+
"showinnerbox": true,
33+
"xaxis": "x2",
34+
"yaxis": "y2"
35+
36+
}],
37+
"layout": {
38+
"xaxis": {
39+
"anchor": "y"
40+
},
41+
"xaxis2": {
42+
"anchor": "y2",
43+
"categoryarray": ["A", "B", "C", "D", "E", "F", "G"]
44+
},
45+
"yaxis": {
46+
"anchor": "x",
47+
"domain": [0, 0.48]
48+
},
49+
"yaxis2": {
50+
"anchor": "x2",
51+
"domain": [0.52, 1]
52+
},
53+
"margin": {
54+
"l": 100
55+
},
56+
"showlegend": false
57+
}
58+
}

test/image/mocks/violin_old-faithful.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
"data": [{
33
"type": "violin",
44
"points": "all",
5+
"name": "Old Faithful",
6+
"showmeanline": true,
57
"y": [79, 54, 74, 62, 85, 55, 88, 85, 51, 85, 54, 84, 78, 47, 83, 52, 62, 84, 52, 79, 51, 47, 78, 69, 74, 83, 55, 76, 78, 79, 73, 77, 66, 80, 74, 52, 48, 80, 59, 90, 80, 58, 84, 58, 73, 83, 64, 53, 82, 59, 75, 90, 54, 80, 54, 83, 71, 64, 77, 81, 59, 84, 48, 82, 60, 92, 78, 78, 65, 73, 82, 56, 79, 71, 62, 76, 60, 78, 76, 83, 75, 82, 70, 65, 73, 88, 76, 80, 48, 86, 60, 90, 50, 78, 63, 72, 84, 75, 51, 82, 62, 88, 49, 83, 81, 47, 84, 52, 86, 81, 75, 59, 89, 79, 59, 81, 50, 85, 59, 87, 53, 69, 77, 56, 88, 81, 45, 82, 55, 90, 45, 83, 56, 89, 46, 82, 51, 86, 53, 79, 81, 60, 82, 77, 76, 59, 80, 49, 96, 53, 77, 77, 65, 81, 71, 70, 81, 93, 53, 89, 45, 86, 58, 78, 66, 76, 63, 88, 52, 93, 49, 57, 77, 68, 81, 81, 73, 50, 85, 74, 55, 77, 83, 83, 51, 78, 84, 46, 83, 55, 81, 57, 76, 84, 77, 81, 87, 77, 51, 78, 60, 82, 91, 53, 78, 46, 77, 84, 49, 83, 71, 80, 49, 75, 64, 76, 53, 94, 55, 76, 50, 82, 54, 75, 78, 79, 78, 78, 70, 79, 70, 54, 86, 50, 90, 54, 54, 77, 79, 64, 75, 47, 86, 63, 85, 82, 57, 82, 67, 74, 54, 83, 73, 73, 88, 80, 71, 83, 56, 79, 78, 84, 58, 83, 43, 60, 75, 81, 46, 90, 46, 74 ]
68
}]
79
}

0 commit comments

Comments
 (0)