Logo Search packages:      
Sourcecode: matplotlib version File versions

pylab_examples::pie_demo Namespace Reference

Detailed Description

Make a pie chart - see
http://matplotlib.sf.net/matplotlib.pylab.html#-pie for the docstring.

This example shows a basic pie chart with labels optional features,
like autolabeling the percentage, offsetting a slice with "explode"
and adding a shadow.

Requires matplotlib0-0.70 or later


tuple ax = axes([0.1, 0.1, 0.8, 0.8])
tuple explode = (0, 0.05, 0, 0)
list fracs = [15,30,45, 10]
string labels = 'Frogs'

Generated by  Doxygen 1.6.0   Back to index