8000 fix trplot bug, when i use matplotlib==1.5.3 · LMCallMe/robotics-toolbox-python@54f2b53 · GitHub
[go: up one dir, main page]

Skip to content

Commit 54f2b53

Browse files
committed
fix trplot bug, when i use matplotlib==1.5.3
1 parent 2c027ff commit 54f2b53

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

robot/trplot.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ def trplot(r, name=''):
2222

2323
fig=p.figure()
2424
ax=p3.Axes3D(fig)
25-
ax.plot3d([0,x[0,0]], [0,x[0,1]], [0,x[0,2]], color='red')
26-
ax.plot3d([0,y[0,0]], [0,y[0,1]], [0,y[0,2]], color='green')
27-
ax.plot3d([0,z[0,0]], [0,z[0,1]], [0,z[0,2]], color='blue')
25+
ax.plot3D([0,x[0,0]], [0,x[0,1]], [0,x[0,2]], color='red')
26+
ax.plot3D([0,y[0,0]], [0,y[0,1]], [0,y[0,2]], color='green')
27+
ax.plot3D([0,z[0,0]], [0,z[0,1]], [0,z[0,2]], color='blue')
2828
p.show()
2929

3030
if __name__ == "__main__":

0 commit comments

Comments
 (0)
0