Skip to content

Commit

Permalink
Add a note about astropy changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadair committed Oct 17, 2024
1 parent fcba22a commit 73641e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dkist/dataset/tiled_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ def plot(self, slice_index, share_zscale=False, **kwargs):
ax = fig.add_subplot(self.shape[0], self.shape[1], i+1, projection=tile.wcs)
tile.plot(axes=ax, **kwargs)
if i == 0:
# TODO: When we can depend on astropy >=7.0 we can remove these or statements
xlabel = ax.coords[0].get_axislabel() or ax.coords[0]._get_default_axislabel()
ylabel = ax.coords[1].get_axislabel() or ax.coords[1]._get_default_axislabel()
for coord in ax.coords:
Expand Down

0 comments on commit 73641e1

Please sign in to comment.