From cb2363412805fa40c0c229cf9b70c14a7cbc33d8 Mon Sep 17 00:00:00 2001 From: Mattia Almansi Date: Thu, 4 Apr 2024 10:14:01 +0200 Subject: [PATCH] cleanup --- notebooks/wp5/glacier_distribution.ipynb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/notebooks/wp5/glacier_distribution.ipynb b/notebooks/wp5/glacier_distribution.ipynb index 96d4faf..edc6344 100644 --- a/notebooks/wp5/glacier_distribution.ipynb +++ b/notebooks/wp5/glacier_distribution.ipynb @@ -290,8 +290,7 @@ " ylabel=\"Number of glaciers\",\n", ")\n", "_ = ax.text(\n", - " 0,\n", - " 1,\n", + " *(0, 1),\n", " f\"Date of digitization data are missing for {missing} glaciers or {missing_perc:.2f}% of the dataset.\",\n", " transform=ax.transAxes,\n", " bbox={\"facecolor\": \"white\", \"edgecolor\": \"black\"},\n", @@ -361,8 +360,7 @@ "ax.grid()\n", "ax.legend()\n", "_ = ax.text(\n", - " 0,\n", - " 0,\n", + " (*0, 0),\n", " \"\\n\".join(text),\n", " transform=ax.transAxes,\n", " bbox={\"facecolor\": \"white\", \"edgecolor\": \"black\"},\n",