From 0bfae7d8f53a9c18f3325245b1b35c1626e3bf26 Mon Sep 17 00:00:00 2001 From: Nicolas ELIE Date: Mon, 8 Apr 2024 16:26:49 +0200 Subject: [PATCH] Correctly position annotations --- IsotopeDistributionCalculator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IsotopeDistributionCalculator.py b/IsotopeDistributionCalculator.py index 49df15f..c3e9679 100644 --- a/IsotopeDistributionCalculator.py +++ b/IsotopeDistributionCalculator.py @@ -459,7 +459,7 @@ def on_draw(self): rotation='vertical', annotation_clip=False) else: self.axes.annotate('%.*f' % (digits, i), xy=(i,j), - xytext=(-4.0,20+digits*8.0), + xytext=(-4.0,-20.0+digits*8.0), textcoords='offset points', rotation='vertical', annotation_clip=False)