Update plot.py
This commit is contained in:
parent
520206ef22
commit
99b9b9c70b
4
plot.py
4
plot.py
@ -9,9 +9,9 @@ for line in f:
|
|||||||
if(parts[0] == 'Accuracy:'):
|
if(parts[0] == 'Accuracy:'):
|
||||||
accuracy.append(float(parts[1]))
|
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.xlabel('Build Number')
|
||||||
plt.ylabel('Accuracy')
|
plt.ylabel('Accuracy')
|
||||||
plt.title('Accuracy Plot')
|
plt.title('Accuracy Plot')
|
||||||
|
Loading…
Reference in New Issue
Block a user