gif.py
def save(frames, path, duration=100):
    """
    Save decorated frames to an animated gif.

    - frames (list): collection of frames built with the frame decorator
    - path (str): filename with relative or absolute path
    - duration (int): milliseconds between frames
    """
    frames[0].save(
        path,
        save_all=True,
        append_images=frames[1:],
        optimize=True,
        duration=duration,
        loop=0,
    )

    Save decorated frames to an animated gif.

    - frames (list): collection of frames built with the frame decorator
    - path (str): filename with relative or absolute path
    - duration (int): milliseconds between frames
    
Save decorated frames to an animated gif.
frames (list): collection of frames built with the frame decorator
path (str): filename with relative or absolute path
duration (int): milliseconds between frames
Save decorated frames to an animated gif . frames ( list ) : collection of frames built with the frame decorator path ( str ) : filename with relative or absolute path duration ( int ) : milliseconds between frames
def save(frames, path, duration=100):
    frames[0].save(
        path,
        save_all=True,
        append_images=frames[1:],
        optimize=True,
        duration=duration,
        loop=0,
    )
def save ( frames , path , duration = 100 ) : frames [ 0 ] . save ( path , save_all = True , append_images = frames [ 1 : ] , optimize = True , duration = duration , loop = 0 , )
Save decorated frames to an animated gif.
Save decorated frames to an animated gif .
"""
    Save decorated frames to an animated gif.

    - frames (list): collection of frames built with the frame decorator
    - path (str): filename with relative or absolute path
    - duration (int): milliseconds between frames
    """
frames
path
duration