Skip to content

Commit 3320561

Browse files
committed
Use raw strings to escape tex commands in docstrings
1 parent 2efb3ea commit 3320561

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spatialmath/geom3d.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ def w(self):
399399

400400
@property
401401
def uw(self):
402-
"""
402+
r"""
403403
Line direction as a unit vector
404404
405405
:return: Line direction as a unit vector
@@ -415,7 +415,7 @@ def uw(self):
415415

416416
@property
417417
def vec(self):
418-
"""
418+
r"""
419419
Line as a Plucker coordinate vector
420420
421421
:return: Plucker coordinate vector
@@ -518,7 +518,7 @@ def point(self, lam):
518518
return self.pp.reshape((3,1)) + self.uw.reshape((3,1)) * lam
519519

520520
def lam(self, point):
521-
"""
521+
r"""
522522
Parametric distance from principal point
523523
524524
:param point: 3D point

0 commit comments

Comments
 (0)