Skip to content

Commit

Permalink
Update germany_plot_v04.py
Browse files Browse the repository at this point in the history
corrected an error from before
  • Loading branch information
BenjaminGolub authored Aug 1, 2024
1 parent 7ec1057 commit 298303a
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 @@ -143,11 +143,11 @@
elif city[n]=="Darmstadt":
plt.annotate(city[n], xy=(x,y), xytext=(0,-6.0), textcoords="offset points", ha="center", size="5")
elif city[n]=="8xNationalChemotion":
plt.annotate("+ 9 national Chemotion WS", xy=(x,y), xytext=(4.0,-2.0), textcoords="offset points", size="5")
plt.annotate("+ 9 national Chemotion WS", xy=(x,y), xytext=(0.0,-2.0), textcoords="offset points", size="5")
elif city[n]=="8xNationalRDM":
plt.annotate("+ 8 national RDM WS", xy=(x,y), xytext=(0.0,-2.0), textcoords="offset points", size="5")
else:
plt.annotate(city[n], xy=(x,y), xytext=(0.0,-2.0), textcoords="offset points", size="5")
plt.annotate(city[n], xy=(x,y), xytext=(4.0,-2.0), textcoords="offset points", size="5")

#for x, y, label in zip(cities.geometry.x, cities.geometry.y, cities.name):
# ax.annotate(label, xy=(x, y), xytext=(3, 3), textcoords="offset points")
Expand Down

0 comments on commit 298303a

Please sign in to comment.