Skip to content

Commit

Permalink
fixup with other recent changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche committed Oct 16, 2020
1 parent b0040f5 commit ee0657e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions contextily/plotting.py
Expand Up @@ -189,10 +189,8 @@ def add_basemap(
image, bounds, _ = _warper(
image, img_transform, raster.crs, crs, resampling
)
else:
bounds = raster.bounds
extent = bounds.left, bounds.right, bounds.bottom, bounds.top
image = image.transpose(1, 2, 0)
extent = bounds.left, bounds.right, bounds.bottom, bounds.top

# Plotting
if image.shape[2] == 1:
Expand Down

0 comments on commit ee0657e

Please sign in to comment.