Skip to content

Commit 04f9cb1

Browse files
Update germany_plot_v04.py
changed label position Münster and Regensburg
1 parent b2e55b1 commit 04f9cb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

germany_plot_v04.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
if not city[n] in citychecklist:
148148
x = locations.geometry.x
149149
y = locations.geometry.y
150-
if city[n]=="Aachen" or city[n]=="Saarbrücken" or city[n]=="Straubing":
150+
if city[n]=="Aachen" or city[n]=="Saarbrücken" or city[n]=="Straubing" or city[n]=="Münster":
151151
plt.annotate(city[n], xy=(x,y), xytext=(0,-7.0), textcoords="offset points", ha="center", size="5")
152152
elif city[n]=="Bochum":
153153
plt.annotate(city[n], xy=(x,y), xytext=(-4.0,-2.0), textcoords="offset points", ha="right", size="5")
@@ -156,7 +156,7 @@
156156
elif city[n]=="Potsdam":
157157
plt.annotate(city[n], xy=(x,y), xytext=(4.0,-4.0), textcoords="offset points", size="5")
158158
#elif city[n]=="Hannover" or city[n]=="Halle" or city[n]=="Münster":
159-
elif city[n]=="Hannover" or city[n]=="Halle":
159+
elif city[n]=="Hannover" or city[n]=="Halle" or city[n]=="Regensburg":
160160
plt.annotate(city[n], xy=(x,y), xytext=(0,4.0), textcoords="offset points", ha="center", size="5")
161161
#elif city[n]=="Darmstadt":
162162
#plt.annotate(city[n], xy=(x,y), xytext=(0,-6.0), textcoords="offset points", ha="center", size="5")

0 commit comments

Comments
 (0)