Skip to content

Commit

Permalink
🐛 Fix ellipse rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Xen0Xys authored and ManonMarchand committed May 27, 2024
1 parent 4ce7edb commit 4698f8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ipyaladin/region_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ def _from_ellipse_sky_region(self, region: EllipseSkyRegion) -> None:
angle = region.angle
if isinstance(region.angle, Quantity):
angle = Angle(region.angle)
angle = Angle(angle.deg - 90, unit="deg")
a = region.width
if isinstance(region.width, Quantity):
a = Angle(region.width)
Expand Down

0 comments on commit 4698f8a

Please sign in to comment.