From f7b416ae6402aba6f52e57a2a68a3b5524f8eb92 Mon Sep 17 00:00:00 2001 From: "alicja.m.musial" Date: Fri, 3 Apr 2020 19:47:43 +0200 Subject: [PATCH] plot 4 fix2 --- plotCreator.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plotCreator.py b/plotCreator.py index 7fa8441..92c75ee 100644 --- a/plotCreator.py +++ b/plotCreator.py @@ -22,9 +22,11 @@ def createplot(sourceFile): title='Metric for ASR') ax.grid() + name = sourceFile.rstrip('.') + fig.savefig(name+'.png') plt.show() if __name__ == '__main__': - createplot('wer.txt') + createplot('name+.txt') createplot('srr.txt')