Skip to content

Commit 4997aae

Browse files
committed
Filter centroid warning in analytics notebook for better UX
1 parent d48e04d commit 4997aae

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

jupyter-notebooks/Analytics-API/user-guide/01_getting_started_with_the_planet_analytics_api.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,9 +1033,7 @@
10331033
{
10341034
"cell_type": "code",
10351035
"execution_count": null,
1036-
"metadata": {
1037-
"scrolled": false
1038-
},
1036+
"metadata": {},
10391037
"outputs": [],
10401038
"source": [
10411039
"subscription_1"
@@ -1073,6 +1071,8 @@
10731071
"outputs": [],
10741072
"source": [
10751073
"# Let's look at our multipolygon centroid in (Lat, Long)\n",
1074+
"import warnings\n",
1075+
"warnings.simplefilter('ignore')\n",
10761076
"print(subscription_1['geometry'].centroid)\n",
10771077
"\n",
10781078
"# We need to input the center of our map in reverse order (Long, Lat) \n",
@@ -1139,9 +1139,9 @@
11391139
"name": "python",
11401140
"nbconvert_exporter": "python",
11411141
"pygments_lexer": "ipython3",
1142-
"version": "3.9.12"
1142+
"version": "3.13.7"
11431143
}
11441144
},
11451145
"nbformat": 4,
1146-
"nbformat_minor": 2
1146+
"nbformat_minor": 4
11471147
}

0 commit comments

Comments
 (0)