Skip to content

Commit

Permalink
Merge pull request #380 from knaaptime/basemap
Browse files Browse the repository at this point in the history
  • Loading branch information
sjsrey authored Dec 8, 2023
2 parents a67b45f + 0aefb2c commit d691430
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit d691430

Please sign in to comment.