diff --git a/dkist/dataset/tiled_dataset.py b/dkist/dataset/tiled_dataset.py index cd9474e1..6080bba7 100644 --- a/dkist/dataset/tiled_dataset.py +++ b/dkist/dataset/tiled_dataset.py @@ -159,13 +159,8 @@ def plot(self, slice_index: int, share_zscale=False, **kwargs): ax = fig.add_subplot(self.shape[0], self.shape[1], i+1, projection=tile[0].wcs) tile[slice_index].plot(axes=ax, **kwargs) if i == 0: - 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: - if "b" in coord.axislabels.get_visible_axes(): - fig.supxlabel(xlabel, y=0.05) - if "l" in coord.axislabels.get_visible_axes(): - fig.supylabel(ylabel, x=0.05) + fig.supxlabel(ax.get_xlabel(), y=0.05) + fig.supylabel(ax.get_ylabel(), x=0.05) axmin, axmax = ax.get_images()[0].get_clim() vmin = axmin if axmin < vmin else vmin vmax = axmax if axmax > vmax else vmax