From 90b689a62ed3a4ba664a531cd45d2b8f34fb7d10 Mon Sep 17 00:00:00 2001 From: "alicja.m.musial" Date: Fri, 3 Apr 2020 21:02:38 +0200 Subject: [PATCH] plot 21 --- plotCreator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plotCreator.py b/plotCreator.py index a54ca7d..d84835a 100644 --- a/plotCreator.py +++ b/plotCreator.py @@ -12,7 +12,7 @@ def createplotWER(): y = readFile('werForPlot.txt', y) fig, ax = plt.subplots() - ax.plot(range(1, len(y) + 1)), y) + ax.plot(list(range(1, len(y) + 1)), y) ax.set(xlabel='Build number', ylabel='Percent [%]', title='Metric for ASR') ax.grid() @@ -26,7 +26,7 @@ def createplotSRR(): y = readFile('srrForPlot.txt', y) fig, ax = plt.subplots() - ax.plot(range(1, len(y) + 1)), y) + ax.plot(list(range(1, len(y) + 1)), y) ax.set(xlabel='Build number', ylabel='Percent [%]', title='Metric for ASR') ax.grid()