Skip to content

Commit

Permalink
Update germany_plot_v04.py
Browse files Browse the repository at this point in the history
Changed positon of Darmstadt label
  • Loading branch information
BenjaminGolub authored Jul 30, 2024
1 parent 21465cc commit b515947
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 @@ -139,7 +139,7 @@
elif city[n]=="Hannover" or city[n]=="Halle":
plt.annotate(city[n], xy=(x,y), xytext=(0,4.0), textcoords="offset points", ha="center", size="5")
elif city[n]=="Darmstadt":
plt.annotate(city[n], xy=(x,y), xytext=(0,-8.0), textcoords="offset points", ha="center", size="5")
plt.annotate(city[n], xy=(x,y), xytext=(0,-6.0), textcoords="offset points", ha="center", size="5")
else:
plt.annotate(city[n], xy=(x,y), xytext=(4.0,-2.0), textcoords="offset points", size="5")

Expand All @@ -150,7 +150,7 @@

if m==0:
plt.axis([5,15.2,47,55])
plt.title("RDM workshops")
plt.title("workshops")
plt.axis('off')
plt.savefig(output, bbox_inches='tight', pad_inches=0.05, transparent=True)
else:
Expand Down

0 comments on commit b515947

Please sign in to comment.