Skip to content

Commit

Permalink
Update germany_plot_v04.py
Browse files Browse the repository at this point in the history
changed label position of "Bochum" und "Mainz"
  • Loading branch information
BenjaminGolub authored Jun 17, 2024
1 parent 6fa202d commit a2b4349
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions germany_plot_v04.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@
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=(0.0,-2.0), textcoords="offset points", ha="right", size="5")
plt.annotate(city[n], xy=(x,y), xytext=(-2.0,-2.0), textcoords="offset points", ha="right", size="5")
elif city[n]=="Mainz":
plt.annotate(city[n], xy=(x,y), xytext=(0.0,-2.0), textcoords="offset points", ha="right", size="5")
plt.annotate(city[n], xy=(x,y), xytext=(-2.0,-2.0), textcoords="offset points", ha="right", 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":
Expand Down

0 comments on commit a2b4349

Please sign in to comment.