Re: [Matplotlib-users] Work directory is changed when saving a plot

2009-02-27 Thread Christopher Barker
Michael Droettboom wrote: > Which backend are you using? I don't see any explicit calls to chdir in > matplotlib that would make this happen. It would certainly be > unintentional if it is. I don't know about any other back-ends, but the wx FileDialog has an option to change the working dir w

Re: [Matplotlib-users] Work directory is changed when saving a plot

2009-02-27 Thread Michael Droettboom
Which backend are you using? I don't see any explicit calls to chdir in matplotlib that would make this happen. It would certainly be unintentional if it is. Mike Søren Nielsen wrote: > Hi, > > When I save a plot using the toolbar save function, and I save to a > different directory than the

[Matplotlib-users] Work directory is changed when saving a plot

2009-02-27 Thread Søren Nielsen
Hi, When I save a plot using the toolbar save function, and I save to a different directory than the one where my program is, my program can no longer locate the icons (used in my GUI) that I am using in my .\ressources directory. So saving the plot changed the working directory of my program? Ho