code: def _get_axis_dims(self, element):
          
          dims = element.dimensions()[:3]
          pad = [None]*max(3-len(dims), 0)
          return dims + pad
docs: Returns the dimensions corresponding to each axis.
  
          Should return a list of dimensions or list of lists of
          dimensions, which will be formatted to label the axis
          and to link axes.