Re: [matplotlib-devel] buglet: fig saving filenames (at least with Tk)

2009-04-15 Thread Michael Droettboom
Thanks for the report. As far as I can tell, this has been broken for a long time, at least since r3798 (September 2007). I just hacked at this and arrived at the same conclusion John did. I have an interesting finding about consistency. For the use case you describe, on my machine at least

Re: [matplotlib-devel] buglet: fig saving filenames (at least with Tk)

2009-04-15 Thread Fernando Perez
On Wed, Apr 15, 2009 at 10:53 AM, John Hunter wrote: > svn up and give this a test drive under a few different save/extension > scenarios Thanks! So far, looking good... Take care, f -- This SF.net email is sponsored

Re: [matplotlib-devel] buglet: fig saving filenames (at least with Tk)

2009-04-15 Thread John Hunter
On Wed, Apr 15, 2009 at 12:07 PM, Fernando Perez wrote: > > > The dialog, instead of adding '.png', is adding 'png.png' to the > filename. I'm pretty sure this used to work fine a while ago. > > I don't know if the problem exists with all the backends. Wx at least > seems to manually add the .pn

[matplotlib-devel] buglet: fig saving filenames (at least with Tk)

2009-04-15 Thread Fernando Perez
Howdy. This is using Tk, svn build from just now: In [4]: plot([1,2]) Out[4]: [] In [5]: savefig('foo') # Then, click on the 'save' icon in the figure window, and simply type 'foo2' in the dialog. Result: In [6]: d foo* -rw-r--r-- 1 fperez 35100 2009-04-15 10:02 foo2png.png -rw-r--r-- 1 fpere