Skip to content

Commit ec14b3d

Browse files
authored
Merge pull request astropy#16242 from meeseeksmachine/auto-backport-of-pr-16232-on-v6.0.x
Backport PR astropy#16232 on branch v6.0.x (DOC: add a note that wrapping Angle with integral dtypes isn't supported)
2 parents d38e7c8 + 3171b1b commit ec14b3d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/coordinates/angles.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,12 @@ angles and wrapping to be within a single 360 degree slice. The
175175
:meth:`~astropy.coordinates.Angle.is_within_bounds` method returns a
176176
boolean indicating whether an angle or angles is within the specified bounds.
177177

178+
.. Note::
179+
While creating |Angle| instances from arrays with integral data types
180+
is technically possible (for example with ``dtype=int``), it is very
181+
limited in functionality and in particular wrapping is not supported for
182+
such objects.
183+
178184

179185
Longitude and Latitude Objects
180186
==============================

0 commit comments

Comments
 (0)