Skip to content

Commit

Permalink
undo x and y assignment fix from 8ff04cc
Browse files Browse the repository at this point in the history
  • Loading branch information
HaleySchuhl committed Apr 24, 2024
1 parent cf61170 commit a8a018c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plantcv/annotate/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,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)
Expand Down

0 comments on commit a8a018c

Please sign in to comment.