def _normalize(arr, m, M):
    d = float(M - m)
    b = 2. / d
    a = m / d - -1
    arr *= b
    arr += a
    return arr
dataset/ETHPy150Open kwikteam/phy/phy/plot/transform.py/_normalize/swapped operands of `-`