We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a653bcd commit ea8265cCopy full SHA for ea8265c
icevision/visualize/draw_data.py
@@ -186,7 +186,7 @@ def draw_sample(
186
# then set color accordingly
187
if color_map is not None:
188
color = as_rgb_tuple(color_map[label])
189
- color = np.array(color).astype(np.float)
+ color = np.array(color).astype(float)
190
if display_mask and mask is not None:
191
img = draw_mask(
192
img=img,
0 commit comments