Skip to content

Commit

Permalink
remove redundant init of label
Browse files Browse the repository at this point in the history
  • Loading branch information
HaleySchuhl committed Apr 26, 2024
1 parent e032d8c commit 05a8a43
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plantcv/annotate/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def _view(self, label="default", color="c", view_all=False):
label = (optional) class label, by default label="total"
color = desired color, by default color="c"
view_all = indicator of whether view all classes, by default view_all=False
:param label: string
:param color: string
:param view_all: boolean
Expand Down Expand Up @@ -179,7 +179,6 @@ def __init__(self, img, figsize=(12, 6), label="default", color="r", view_all=Fa
self.coords = {} # dictionary of all coordinates per group label
self.events = [] # includes right and left click events
self.count = {} # a dictionary that saves the labels and counts of different groups
self.label = label # current label
self.sample_labels = [] # list of all sample labels, one to one with points collected
self.colors = {} # all used colors

Expand Down

0 comments on commit 05a8a43

Please sign in to comment.