|
From: Charles R. T. <ct...@gm...> - 2006-03-01 18:51:36
|
Hi all,
The following code generates .png files fine ("python test.py") but
the postscript backend ("python test.py -dPS") clips the upper right,
as attached (converted to .png). Thoughts?
-Charles
import pylab
pylab.figure(1, figsize=3D(8,8))
#ax =3D pylab.axes([0.1, 0.1, 0.8, 0.8])
pop_fig =3D pylab.pie([150,110,25,29,11,3,2,2],
labels =3D ['NSW','VIC','WA','SA','QLD','ACT','NT','TAS=
'],
autopct =3D "%1.0f%%",
shadow=3DTrue)
pylab.title("Num Cases by State or Territory")
pylab.savefig('test')
--
Charles R. Twardy
|