Skip to content

Commit

Permalink
Update germany_plot_v04.py
Browse files Browse the repository at this point in the history
label location for "Mainz" changed
  • Loading branch information
BenjaminGolub authored Aug 26, 2024
1 parent 24931e0 commit 5377aec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions germany_plot_v04.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,12 @@
if not city[n] in citychecklist:
x = locations.geometry.x
y = locations.geometry.y
if city[n]=="Aachen" or city[n]=="Mainz":
if city[n]=="Aachen":
plt.annotate(city[n], xy=(x,y), xytext=(0,-7.0), textcoords="offset points", ha="center", size="5")
elif city[n]=="Bochum":
plt.annotate(city[n], xy=(x,y), xytext=(-4.0,-2.0), textcoords="offset points", ha="right", size="5")
#elif city[n]=="Mainz":
# plt.annotate(city[n], xy=(x,y), xytext=(-2.0,8.5), textcoords="offset points", ha="center", size="5")
elif city[n]=="Mainz":
plt.annotate(city[n], xy=(x,y), xytext=(-2.0,-7.0), textcoords="offset points", ha="center", size="5")
elif city[n]=="Potsdam":
plt.annotate(city[n], xy=(x,y), xytext=(4.0,-4.0), textcoords="offset points", size="5")
#elif city[n]=="Hannover" or city[n]=="Halle" or city[n]=="Münster":
Expand Down

0 comments on commit 5377aec

Please sign in to comment.