~wolfer7/cairoplot/trunk

« back to all changes in this revision

Viewing changes to tests.py

  • Committer: wolfer
  • Date: 2010-12-28 14:05:05 UTC
  • Revision ID: wsteitz@gmail.com-20101228140505-tywk31nn6kdjmrwt
- added option to show values in pie charts and donut charts
- fixed tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
206
206
    cairoplot.pie_plot( "pie_1_default.svg", data, 600, 400 )
207
207
    cairoplot.pie_plot( "pie_2_gradient_shadow.svg", data, 600, 400, gradient = True, shadow = True )
208
208
    cairoplot.pie_plot( "pie_3_background.svg", data, 600, 400, background = background, gradient = True, shadow = True ) 
 
209
    cairoplot.pie_plot( "pie_4_values.svg", data, 600, 400, values=True)
 
210
 
209
211
 
210
212
if test_donut_plot :
211
213
    #Define a new backgrond