Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
yusukeaso-astron committed Jan 10, 2025
1 parent 586cf4a commit db257eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plotastrodata/fits_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def gen_grid(self, center: str | None = None, dist: float = 1.,
# spatial center
if center is not None:
c0 = xy2coord([h['CRVAL1'], h['CRVAL2']])
cx, cy = coord2xy(coords=center, coordorg=c0)
cx, cy = coord2xy(center, c0)
else:
cx, cy = 0, 0
# rest frequency
Expand Down

0 comments on commit db257eb

Please sign in to comment.