def _finalize(self, cube):
        if self.slc.index('x') < self.slc.index('y'):
            cube = cube.T
        return cube
dataset/ETHPy150Open glue-viz/glue/glue/core/aggregate.py/Aggregate._finalize/original