diff --git a/create_chart.py b/create_chart.py index a550f61..77aa26e 100644 --- a/create_chart.py +++ b/create_chart.py @@ -10,12 +10,11 @@ y = [] if os.path.exists('bulk_metrics.txt'): with open('bulk_metrics.txt') as file: for line in file.readlines(): - print(line.split(" ")) single_x, single_y = line.split(" ") x.append(single_x) - y.append(single_y) + y.append(float(single_y)) plt.plot(x, y) -plt.xlabel('Jobs') +plt.xlabel('Job') plt.ylabel('RMSE') plt.savefig('chart.png')