Expression not assigned
@@ -371,7 +371,7 @@ class WcsNDMap(WcsMap):
im = ax.imshow(data, **kwargs)
- fig.colorbar(im, ax=ax, label=str(self.unit)) if add_cbar else None
+ fig.colorbar(im, ax=ax, label=str(self.unit))
if self.geom.is_allsky:
ax = self._plot_format_allsky(ax)
