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)