Skip to content

Commit

Permalink
fix plot issue in random_inverse_kinematics.py (#1007)
Browse files Browse the repository at this point in the history
  • Loading branch information
AtsushiSakai committed Apr 28, 2024
1 parent c76f747 commit de24343
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ArmNavigation/n_joint_arm_3d/NLinkArm3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ def inverse_kinematics(self, ref_ee_pose, plot=False):

if plot:
self.fig = plt.figure()
self.ax = Axes3D(self.fig)
self.ax = Axes3D(self.fig, auto_add_to_figure=False)
self.fig.add_axes(self.ax)

x_list = []
y_list = []
Expand Down

0 comments on commit de24343

Please sign in to comment.