Skip to content

Commit 807c483

Browse files
authored
Merge pull request #70 from stefangachter/fix_label_color
Fix handling of color for labels
2 parents d28288b + a3d88db commit 807c483

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

spatialmath/base/transforms3d.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3281,10 +3281,8 @@ def trplot(
32813281
if textcolor == "":
32823282
textcolor = color[0]
32833283

3284-
if origincolor != "":
3284+
if origincolor == "":
32853285
origincolor = color[0]
3286-
else:
3287-
origincolor = "black"
32883286

32893287
# label the frame
32903288
if frame != "":

0 commit comments

Comments
 (0)