~emily-bache/texttest/texttest

« back to all changes in this revision

Viewing changes to texttestlib/default/batch/resultgraphs.py

  • Committer: Emily Bache
  • Date: 2016-05-11 12:34:05 UTC
  • mfrom: (5102.1.376 texttest)
  • Revision ID: emily.bache@cantab.net-20160511123405-5b81xou9vfklzru0
mergingĀ inĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
        if lower < 0:
86
86
            self.sub1.set_ylim(ymin=0) # don't get less than 0, which matplotlib 0.99 does sometimes
87
87
        self.sub1.autoscale_view(tight=True, scaley=False)
88
 
        leg = self.sub1.legend(self.legendItems, tuple(self.plotLabels), 'best', shadow=False)
 
88
        leg = self.sub1.legend(self.legendItems, tuple(self.plotLabels), loc='best', shadow=False)
89
89
        leg.get_frame().set_alpha(0.5) # transparent legend box         
90
90
        
91
91
class PieGraph: