Skip to content

Commit 7909f53

Browse files
committed
new histogram autobin mock
1 parent 7514592 commit 7909f53

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

Diff for: test/image/baselines/hist_multi.png

12.7 KB
Loading

Diff for: test/image/mocks/hist_multi.json

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"data":[{
3+
"x": [1, 1, 1, 2, 2],
4+
"type": "histogram"
5+
}, {
6+
"x": [20, 20, 21, 21],
7+
"type": "histogram"
8+
}, {
9+
"x": [1, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 7],
10+
"type": "histogram",
11+
"xaxis": "x2"
12+
}, {
13+
"x": [6, 6.1, 6.2],
14+
"type": "histogram",
15+
"xaxis": "x2"
16+
}],
17+
"layout": {
18+
"height": 400, "width": 500,
19+
"barmode": "stack",
20+
"grid": {"rows": 1, "columns": 2}
21+
}
22+
}

0 commit comments

Comments
 (0)