From 99b9b9c70b8ec684712ec29a0eff83f35fcd64b6 Mon Sep 17 00:00:00 2001 From: Alicja Szulecka <73056579+AliSzu@users.noreply.github.com> Date: Tue, 30 Apr 2024 16:29:27 +0200 Subject: [PATCH] Update plot.py --- plot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plot.py b/plot.py index 5a2e22d..b520b8a 100644 --- a/plot.py +++ b/plot.py @@ -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')