~alf-rodrigo/cairoplot/trunk

« back to all changes in this revision

Viewing changes to trunk/cairoplot.py

  • Committer: Rodrigo Moreira Araujo
  • Date: 2009-04-02 23:19:25 UTC
  • Revision ID: rodrigo@scrooge-20090402231925-ru2p2o8b4p4359ct
cairoplot.py: Removing debug code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1606
1606
        x0,y0 = self.center
1607
1607
        cr = self.context
1608
1608
        cr.set_source_rgba(*self.series_colors[0])
1609
 
        cr.arc(x0,y0,self.radius + 10,0, 2*math.pi)
1610
 
        cr.stroke()
1611
1609
        for number,key in enumerate(self.series_labels):
1612
1610
            next_angle = angle + 2.0*math.pi*self.data[number]/self.total
1613
1611
            cr.set_source_rgba(*self.series_colors[number])