Support #10224
Update gs.basemaps in Jupyter notebooks
Start date:
28/05/2020
Due date:
% Done:
100%
Description
A new version of contextily Python library deprecated contextily.sources
in favor of contextily.providers
.
Need to update all notebooks (eg. dashboards) with this new convention.
Associated revisions
Refs #10224: remove add_basemap (see contextily)
Fixes #10224: use contextily.add_basemap
History
#1 Updated by Philippe May over 4 years ago
That's quite simple, instead of:
gs.add_basemap(ax1, 13, url=gs.basemaps.ST_WATERCOLOR)
do:
import contextily as ctx ctx.add_basemap(ax=ax1, source=ctx.providers.Stamen.Watercolor, alpha=0.3)
#2 Updated by Philippe May over 4 years ago
- Status changed from New to Resolved
#3 Updated by Philippe May over 3 years ago
- % Done changed from 0 to 100
Applied in changeset avsm_notebooks|6491bc7fbdc8eb61eb0ac9065f7e5914485bedf9.