Skip to content

Commit 57bde08

Browse files
committed
Fix _get_rgb_by_label
1 parent 783f1f7 commit 57bde08

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

labelme/app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,6 +1147,7 @@ def _get_rgb_by_label(self, label):
11471147
return self._config["label_colors"][label]
11481148
elif self._config["default_shape_color"]:
11491149
return self._config["default_shape_color"]
1150+
return (0, 255, 0)
11501151

11511152
def remLabels(self, shapes):
11521153
for shape in shapes:

0 commit comments

Comments
 (0)