Skip to content

Commit

Permalink
0.2.2 release
Browse files Browse the repository at this point in the history
Former-commit-id: a82ccd449c7c8979949e7713bc2c26c7c873392b [formerly 52e6ff3]
Former-commit-id: cbe5f4e85f757742ee911905b67443b47756db3f
  • Loading branch information
JackMcKew committed Jun 4, 2020
1 parent d3a0331 commit c5d67da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pandas_alive/geocharts.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from typing import Mapping

import attr
import geopandas
import matplotlib.dates as mdates
import matplotlib.pyplot as plt
import matplotlib.units as munits
Expand Down Expand Up @@ -184,9 +185,8 @@ def plot_geo_data(self, i: int, gdf: geopandas.GeoDataFrame) -> None:
contextily.add_basemap(self.ax)

except ImportError:
import warnings

warnings.warn(
raise ModuleNotFoundError(
"Ensure contextily is installed for basemap functionality https://github.com/geopandas/contextily"
)

Expand Down

0 comments on commit c5d67da

Please sign in to comment.