Skip to content

Commit

Permalink
Change the xy position for the plot labels
Browse files Browse the repository at this point in the history
Signed-off-by: Davide Madrisan <[email protected]>
  • Loading branch information
madrisan committed Sep 20, 2023
1 parent 4cfb660 commit a3283a6
Show file tree
Hide file tree
Showing 13 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.png filter=lfs diff=lfs merge=lfs -text
2 changes: 1 addition & 1 deletion hadcrut5-plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def plotline(hc5, chunksize, annotate, outfile, verbose):
if annotate > 1:
plt.annotate(
"{0:.2f}°C".format(anomaly_current[region]),
xy=(years[-1] - 5, anomaly_current[region] + 0.05),
xy=(years[-1] - 2, anomaly_current[region] - 0.15),
fontsize=6,
horizontalalignment="left",
bbox={"facecolor": "lightgray", "alpha": 0.6, "pad": 3},
Expand Down
Binary file modified plots/HadCRUT5-1850-1900-smoother.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plots/HadCRUT5-1850-1900.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plots/HadCRUT5-1880-1920-smoother.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plots/HadCRUT5-1880-1920.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plots/HadCRUT5-1961-1990-smoother.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plots/HadCRUT5-1961-1990.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plots/HadCRUT5-global-1850-1900.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plots/HadCRUT5-global-1880-1920.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plots/HadCRUT5-global-1961-1990.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plots/HadCRUT5-global-stripe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plots/HadCRUT5-monthly-global-1880-1920.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a3283a6

Please sign in to comment.