[Matplotlib-users] Savefig bug with Patches

2009-08-24 Thread Peter-Jan Randewijk
Dear All, I came across this peculiar bug when using patches together with savefig. I first want to display the contour plot of the vector potentials in a electrical machine, and the the contour plot of the flux density. If I first define the patches (for the yoke and the magnets) and then the

Re: [Matplotlib-users] savefig bug

2009-04-23 Thread Thomas Robitaille
It works great now - thanks for fixing this! Thomas On Apr 23, 2009, at 10:29 AM, Michael Droettboom wrote: I think Jae-Joon's assesment is correct, since the logical dpi in PS is hardcoded to 72.0. I have made this change in the SVN repository. Mike Thomas Robitaille wrote: Thanks

[Matplotlib-users] savefig bug

2009-04-21 Thread Thomas Robitaille
Hi, I've come across a bug with the savefig method when using the dpi= argument and saving an EPS file. If you try the following code, you will see that the frame is incomplete. Is there a way to solve this from a user point of view? --- import matplotlib matplotlib.use('Agg') from

Re: [Matplotlib-users] savefig bug

2009-04-21 Thread Thomas Robitaille
Thanks for your quick reply! I'll be patient and wait for the fix to be made in the SVN repository, rather than trying to patch it myself. Do I need to add any information to the bug report? Best, Thomas On Apr 21, 2009, at 1:06 PM, Jae-Joon Lee wrote: I can reproduce this bug with the