def plot_curve(points, graph, radius=0.5, line_color='', fill_color='', width=1):
    """
    :param points: list of coordinates tuple
    :param graph: PySimpleGUI Graph
    :param radius: radius of circle for points
    :param line_color: color of line between points, '' if no line desired
    :param fill_color: color of filled circles at points, '' if no points desired
    :param width: width of connecting line between points
    :return id_list: list of graph id's, used for removing curve with
        for id in id_list:
            graph.delete_figure(id)
    """
    id_list = []
    for x in range(0, len(points)):
        if fill_color and radius:
            idg = graph.DrawCircle(points[x], radius=radius, line_color='', fill_color=fill_color)
            id_list.append(idg)
        if x:
            idg = graph.DrawLine(points[x-1], points[x], color=line_color, width=width)
            id_list.append(idg)
    return id_list