Skip to content

Commit 9a07ce1

Browse files
committed
add histogram colorscale mock
1 parent f32859b commit 9a07ce1

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed
14.9 KB
Loading
+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"data": [
3+
{
4+
"xbins": {
5+
"start": -1.5,
6+
"end": 4.5,
7+
"size": 1
8+
},
9+
"marker": {
10+
"cmin": 0,
11+
"colorscale": "Earth",
12+
"color": [ 0, 1, 2, 3, 4, 5 ],
13+
"cmax": 5
14+
},
15+
"x": [ 0, 1, 1, 2, 2, 2, 3, 3, 4 ],
16+
"type": "histogram"
17+
}
18+
],
19+
"layout": {
20+
"height": 500,
21+
"width": 700
22+
}
23+
}

0 commit comments

Comments
 (0)