@property
    def volume(self):
        if self.linear:
            data = volume.unmask(self.mask, self.data)
        else:
            data = self.data

        if self.raw and data.shape[-1] == 3:
            #stack the alpha dimension
            alpha = 255*np.ones(data.shape[:3]+(1,)).astype(np.uint8)
            data = np.concatenate([data, alpha], axis=-1)

        return data
Override default method to make it work without arguments.
dataset/ETHPy150Open gallantlab/pycortex/cortex/dataset.py/VolumeData.volume--crossover with--dataset/ETHPy150Open rvanlaar/easy-transifex/src/transifex/transifex/projects/management/commands/txreport.py/Command.handle