Skip to content

Commit 63cc7e0

Browse files
committed
Fix #281, fix segment drawing
1 parent 225e708 commit 63cc7e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roboticstoolbox/backends/PyPlot/RobotPlot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def draw(self):
103103

104104
self.links[i].set_xdata(points[:, 0])
105105
self.links[i].set_ydata(points[:, 1])
106-
self.links[0].set_3d_properties(points[:, 2])
106+
self.links[i].set_3d_properties(points[:, 2])
107107

108108
# Update the shadow of the robot links
109109
if self.shadow:

0 commit comments

Comments
 (0)