Skip to content

Commit c3274f1

Browse files
committed
fix bug in axis labeling
1 parent 2c5919d commit c3274f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spatialmath/base/transforms3d.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2607,9 +2607,9 @@ def trplot(
26072607
if not ax.get_xlabel():
26082608
ax.set_xlabel(labels[0])
26092609
if not ax.get_ylabel():
2610-
ax.set_ylabel(labels[0])
2610+
ax.set_ylabel(labels[1])
26112611
if not ax.get_zlabel():
2612-
ax.set_zlabel(labels[0])
2612+
ax.set_zlabel(labels[2])
26132613
except AttributeError:
26142614
pass # if axes are an Animate object
26152615

0 commit comments

Comments
 (0)