Skip to content

Commit 4299857

Browse files
committed
add 3️⃣ densitymapbox mocks
1 parent 4f42d1b commit 4299857

File tree

6 files changed

+36745
-0
lines changed

6 files changed

+36745
-0
lines changed
90.8 KB
Loading
57.5 KB
Loading
Loading
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"data": [{
3+
"type": "densitymapbox",
4+
"name": "w/ reversescale:true",
5+
"lon": [10, 20, 30],
6+
"lat": [15, 25, 35],
7+
"z": [1, 3, 2],
8+
"zmid": 0,
9+
"reversescale": true,
10+
"radius": 50,
11+
"below": "",
12+
"colorbar": {
13+
"y": 1,
14+
"yanchor": "top",
15+
"len": 0.45
16+
}
17+
}, {
18+
"type": "densitymapbox",
19+
"name": "w/0 z data",
20+
"lon": [-10, -20, -30],
21+
"lat": [15, 25, 35],
22+
"zmin": 0,
23+
"zauto": false,
24+
"radius": [50, 100, 10],
25+
"colorbar": {
26+
"y": 0,
27+
"yanchor": "bottom",
28+
"len": 0.45
29+
}
30+
}],
31+
"layout": {
32+
"mapbox": {
33+
"style": "light",
34+
"center": {"lat": 20}
35+
},
36+
"width": 600,
37+
"height": 400
38+
}
39+
}

test/image/mocks/mapbox_density0.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"data": [{
3+
"type": "densitymapbox",
4+
"lon": [10, 20, 30],
5+
"lat": [15, 25, 35],
6+
"z": [1, 3, 2]
7+
}],
8+
"layout": {
9+
"width": 600,
10+
"height": 400
11+
}
12+
}

0 commit comments

Comments
 (0)