Skip to content

Commit 53b61aa

Browse files
committed
CDF test image
1 parent 4d02af7 commit 53b61aa

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed
6.62 KB
Loading
+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"data": [{
3+
"x": [1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 8, 8, 9, 9, 10],
4+
"type": "histogram",
5+
"cumulative": {"enabled": true},
6+
"xbins": {"start": 0.5, "end": 10.5, "size": 1},
7+
"marker": {"color": "blue", "line": {"width": 2, "color": "#000"}},
8+
"name": "A"
9+
},
10+
{
11+
"x": [3, 3, 4, 5, 6, 7, 7],
12+
"type": "histogram",
13+
"cumulative": {"enabled": true, "currentbin": "exclude"},
14+
"xbins": {"start": 0.5, "end": 10.5, "size": 1},
15+
"marker": {"color": "red", "line": {"width": 2, "color": "#000"}},
16+
"name": "B"
17+
},
18+
{
19+
"x": [1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 8, 8, 9, 9, 10],
20+
"type": "box",
21+
"orientation": "h",
22+
"yaxis": "y2",
23+
"line": {"color": "blue"},
24+
"showlegend": false
25+
},
26+
{
27+
"x": [3, 3, 4, 5, 6, 7, 7],
28+
"type": "box",
29+
"orientation": "h",
30+
"yaxis": "y2",
31+
"line": {"color": "red"},
32+
"showlegend": false
33+
}],
34+
"layout": {
35+
"yaxis": {"domain": [0, 0.8]},
36+
"yaxis2": {"domain": [0.8, 1], "showline": false, "showticklabels": false},
37+
"height": 300,
38+
"width": 400,
39+
"barmode": "stack"
40+
}
41+
}

0 commit comments

Comments
 (0)