Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

swap stamen for carto #380

Merged
merged 1 commit into from
Dec 8, 2023
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
6 changes: 3 additions & 3 deletions geosnap/visualize/mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def plot_timeseries(
the desired size of the matplotlib figure
ctxmap : contextily map provider, optional
contextily basemap. Set to False for no basemap.
Default is Stamen.TonerLite
Default is CartoDB.Positron
alpha : int (optional)
Transparency parameter passed to matplotlib
web_mercator : bool, optional
Expand All @@ -176,7 +176,7 @@ def plot_timeseries(
# as it influences all figures when imported at the top of the file

if ctxmap == "default":
ctxmap = ctx.providers.Stamen.TonerLite
ctxmap = ctx.providers.CartoDB.Positron
if categorical: # there's no pooled classification for categorical
pooled = False

Expand Down Expand Up @@ -350,7 +350,7 @@ def animate_timeseries(
plot_kwargs = dict()

if ctxmap == "default":
ctxmap = ctx.providers.Stamen.TonerLite
ctxmap = ctx.providers.CartoDB.Positron

if color_col is not None and categorical is True:
raise ValueError("When passing a color column, use `categorical=False`")
Expand Down