def linear(n):
    if not 0.0 <= n <= 1.0:
        raise ValueError('Argument must be between 0.0 and 1.0.')
    return n
Trivial linear tweening function.
dataset/ETHPy150Open asweigart/pyautogui/pyautogui/__init__.py/linear