Skip to content

Commit 856f2ea

Browse files
committed
validate geo_* mocks
1 parent b3658c6 commit 856f2ea

8 files changed

+6
-39
lines changed

test/image/mocks/geo_across-antimeridian.json

-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
"x": [0, 0.5],
4848
"y": [0, 1]
4949
},
50-
"type": "miller",
5150
"showocean": true,
5251
"lonaxis": {
5352
"showgrid": true,
@@ -66,7 +65,6 @@
6665
"x": [0.5, 1],
6766
"y": [0, 1]
6867
},
69-
"type": "miller",
7068
"showocean": true,
7169
"lonaxis": {
7270
"showgrid": true,

test/image/mocks/geo_centering.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
},
2323
"showcountries": true,
2424
"showland": true,
25-
"showsubunits": true,
2625
"lataxis": {
2726
"showgrid": true,
2827
"tick0": 3,
@@ -34,8 +33,7 @@
3433
"dtick": 3
3534
},
3635
"landcolor": "rgb(243,243,243)",
37-
"countrycolor": "rgb(204,204,204)",
38-
"subunitcolor": "rgb(224,224,224)"
36+
"countrycolor": "rgb(204,204,204)"
3937
}
4038
}
4139
}

test/image/mocks/geo_choropleth-usa_legend.json

-5
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,6 @@
109109
"WI",
110110
"WY"
111111
],
112-
"colorbar": {
113-
"title": {
114-
"text": "Millions USD"
115-
}
116-
},
117112
"type": "choropleth",
118113
"z": [
119114
1390.63,

test/image/mocks/geo_country-names-text-chart.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@
809809
30
810810
]
811811
},
812-
"resolution": 100
812+
"resolution": 110
813813
},
814814
"geo2": {
815815
"domain": {

test/image/mocks/geo_first.json

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
}
1515
],
1616
"layout": {
17-
"showframe": true,
1817
"width": 600,
1918
"height": 440
2019
}

test/image/mocks/geo_orthographic.json

+1-9
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,7 @@
4949
"showcoastlines": true,
5050
"showcountries": true,
5151
"showland": true,
52-
"showocean": true,
53-
"lonaxis": {
54-
"gridwidth": 2,
55-
"gridcolor": "black"
56-
},
57-
"lataxis": {
58-
"gridwidth": 2,
59-
"gridcolor": "black"
60-
}
52+
"showocean": true
6153
},
6254
"autosize": false,
6355
"width": 500,

test/image/mocks/geo_scattergeo-out-of-usa.json

+2-16
Original file line numberDiff line numberDiff line change
@@ -20011,31 +20011,17 @@
2001120011
"marker": {
2001220012
"color": "#19d3f3"
2001320013
},
20014-
"latsrc": "jackp:17903:e3ab9a",
20015-
"type": "scattergeo",
20016-
"lonsrc": "jackp:17903:767d41"
20014+
"type": "scattergeo"
2001720015
}
2001820016
],
2001920017
"layout": {
20020-
"yaxis": {
20021-
"zeroline": false,
20022-
"gridcolor": "#dfe8f3",
20023-
"title": {"text": " "}
20024-
},
2002520018
"margin": {
2002620019
"l": 40,
2002720020
"t": 10
2002820021
},
2002920022
"title": {"text": " "},
20030-
"barmode": "stack",
20031-
"xaxis": {
20032-
"zeroline": false,
20033-
"title": {"text": "Lat"},
20034-
"showgrid": false
20035-
},
2003620023
"font": {
20037-
"color": "#506784",
20038-
"size": "12px"
20024+
"color": "#506784"
2003920025
},
2004020026
"geo": {
2004120027
"showland": true,

test/image/mocks/geo_skymap.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -4922,8 +4922,7 @@
49224922
"showrivers": false,
49234923
"showlakes": false,
49244924
"showocean": false,
4925-
"showcountries": false,
4926-
"showsubunits": false
4925+
"showcountries": false
49274926
}
49284927
}
49294928
}

0 commit comments

Comments
 (0)