Skip to content

Commit

Permalink
#202 Fix aspect ratio of qlook map images
Browse files Browse the repository at this point in the history
  • Loading branch information
astropenguin committed Aug 10, 2024
1 parent 817b953 commit 7840efb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions decode/qlook.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ def daisy(
)
ax.set_xlim(-map_lim, map_lim)
ax.set_ylim(-map_lim, map_lim)
ax.axes.set_aspect("equal", "datalim")

for ax in axes: # type: ignore
ax.grid(True)
Expand Down Expand Up @@ -554,6 +555,7 @@ def raster(
)
ax.set_xlim(-map_lim, map_lim)
ax.set_ylim(-map_lim, map_lim)
ax.axes.set_aspect("equal", "datalim")

for ax in axes: # type: ignore
ax.grid(True)
Expand Down

0 comments on commit 7840efb

Please sign in to comment.