def history(h_output, h_input, date, limit): from perftest import plot plot.history([_load_json(i) for i in h_input], h_output, date, limit)
def history(output, input, date, limit): from perftest import plot, result results = [result.load(f) for f in input] plot.history(results, date, limit).savefig(output) log.info(f'Successfully saved plot to {output}')