Skip to content

Commit

Permalink
modify error
Browse files Browse the repository at this point in the history
  • Loading branch information
LareinaM committed Sep 22, 2023
1 parent 69c9d17 commit 81e2133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmpose/visualization/local_visualizer_3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)):
Expand Down

0 comments on commit 81e2133

Please sign in to comment.