From 29a2d9cfe9907210454d54c09c53cd62156ac9b5 Mon Sep 17 00:00:00 2001 From: HaleySchuhl Date: Tue, 7 May 2024 10:23:07 -0500 Subject: [PATCH] import_list bugfix coordinate order --- plantcv/annotate/classes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plantcv/annotate/classes.py b/plantcv/annotate/classes.py index 5134742..455701e 100644 --- a/plantcv/annotate/classes.py +++ b/plantcv/annotate/classes.py @@ -91,7 +91,7 @@ class label, by default "default" """ if label not in self.coords: self.coords[label] = [] - for (x, y) in coords: + for (y, x) in coords: self.coords[label].append((x, y)) self.count[label] = len(self.coords[label]) self.view(label=label, color=self.color, view_all=False)