def bb_to_plt_plot(x, y, w, h):
    """ Converts a bounding box to parameters
        for a plt.plot([..], [..])
        for actual plotting with pyplot
    """
    X = [x, x,   x+w, x+w, x]
    Y = [y, y+h, y+h, y,   y]
    return X, Y