Skip to content
Merged
Changes from all commits
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
3 changes: 2 additions & 1 deletion docs/tutorials/end-to-end/end-to-end.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@
"source": [
"from shapely.geometry import box\n",
"import geopandas as gpd\n",
"from requests.exceptions import SSLError\n",
"\n",
"lat_min, lat_max = 69.25, 69.75\n",
"lon_edges = [-152.25, -151.75, -151.25, -150.75] # 3 cells\n",
Expand Down Expand Up @@ -221,7 +222,7 @@
" gdf_plot[\"legend_label\"] = gdf_plot[\"gid\"] # plot_static colors by `legend_label`\n",
"\n",
" plot_static(gdf_plot, basemap=\"terrain\", figsize=(7, 5), alpha=0.35, legend=True)\n",
"except ImportError:\n",
"except (ImportError, SSLError):\n",
" ax = gdf_cells.boundary.plot(figsize=(6, 4))\n",
" gdf_cells.apply(lambda r: ax.text(r.geometry.representative_point().x,\n",
" r.geometry.representative_point().y,\n",
Expand Down