I think this has nothing to do with dpi, but a file flushing issue. Try something like below with sage (note that the code does not work with svn version of matplotlib, i'll commit the fix soon).
import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt fig=plt.figure() plt.plot([1,2,3]) f = open("test.png", "wb") plt.savefig(f, format="png", dpi=50) f.flush() I'll report some more details later. Regards, -JJ ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users