Update 'plot.py'

This commit is contained in:
Patryk Gałka 2023-05-11 00:48:41 +02:00
parent 3a6b4b66cb
commit 921fa778eb

View File

@ -1,8 +1,14 @@
import pandas 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', engine='python',
encoding='ISO-8859-1', encoding='ISO-8859-1',
sep=',') sep=',')
builds = metrics[0]
accuracy = metrics[1]
plt.plot(builds,accuracy)
plt.savefig('metrics.png')