Plotting lines.

    :param it:
        Data to plot where key value is the name of the series.
    :type it: list[dict]

    :return:
        The plot.
    :rtype: plotly.plotly.iplot

def plot_lines(it):
    """
    Plotting lines.

    :param it:
        Data to plot where key value is the name of the series.
    :type it: list[dict]

    :return:
        The plot.
    :rtype: plotly.plotly.iplot
    """
    data = [go.Scatter(mode='lines', **d) for d in it]
    return py.iplot(data, filename='scatter-mode')