[matplotlib-devel] Setting dpi in savefig has unexpected results for PDFs

2010-07-16 Thread Tony S Yu
I recently noticed that setting the dpi for savefig doesn't work as expected when saving to pdf. Take the following code, for example: >>> import matplotlib.pyplot as plt >>> >>> plt.figure(figsize=(8,6)) >>> plt.plot([1,2]) >>> plt.savefig('test.png', dpi=100) >>> plt.savefig('test.pdf', dpi=1

Re: [matplotlib-devel] Setting dpi in savefig has unexpected results for PDFs

2010-07-16 Thread Eric Firing
On 07/16/2010 09:45 AM, Tony S Yu wrote: > I recently noticed that setting the dpi for savefig doesn't work as > expected when saving to pdf. Take the following code, for example: > > >>> import matplotlib.pyplot as plt > >>> > >>> plt.figure(figsize=(8,6)) > >>> plt.plot([1,2]) > >>> plt.save

[matplotlib-devel] refactoring of show

2010-07-16 Thread Eric Firing
All, John noticed that my changes to show() prior to 1.0 had broken a use case with tkagg and ipython -pylab, so I fixed that yesterday in maintenance branch and trunk. Today, in 8562 and 8563, I did some refactoring to try to make show() behavior more understandable across backends, and easi

Re: [matplotlib-devel] refactoring of show

2010-07-16 Thread Christoph Gohlke
Wing IDE recently added support for matplotlib, specifically non blocking show(). It might be worth also to test the 4.0 beta release. http://www.wingware.com/wingide/beta Christoph On 7/16/2010 2:26 PM, Eric Firing wrote: > All, > > John noticed that my changes to show() prior to 1.0 had brok