Add shape property.
@@ -126,6 +126,11 @@ class WcsGeom(MapGeom):
"""List of non-spatial axes."""
return self._axes
+ @property
+ def shape(self):
+ """Shape of non-spatial axes."""
+ return self._shape
+
@property
def ndim(self):
return len(self._axes) + 2
