'Depends on axis.'

def size_from_args(self):

    if (self.axis is None):
        return (1, 1)
    elif (self.axis == 0):
        return (1, self.args[0].size[1])
    else:
        return (self.args[0].size[0], 1)
