Skip to content

Commit

Permalink
errors in docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
adrn committed Nov 25, 2024
1 parent a6e2c09 commit d2f0c7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/coordinax/_src/vectors/d3/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ def represent_as(
... phi=Quantity(90, "deg"),
... z=Quantity(1, "kpc")
... )
>>> print(vec.represent_as(cx.ProlateSpheroidalPos, Delta=Quantity(0.5, "kpc")))
>>> print(vec.represent_as(cx.ProlateSpheroidalPos, Quantity(0.5, "kpc")))
<ProlateSpheroidalPos (mu[kpc2], nu[kpc2], phi[deg])
[ 2.133 0.117 90. ]>
Expand Down Expand Up @@ -769,7 +769,7 @@ def represent_as(
... phi=Quantity(90, "deg"),
... Delta=Quantity(0.5, "kpc")
... )
>>> print(cx.represent_as(vec, cx.ProlateSpheroidalPos, Delta=Quantity(0.5, "kpc")))
>>> print(cx.represent_as(vec, cx.ProlateSpheroidalPos, Quantity(0.5, "kpc")))
<ProlateSpheroidalPos...>
"""
Expand Down

0 comments on commit d2f0c7f

Please sign in to comment.