Skip to content

Commit 384be82

Browse files
committed
fix bug in Plucker plot
1 parent 2bed76c commit 384be82

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎spatialmath/geom3d.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@ def plot(self, *pos, bounds=None, axis=None, **kwargs):
992992
P, lam = line.intersect_volume(bounds)
993993

994994
if len(lam) > 0:
995-
l = ax.plot3D(P[0,:], P[1,:], P[2,:], *pos, **kwargs)
995+
l = ax.plot(tuple(P[0,:]), tuple(P[1,:]), tuple(P[2,:]), *pos, **kwargs)
996996
lines.append(l)
997997
return lines
998998

0 commit comments

Comments
 (0)