def vertices_rectangle(size):
    """Returns a list of vertices describing a rectangle.

    Notes
    -----
    The resulting vertices can be plotted with the class
    stimuli.Shape(vertex_list=...).

    Parameters
    ----------
    size : (int, int)
        size (width, height) of the rectangle

    Returns
    -------
    vtx : list of vertices

    """
    return [(size[0] - 1, 0), (0, -size[1] + 1), (-size[0] + 1, 0), (0, 
        size[1] - 1)]
