diff --git a/coronavis.py b/coronavis.py index 4ed192b..2e4acae 100644 --- a/coronavis.py +++ b/coronavis.py @@ -254,7 +254,7 @@ def get_data(): if loc in vaccines_country_dict: metadata[loc]['vaccines'] = vaccines_country_dict[loc] # cast population to int - if loc != "International": + if loc not in ("International", "Africa", "European Union", "Europe", "Asia", "North America", "South America", "Oceania"): try: metadata[loc]['population'] = int(float(metadata[loc]['population'])) except: metadata[loc][loc]['population'] = np.nan diff --git a/country_details.py b/country_details.py index 63f0565..2e8f178 100644 --- a/country_details.py +++ b/country_details.py @@ -59,7 +59,7 @@ def plot(data, countries, pop, metadata, **kwargs):
- +








