We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d22417b commit a3d88dbCopy full SHA for a3d88db
spatialmath/base/transforms3d.py
@@ -3281,22 +3281,11 @@ def trplot(
3281
if textcolor == "":
3282
textcolor = color[0]
3283
3284
- if origincolor != "":
+ if origincolor == "":
3285
origincolor = color[0]
3286
- else:
3287
- origincolor = "black"
3288
3289
# label the frame
3290
if frame != "":
3291
- if textcolor is None:
3292
- textcolor = color[0]
3293
3294
- textcolor = "blue"
3295
- if origincolor is None:
3296
- origincolor = color[0]
3297
3298
3299
-
3300
o1 = T @ np.array(np.r_[flo, 1])
3301
ax.text(
3302
o1[0],
0 commit comments