diff --git a/mmpose/visualization/local_visualizer_3d.py b/mmpose/visualization/local_visualizer_3d.py index 444edae738..56f3bbfba1 100644 --- a/mmpose/visualization/local_visualizer_3d.py +++ b/mmpose/visualization/local_visualizer_3d.py @@ -201,7 +201,7 @@ def _draw_3d_instances_kpts(keypoints, kpt_color = kpt_color[valid][..., ::-1] / 255. - ax.scatter(x_3d, y_3d, z_3d, marker='o', color=kpt_color) + ax.scatter(x_3d, y_3d, z_3d, marker='o', c=kpt_color) if show_kpt_idx: for kpt_idx in range(len(x_3d)):