Skip to content

Commit

Permalink
Tutorials - UAVSAR - Update plot to work in 2024
Browse files Browse the repository at this point in the history
Unfortunately the call to add terrain lables to a plot using
contextily does not render. Only a small stylistic change and the main
content of the tutorial is still preserved.
  • Loading branch information
jomey committed Mar 1, 2024
1 parent e239b61 commit ba7bd03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion book/tutorials/uavsar/3_interferometric_swe_inversion.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,8 @@
"ax.set_ylim(38.75, 39.3)\n",
"\n",
"# Add background map\n",
"cx.add_basemap(ax, crs=img.rio.crs, source = cx.providers.Stamen.TerrainLabels)\n",
"# Unfortunately, the below line does not render as of 20240301\n",
"# cx.add_basemap(ax, crs=img.rio.crs, source = cx.providers.Stamen.TerrainLabels)\n",
"cx.add_basemap(ax, crs=img.rio.crs, alpha = 0.8, source = cx.providers.USGS.USImageryTopo)\n",
"plt.title('Overview Map')\n",
"plt.show()"
Expand Down

0 comments on commit ba7bd03

Please sign in to comment.