From 5377aec26d39c0a1409c7c3826e501be4f0fffed Mon Sep 17 00:00:00 2001 From: BenjaminGolub <107389350+BenjaminGolub@users.noreply.github.com> Date: Mon, 26 Aug 2024 09:21:01 +0200 Subject: [PATCH] Update germany_plot_v04.py label location for "Mainz" changed --- germany_plot_v04.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/germany_plot_v04.py b/germany_plot_v04.py index 9b73a4d..af6423e 100644 --- a/germany_plot_v04.py +++ b/germany_plot_v04.py @@ -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":