cleaned up uk code for data loading

This commit is contained in:
2021-05-19 16:00:59 +02:00
parent a2fef60b27
commit 3a15bd1279
5 changed files with 24 additions and 162 deletions

View File

@@ -9,7 +9,6 @@ def get_compass_parties(year=2017, country='de'):
data = [[-3.5, -4], [7, 6.5], [-7, -6.5], [1, 2]]
index = ['BÜ90/GR', 'CDU/CSU', 'DIE LINKE.', 'SPD']
elif year == 2005:
# TODO: add data for 2011
data = [[-1.5, -1.5], [9.5, 8], [-6, -2], [3, 3.5]]
index = [ 'BÜ90/GR', 'CDU/CSU', 'DIE LINKE.', 'SPD']
else: