def _text_position(x0, dx, scale='linear'):
    if scale == 'linear':
        return x0 + dx
    elif scale == 'log':
        return log_displace(x0, dx)
    else:
        raise ValueError(scale % 'Unknown value for `scale`: %s')
dataset/ETHPy150Open tonysyu/mpltools/mpltools/annotation/_slopemarker.py/_text_position/swapped operands of `%`