Merge pull request 'combine west germany and germany before generating map' (#4) from bugfix/2-germany-has-wrong-opacity into master
Reviewed-on: #4
This commit is contained in:
commit
fd6b92c50d
|
@ -81,6 +81,9 @@ def build_table(films_by_country):
|
||||||
|
|
||||||
|
|
||||||
def draw_map(films_by_country, file_name="vcinema_map.svg"):
|
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)
|
counter = Counter(films_by_country)
|
||||||
countries = [k for k, v in counter.items()]
|
countries = [k for k, v in counter.items()]
|
||||||
counts = [len(v) for _, v in counter.items()]
|
counts = [len(v) for _, v in counter.items()]
|
||||||
|
|
Loading…
Reference in New Issue