Skip to content

Commit 0bfae7d

Browse files
committed
Correctly position annotations
1 parent acf0973 commit 0bfae7d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

IsotopeDistributionCalculator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ def on_draw(self):
459459
rotation='vertical', annotation_clip=False)
460460
else:
461461
self.axes.annotate('%.*f' % (digits, i), xy=(i,j),
462-
xytext=(-4.0,20+digits*8.0),
462+
xytext=(-4.0,-20.0+digits*8.0),
463463
textcoords='offset points',
464464
rotation='vertical', annotation_clip=False)
465465

0 commit comments

Comments
 (0)