[Matplotlib-users] Matplotlib labels

2008-11-14 Thread DAVID HORNER
Hi all, I'm having problems with axis labels for large integers (1471674 is represented as 1000 +1.479e6) I really need to see the number as a conventional integer. I have the feeling that it should be possible with ticker. FormatStrFormatter but I have not been able to work out how.

Re: [Matplotlib-users] pylab.close()

2008-11-14 Thread Michael Droettboom
Can you provide more information about the platform and backend that you are using? D2Hitman wrote: > I am getting a memory leak when i am using the pylab.close() function. I am > running matplotlib-0.98.3. It happens in a very simple script such as: > > #!/usr/bin/python > import time > import p

Re: [Matplotlib-users] Matplotlib labels

2008-11-14 Thread Michael Droettboom
DAVID HORNER wrote: > Hi all, > > I'm having problems with axis labels for large integers (1471674 is > represented as 1000 +1.479e6) I really need to see the number as > a conventional integer. I have the feeling that it should be possible > with ticker. FormatStrFormatter but I have n

Re: [Matplotlib-users] Matplotlib labels

2008-11-14 Thread Michael Droettboom
Michael Droettboom wrote: > or after the fact (which doesn't really work with interactive GUIs -- > that is, it won't resize the window) -- > > I'll correct myself on this point. According to the docs, the window will resize if forward=True for Gtk and Wx backends. Cheers, Mike -- Michael

Re: [Matplotlib-users] Matplotlib labels

2008-11-14 Thread DAVID HORNER
>> Hi all, >> >> I'm having problems with axis labels for large integers (1471674 >> is represented as 1000 +1.479e6) I really need to see the >> number as a conventional integer. I have the feeling that it >> should be possible with ticker. FormatStrFormatter but I have not >> bee

Re: [Matplotlib-users] pylab.close()

2008-11-14 Thread Eric Firing
Michael Droettboom wrote: > Can you provide more information about the platform and backend that you > are using? Mike, I was able to reproduce this with my ubuntu 8.10, gtkagg backend. I ran the code via cut and paste with the stock python interpreter, not ipython. I did not measure the m

Re: [Matplotlib-users] pylab.close()

2008-11-14 Thread Michael Droettboom
Ok. Thanks, I'll look into it. Just wanted to rule out that this wasn't the known Gtk memory leak with old versions of Gtk before devoting time to it. Cheers, Mike Eric Firing wrote: > Michael Droettboom wrote: >> Can you provide more information about the platform and backend that >> you ar

Re: [Matplotlib-users] pylab.close()

2008-11-14 Thread D2Hitman
openSUSE 11.0 (x86_64) KDE 3.5.9 "release 49.1" with GTKAgg backend Michael Droettboom-3 wrote: > > Can you provide more information about the platform and backend that you > are using? > > D2Hitman wrote: >> I am getting a memory leak when i am using the pylab.close() function. I >> am >> ru

[Matplotlib-users] 'pause' in order to cycle though a bunch of plots

2008-11-14 Thread Benjamin J. Racine
I use pause in matlab to cycle through an interactive do-loop and view a bunch of plots in interactively... Don't bother reproducing it here, but I am just wondering if this is possible in ipython/matplotlib Many thanks, Ben Racine --

Re: [Matplotlib-users] pylab.close()

2008-11-14 Thread Michael Droettboom
I'm not at the bottom of this yet, but thought I'd share my progress so far --> It is leaking actual Python references (meaning len(gc.get_objects()) is increasing). So it's not a malloc/free pair. Seems to be Gtk-specific. (Both GtkAgg and Gtk). Other backends are unaffected (Qt4 has some

Re: [Matplotlib-users] [IPython-user] 'pause' in order to cycle though a bunch of plots

2008-11-14 Thread Tom Denniston
I've had the same problem. You can write a pause function using the python input() function but it hangs the GIL and as a result your window becomes unresponsive. If anyone knows a GIL friendly way to pause i would also be very interested. On Fri, Nov 14, 2008 at 1:12 PM, Benjamin J. Racine <[E

Re: [Matplotlib-users] [IPython-user] 'pause' in order to cycle though a bunch of plots

2008-11-14 Thread Gael Varoquaux
On Fri, Nov 14, 2008 at 11:12:14AM -0800, Benjamin J. Racine wrote: >I use pause in matlab to cycle through an interactive do-loop and view a >bunch of plots in interactively... >Don't bother reproducing it here, but I am just wondering if this is >possible in ipython/matplotlib p

Re: [Matplotlib-users] [IPython-user] 'pause' in order to cycle though a bunch of plots

2008-11-14 Thread Jae-Joon Lee
On Fri, Nov 14, 2008 at 5:20 PM, Gael Varoquaux <[EMAIL PROTECTED]> wrote: > On Fri, Nov 14, 2008 at 11:12:14AM -0800, Benjamin J. Racine wrote: >>I use pause in matlab to cycle through an interactive do-loop and view a >>bunch of plots in interactively... > >>Don't bother reproducing i