545
545
step = float( self.plot_width ) / ( len( self.labels[HORZ] ) - 1 )
547
556
for item in self.labels[HORZ]:
549
557
width = cr.text_extents(item)[2]
556
564
def render_vert_labels(self):
558
566
step = ( self.plot_height ) / ( len( self.labels[VERT] ) - 1 )
560
569
for item in self.labels[VERT]:
562
570
width = cr.text_extents(item)[2]
563
571
cr.move_to(self.borders[HORZ] - width - 5,y)