cds-astro / mocpy

Python library to easily create and manipulate MOCs (Multi-Order Coverage maps)
https://cds-astro.github.io/mocpy/
BSD 3-Clause "New" or "Revised" License
60 stars 33 forks source link

MOC.wcs() has issues with non-squared figures #98

Closed ManonMarchand closed 1 year ago

ManonMarchand commented 1 year ago

Corners are not shown in this MOC with the automatic plot

image

ManonMarchand commented 1 year ago

It's actually a corner case because of the single cell.

ManonMarchand commented 1 year ago

Re-opening the issue, happened again with 4 cells image

ManonMarchand commented 1 year ago

For further investigation. This line might be the reason? https://github.com/cds-astro/mocpy/blob/002337568355e5fdd87f19f22322f75c3cbee07e/python/mocpy/moc/plot/wcs.py#L74