Skip to content

Commit

Permalink
Also draw label_name which starts with _ in draw_json
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Aug 4, 2018
1 parent cbc3494 commit 1f3d242
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions labelme/utils/draw.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ def draw_label(label, img=None, label_names=None, colormap=None):
for label_value, label_name in enumerate(label_names):
if label_value not in label:
continue
if label_name.startswith('_'):
continue
fc = colormap[label_value]
p = plt.Rectangle((0, 0), 1, 1, fc=fc)
plt_handlers.append(p)
Expand Down

0 comments on commit 1f3d242

Please sign in to comment.