From e779283c9a06d106682e810b6d701fdbc51e0e3b Mon Sep 17 00:00:00 2001 From: uvchik Date: Tue, 17 Sep 2019 19:09:17 +0200 Subject: [PATCH 1/2] Fix syntax error --- contextily/plotting.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contextily/plotting.py b/contextily/plotting.py index 83f6c653..fb0ab3fb 100644 --- a/contextily/plotting.py +++ b/contextily/plotting.py @@ -24,8 +24,7 @@ def add_basemap( reset_extent=True, crs=None, resampling=Resampling.bilinear, - **extra_imshow_args, -): + **extra_imshow_args): """ Add a (web/local) basemap to `ax` ... From bc9799f5c94f9592e3b53ecabbb6926f93344769 Mon Sep 17 00:00:00 2001 From: uvchik Date: Tue, 17 Sep 2019 19:09:32 +0200 Subject: [PATCH 2/2] Fix wrong data type --- contextily/plotting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contextily/plotting.py b/contextily/plotting.py index fb0ab3fb..93926ebd 100644 --- a/contextily/plotting.py +++ b/contextily/plotting.py @@ -72,7 +72,7 @@ def add_basemap( [Optional. Default=Resampling.bilinear] Resampling method for executing warping, expressed as a `rasterio.enums.Resampling` method - **extra_imshow_args : dict + **extra_imshow_args : Other parameters to be passed to `imshow`. Example