diff scripts/score_boxplot.py @ 192:566fc4fa2bea

Scripts: in score plots (individual and boxplot), remove extra marker in legend; automatically save plot.
author Brecht De Man <b.deman@qmul.ac.uk>
date Sat, 06 Jun 2015 11:54:43 +0100
parents 97ebdb6b266a
children 59eea6eed91b
line wrap: on
line diff
--- a/scripts/score_boxplot.py	Fri Jun 05 13:26:31 2015 +0100
+++ b/scripts/score_boxplot.py	Sat Jun 06 11:54:43 2015 +0100
@@ -64,8 +64,7 @@
         plt.ylabel('Rating')
         plt.ylim(0,1)
 
-        plt.show()
+        #plt.show() # show plot
         #exit()
 
-        #TODO Save output automatically
-
+        plt.savefig(rating_folder+page_name+"-ind.png")