Skip to content

Commit 78a745b

Browse files
committed
Bump ipyspin and ipyurl minimum versions
1 parent 0c57791 commit 78a745b

File tree

2 files changed

+49
-10
lines changed

2 files changed

+49
-10
lines changed

examples/vector.ipynb

Lines changed: 47 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,19 @@
22
"cells": [
33
{
44
"cell_type": "code",
5-
"execution_count": null,
5+
"execution_count": 1,
66
"id": "15eefe2f-7d1b-4814-9a5b-3b57df451fd7",
77
"metadata": {},
8-
"outputs": [],
8+
"outputs": [
9+
{
10+
"name": "stderr",
11+
"output_type": "stream",
12+
"text": [
13+
"/home/david/mambaforge/envs/xarray_leaflet/lib/python3.8/site-packages/geopandas/_compat.py:112: UserWarning: The Shapely GEOS version (3.10.3-CAPI-1.16.1) is incompatible with the GEOS version PyGEOS was compiled with (3.10.1-CAPI-1.16.0). Conversions between both will be slow.\n",
14+
" warnings.warn(\n"
15+
]
16+
}
17+
],
918
"source": [
1019
"import geopandas as gpd\n",
1120
"from ipyleaflet import LayersControl, Map, WidgetControl, basemaps\n",
@@ -27,7 +36,7 @@
2736
},
2837
{
2938
"cell_type": "code",
30-
"execution_count": null,
39+
"execution_count": 2,
3140
"id": "ab8cd637-be46-4953-96a8-edd918aeccf8",
3241
"metadata": {},
3342
"outputs": [],
@@ -38,21 +47,51 @@
3847
},
3948
{
4049
"cell_type": "code",
41-
"execution_count": null,
50+
"execution_count": 3,
4251
"id": "9b8d004d-bb98-4b00-8fbf-3940c5f6839f",
4352
"metadata": {},
44-
"outputs": [],
53+
"outputs": [
54+
{
55+
"data": {
56+
"application/vnd.jupyter.widget-view+json": {
57+
"model_id": "25fd77ee7c12407fb2bf9fa9ffda5802",
58+
"version_major": 2,
59+
"version_minor": 0
60+
},
61+
"text/plain": [
62+
"Map(center=[40.74427755695474, -73.96981238541562], controls=(ZoomControl(options=['position', 'zoom_in_text',…"
63+
]
64+
},
65+
"metadata": {},
66+
"output_type": "display_data"
67+
}
68+
],
4569
"source": [
4670
"m = Map(center=(40.74427755695474, -73.96981238541562), zoom=11, basemap=basemaps.CartoDB.DarkMatter, interpolation='nearest')\n",
4771
"m"
4872
]
4973
},
5074
{
5175
"cell_type": "code",
52-
"execution_count": null,
76+
"execution_count": 4,
5377
"id": "1b8c5917-3d8c-468d-9455-0626f79c0746",
5478
"metadata": {},
55-
"outputs": [],
79+
"outputs": [
80+
{
81+
"data": {
82+
"application/vnd.jupyter.widget-view+json": {
83+
"model_id": "893bfe75b49c49118013d98992e52078",
84+
"version_major": 2,
85+
"version_minor": 0
86+
},
87+
"text/plain": [
88+
"Url()"
89+
]
90+
},
91+
"metadata": {},
92+
"output_type": "display_data"
93+
}
94+
],
5695
"source": [
5796
"l = df.leaflet.plot(m, measurement=\"mask\", colormap=plt.cm.inferno)"
5897
]
@@ -94,7 +133,7 @@
94133
"name": "python",
95134
"nbconvert_exporter": "python",
96135
"pygments_lexer": "ipython3",
97-
"version": "3.10.5"
136+
"version": "3.8.13"
98137
}
99138
},
100139
"nbformat": 4,

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ install_requires =
2727
matplotlib >=3
2828
affine >=2
2929
mercantile >=1
30-
ipyspin >=0.1.1
31-
ipyurl >=0.1.2
30+
ipyspin >=0.1.6
31+
ipyurl >=0.1.3
3232
geocube <1.0.0
3333
pygeos >=0.12,<1.0.0
3434
zarr >=2.0.0,<3.0.0

0 commit comments

Comments
 (0)