diff scripts/score_plot.py @ 2078:5e2d7ce7fb4d

Scripts: comment_parser and score_parser start new CSV files each time; various plots added to generated PDF report
author Brecht De Man <b.deman@qmul.ac.uk>
date Thu, 20 Aug 2015 11:29:29 +0200
parents 0a846d951bc1
children 056a8454500e
line wrap: on
line diff
--- a/scripts/score_plot.py	Tue Aug 18 23:56:05 2015 +0200
+++ b/scripts/score_plot.py	Thu Aug 20 11:29:29 2015 +0200
@@ -214,7 +214,7 @@
         plt.title(page_name)
         plt.xlabel('Fragment')
         plt.xlim(0, len(headerrow)+1) # only show relevant region, leave space left & right)
-        plt.xticks(range(1, len(headerrow)+1), headerrow) # show fragment names
+        plt.xticks(range(1, len(headerrow)+1), headerrow, rotation=90) # show fragment names
         plt.ylabel('Rating')
         plt.ylim(0,1)