def _inverse(value):
    if isinstance(value, np.ndarray):
        return 1. / value
    elif hasattr(value, '__len__'):
        assert len(value) == 2
        return 1. / value[0], value[1] / 1.
    else:
        return 1. / value
dataset/ETHPy150Open kwikteam/phy/phy/plot/transform.py/_inverse/swapped operands of `/`