from pylab import * # make a square figure and axes figure(1, figsize=(3,3)) ax = axes([0.0, 0.0, 1.0, 0.9])
labels = 'Central\nCampus','Medical\nCampus','North\nCampus' fracs = [880,220,1000] explode=(0.05, 0.05, 0.05) ppl=pie(fracs, explode=explode, labels=labels, shadow=True,autopct='%1.0f%%') title('GSRAs by Campus')
<<attachment: pie_chart.png>>
------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users