Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add 3️⃣ densitymapbox mocks
  • Loading branch information
etpinard committed Jun 28, 2019
commit 42998576f3ed1dd7f03bfcafd72627a0163bf605
Binary file added test/image/baselines/mapbox_density-mulitple.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added test/image/baselines/mapbox_density0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 39 additions & 0 deletions test/image/mocks/mapbox_density-mulitple.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"data": [{
"type": "densitymapbox",
"name": "w/ reversescale:true",
"lon": [10, 20, 30],
"lat": [15, 25, 35],
"z": [1, 3, 2],
"zmid": 0,
"reversescale": true,
"radius": 50,
"below": "",
"colorbar": {
"y": 1,
"yanchor": "top",
"len": 0.45
}
}, {
"type": "densitymapbox",
"name": "w/0 z data",
"lon": [-10, -20, -30],
"lat": [15, 25, 35],
"zmin": 0,
"zauto": false,
"radius": [50, 100, 10],
"colorbar": {
"y": 0,
"yanchor": "bottom",
"len": 0.45
}
}],
"layout": {
"mapbox": {
"style": "light",
"center": {"lat": 20}
},
"width": 600,
"height": 400
}
}
12 changes: 12 additions & 0 deletions test/image/mocks/mapbox_density0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"data": [{
"type": "densitymapbox",
"lon": [10, 20, 30],
"lat": [15, 25, 35],
"z": [1, 3, 2]
}],
"layout": {
"width": 600,
"height": 400
}
}
Loading