From 921fa778eb221e9c84ebc17f569a5ac7d62ebc9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Ga=C5=82ka?= Date: Thu, 11 May 2023 00:48:41 +0200 Subject: [PATCH] Update 'plot.py' --- plot.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/plot.py b/plot.py index 56db809..e2de308 100644 --- a/plot.py +++ b/plot.py @@ -1,8 +1,14 @@ import pandas +import matplotlib.pyplot as plt -video_games = pandas.read_csv('./ium_z434686/metrics.csv', +metrics = pandas.read_csv('./ium_z434686/metrics.csv', engine='python', encoding='ISO-8859-1', sep=',') +builds = metrics[0] +accuracy = metrics[1] + +plt.plot(builds,accuracy) +plt.savefig('metrics.png')