From b1b8e0f50ef8d9528f13d35378016f9be9abfc80 Mon Sep 17 00:00:00 2001 From: Xen0Xys Date: Fri, 24 May 2024 14:49:51 +0200 Subject: [PATCH] :bug: Fix ellipse width and height for AL --- src/ipyaladin/region_converter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ipyaladin/region_converter.py b/src/ipyaladin/region_converter.py index 32ff8775..aa38e9eb 100644 --- a/src/ipyaladin/region_converter.py +++ b/src/ipyaladin/region_converter.py @@ -159,8 +159,8 @@ def _from_ellipse_sky_region(self, region: EllipseSkyRegion) -> None: self.infos = { "ra": region.center.ra.deg, "dec": region.center.dec.deg, - "a": a.deg, - "b": b.deg, + "a": a.deg / 2, + "b": b.deg / 2, "theta": angle.deg, }