Re: [Matplotlib-users] Fwd: Re: Autonomous display of image/plot/figure

2008-07-15 Thread James K. Gruetzner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 14 July 2008 21:22:31 you wrote: I would think that the gtk mainloop would terminate when the window closes (which termination should propagate back up the stack), but apparently that doesn't happen. I'm not sure I'm following you

Re: [Matplotlib-users] Fwd: Re: Autonomous display of image/plot/figure

2008-07-15 Thread John Hunter
On Tue, Jul 15, 2008 at 8:39 AM, James K. Gruetzner [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 14 July 2008 21:22:31 you wrote: I would think that the gtk mainloop would terminate when the window closes (which termination should propagate back up the

Re: [Matplotlib-users] Fwd: Re: Autonomous display of image/plot/figure

2008-07-15 Thread James K. Gruetzner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 15 July 2008 07:48:45 John Hunter wrote: On Tue, Jul 15, 2008 at 8:39 AM, James K. Gruetzner [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 14 July 2008 21:22:31 you wrote: I would think that

Re: [Matplotlib-users] Fwd: Re: Autonomous display of image/plot/figure

2008-07-15 Thread John Hunter
On Tue, Jul 15, 2008 at 10:48 AM, James K. Gruetzner [EMAIL PROTECTED] wrote: OTOH, my GTKAgg version is 2.12,0, not 2.6.0. I'm fairly sure that is where the problem lies, or, more likely, in GTK itself, where I have installed: I just tested on gtk 2.12.0 and did not see the problem with mpl

Re: [Matplotlib-users] Fwd: Re: Autonomous display of image/plot/figure

2008-07-14 Thread Ryan May
I would think that the gtk mainloop would terminate when the window closes (which termination should propagate back up the stack), but apparently that doesn't happen. I'm not sure I'm following you at the moment. Are you calling show() once and closing the figure doesn't cause it to return?

Re: [Matplotlib-users] Fwd: Re: Autonomous display of image/plot/figure

2008-07-12 Thread Ryan May
James K. Gruetzner wrote: I don't really need any live interaction or a live data display; I just want the thang to stop running (i.e., the process to terminate) when the figure window is closed. Unfortunately, the dynamic_image_gtkagg.py example has the same problem. It's final

Re: [Matplotlib-users] Fwd: Re: Autonomous display of image/plot/figure

2008-07-12 Thread John Hunter
On Fri, Jul 11, 2008 at 11:55 AM, James K. Gruetzner [EMAIL PROTECTED] wrote: And that's as far as I can go in this: I'm not graphics whiz, and, in fact, having reached somewhat beyond my skill level, can't even figure out how to trace the mainloop call back further. To make sure I capture

Re: [Matplotlib-users] Fwd: Re: Autonomous display of image/plot/figure

2008-07-11 Thread James K. Gruetzner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 10 July 2008 18:50:12 you wrote: James K. Gruetzner wrote: I'm running Fedora 8, python 2.5.1, and matplotlib 0.91.2-1.fc8 from the yum repository. Backend is set to GTKAgg in my matplotlibrc file. (On this list top-posting is

Re: [Matplotlib-users] Fwd: Re: Autonomous display of image/plot/figure

2008-07-10 Thread Ryan May
James K. Gruetzner wrote: I'm running Fedora 8, python 2.5.1, and matplotlib 0.91.2-1.fc8 from the yum repository. Backend is set to GTKAgg in my matplotlibrc file. (On this list top-posting is frowned upon -- it makes the conversation difficult to follow.) I understand. Sorry. Each

[Matplotlib-users] Fwd: Re: Autonomous display of image/plot/figure

2008-07-09 Thread James K. Gruetzner
Thanks for the suggestion, Michael. Reading it led to a bit of a forehead slap. Unfortunately, that didn't work either. Curiously, it appears that the show() command does not return. - CODE SECTION - #!/usr/local/bin/python import os,sys import pylab def main(): x =

Re: [Matplotlib-users] Fwd: Re: Autonomous display of image/plot/figure

2008-07-09 Thread Ryan May
James K. Gruetzner wrote: Thanks for the suggestion, Michael. Reading it led to a bit of a forehead slap. Unfortunately, that didn't work either. Curiously, it appears that the show() command does not return. - CODE SECTION - #!/usr/local/bin/python import os,sys