Remove unused matplotlib.cm.get_cmap call (removed in matplotlib 3.11)
#13
by C-Achard - opened
61 unmodified lines6263646566676861 unmodified lineskeypoints_y = tuple([im_height * y for y in keypoints_y])#cmap = matplotlib.cm.get_cmap('hsv')cmap2 = matplotlib.cm.get_cmap('Greys')# draw ellipses around keypointsfor i, (keypoint_x, keypoint_y) in enumerate(zip(keypoints_x, keypoints_y)):round_fill = list(cm.viridis(norm(colores[i]),bytes=True))#[round(num*255) for num in list(cmap(i))[:3]] #check!61 unmodified lines62636465666761 unmodified lineskeypoints_y = tuple([im_height * y for y in keypoints_y])#cmap = matplotlib.cm.get_cmap('hsv')# draw ellipses around keypointsfor i, (keypoint_x, keypoint_y) in enumerate(zip(keypoints_x, keypoints_y)):round_fill = list(cm.viridis(norm(colores[i]),bytes=True))#[round(num*255) for num in list(cmap(i))[:3]] #check!
viz_utils.py-1