From 8b48976f490014fc3effa97791a9c320cc636716 Mon Sep 17 00:00:00 2001 From: Sarah Date: Fri, 22 Jul 2022 21:26:44 +0100 Subject: [PATCH] combine west germany and germany before generating map --- wiki_pages/FilmsByCountry.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wiki_pages/FilmsByCountry.py b/wiki_pages/FilmsByCountry.py index 4fe89bd..c6d0592 100644 --- a/wiki_pages/FilmsByCountry.py +++ b/wiki_pages/FilmsByCountry.py @@ -81,6 +81,9 @@ def build_table(films_by_country): def draw_map(films_by_country, file_name="vcinema_map.svg"): + films_by_country['Germany'] += films_by_country['West Germany'] + del films_by_country['West Germany'] + counter = Counter(films_by_country) countries = [k for k, v in counter.items()] counts = [len(v) for _, v in counter.items()] -- 2.40.1