diff scripts/score_boxplot.py @ 206:59eea6eed91b

Comment and rating scripts: robust against audioholders without id or audioelements; fixes issue where plots were not cleared before adding new content; showing legend optional; robust against non-UTF8 characters in legend names
author Brecht De Man <b.deman@qmul.ac.uk>
date Mon, 15 Jun 2015 13:09:46 +0100
parents 566fc4fa2bea
children a4b5246ffb32
line wrap: on
line diff
--- a/scripts/score_boxplot.py	Fri Jun 12 12:01:14 2015 +0100
+++ b/scripts/score_boxplot.py	Mon Jun 15 13:09:46 2015 +0100
@@ -67,4 +67,5 @@
         #plt.show() # show plot
         #exit()
 
-        plt.savefig(rating_folder+page_name+"-ind.png")
+        plt.savefig(rating_folder+page_name+"-box.png")
+        plt.close()