Update plot.py

This commit is contained in:
Alicja Szulecka 2024-04-30 16:29:27 +02:00
parent 520206ef22
commit 99b9b9c70b

View File

@ -9,9 +9,9 @@ for line in f:
if(parts[0] == 'Accuracy:'):
accuracy.append(float(parts[1]))
y_values = np.arange(1, len(accuracy) + 1)
build_numbers = np.arange(1, len(accuracy) + 1)
plt.plot(y_values, accuracy, marker='o', linestyle='-', color='b')
plt.plot(accuracy, build_numbers, marker='o', linestyle='-', color='b')
plt.xlabel('Build Number')
plt.ylabel('Accuracy')
plt.title('Accuracy Plot')