def draw_time_series(data, title, x_label, y_label, file_name):
    plt.plot(data)
    plt.title(title)
    plt.ylabel(y_label)
    plt.xlabel(x_label)
    plt.savefig((file_name + '.png'))
    plt.show()
    plt.close()
def draw_time_series(data, title, x_label, y_label, file_name):
    plt.plot(data)
    plt.title(title)
    plt.ylabel(y_label)
    plt.xlabel(x_label)
    plt.savefig((file_name + '.png'))
    plt.show()
    plt.close()