Skip to content

Commit d856c4b

Browse files
committed
Update docstring per suggestion from @eteq [skip ci]
1 parent 6f2742d commit d856c4b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

astropy/coordinates/sky_coordinate.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,14 @@ def transform_to(self, frame):
257257
"""
258258
Transform this coordinate to a new frame.
259259
260+
The frame attributes (e.g. equinox or obstime) for the returned object
261+
depend on the corresponding attributes of SkyCoord object and the
262+
supplied ``frame``, with the following precedence:
263+
264+
1. Non-default value in the supplied frame
265+
2. Non-default value in the SkyCoord instance
266+
3. Default value in the supplied frame
267+
260268
Parameters
261269
----------
262270
frame : str or `BaseCoordinateFrame` class / instance or `SkyCoord` instance

0 commit comments

Comments
 (0)