Changeset 136 for trunk/examples/test.py

Show
Ignore:
Timestamp:
11/03/08 16:09:40 (3 years ago)
Author:
lgs
Message:

Makes pyflakes happier

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/examples/test.py

    r85 r136  
    1818import cairo 
    1919 
    20 import pycha.pie 
    21 import pycha.bar 
    22 import pycha.line 
     20from pycha.pie import PieChart 
     21from pycha.bar import VerticalBarChart 
     22from pycha.line import LineChart 
    2323 
    2424def testPie(): 
    2525    surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, 400, 400) 
    2626 
    27     chart = pycha.pie.PieChart(surface) 
     27    chart = PieChart(surface) 
    2828    dataSet = ( 
    2929        ('myFirstDataset', [[0, 3]]), 
     
    4949        } 
    5050 
    51     chart = pycha.bar.VerticalBarChart(surface, options) 
     51    chart = VerticalBarChart(surface, options) 
    5252 
    5353    dataSet = ( 
     
    6666    surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, 600, 500) 
    6767 
    68     chart = pycha.line.LineChart(surface) 
     68    chart = LineChart(surface) 
    6969 
    7070    dataSet = (