Skip to content

Commit ea8265c

Browse files
committed
remove np.float
1 parent a653bcd commit ea8265c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

icevision/visualize/draw_data.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def draw_sample(
186186
# then set color accordingly
187187
if color_map is not None:
188188
color = as_rgb_tuple(color_map[label])
189-
color = np.array(color).astype(np.float)
189+
color = np.array(color).astype(float)
190190
if display_mask and mask is not None:
191191
img = draw_mask(
192192
img=img,

0 commit comments

Comments
 (0)