diff --git a/script.py b/script.py index 9ab436e..1612d7c 100644 --- a/script.py +++ b/script.py @@ -22,15 +22,15 @@ if os.path.exists('srr_results.txt') and os.path.exists('wer_results.txt'): counter+=1 -for i in range(counter): - probs.append(i) + for i in range(counter): + probs.append(i) -fig, ax = plt.subplots() -plt.title("WER & SRR") -plt.xlabel("Number of probe") -plt.ylabel("Error value") -plt.plot(probs, wrr_scores) -plt.plot(probs, srr_scores) -ax.legend(["WER", "SRR"]) -plt.savefig('plot.png') \ No newline at end of file + fig, ax = plt.subplots() + plt.title("WER & SRR") + plt.xlabel("Number of probe") + plt.ylabel("Error value") + plt.plot(probs, wrr_scores) + plt.plot(probs, srr_scores) + ax.legend(["WER", "SRR"]) + plt.savefig('plot.png') \ No newline at end of file