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): - + CoVid19 in {loc} diff --git a/index.html.foot b/index.html.foot index ef0980c..afcdc86 100644 --- a/index.html.foot +++ b/index.html.foot @@ -56,6 +56,12 @@ Di Plots werden immer komplexer, daher hier eine kurze Zusammenfassung der sicht
Turkey
United Kingdom
United States
+
Asia
+
Europe
+
European%20Union
+
North%20America
+
South%20America
+
Oceania
World