Skip to content

Commit

Permalink
Fixes a bug in the WCSAxes canvas overlay (layout of DEC lines)
Browse files Browse the repository at this point in the history
- fix #1087
  • Loading branch information
ejeschke committed Jan 30, 2024
1 parent bc2606d commit 8712fc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ginga/canvas/types/astro.py
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@ def _calc_axes(self, viewer, images, rot_deg, swapxy, limits):
d_ra = ra_size / (self.num_ra + 1)
d_dec = dec_size / (self.num_dec + 1)
ra_arr = np.arange(ra_min + d_ra, ra_max - d_ra * 0.5, d_ra)
dec_arr = np.arange(dec_min + d_dec, dec_max - d_ra * 0.5, d_dec)
dec_arr = np.arange(dec_min + d_dec, dec_max - d_dec * 0.5, d_dec)

# RA/DEC step size for each vector
d_ra_step = ra_size * self._pix_res / min_imsize
Expand Down

0 comments on commit 8712fc6

Please sign in to comment.