Re: [Matplotlib-users] show() problem in Mac OS X 10.5.8

2009-08-22 Thread Michiel de Hoon
() then the function still seems to work fine, and multiple show()s also works. --Michiel. --- On Thu, 8/20/09, Kim, Dae-Won dwki...@gmail.com wrote: From: Kim, Dae-Won dwki...@gmail.com Subject: Re: [Matplotlib-users] show() problem in Mac OS X 10.5.8 To: Michiel de Hoon mjldeh...@yahoo.com Cc: Ryan May

Re: [Matplotlib-users] show() problem in Mac OS X 10.5.8

2009-08-22 Thread Alan G Isaac
On 8/22/2009 2:42 AM Michiel de Hoon apparently wrote: Does anybody know why the show._needmain stuff is needed in the show() function in backend_tkagg.py?... If I remove the show._needmain stuff ... then the function still seems to work fine, and multiple show()s also works. Define works.

Re: [Matplotlib-users] show() problem in Mac OS X 10.5.8

2009-08-20 Thread Michiel de Hoon
solution to get that working for the backend you are using. --Michiel. --- On Wed, 8/19/09, Kim, Dae-Won dwki...@gmail.com wrote: From: Kim, Dae-Won dwki...@gmail.com Subject: Re: [Matplotlib-users] show() problem in Mac OS X 10.5.8 To: Ryan May rma...@gmail.com Cc: matplotlib-users

Re: [Matplotlib-users] show() problem in Mac OS X 10.5.8

2009-08-20 Thread Kim, Dae-Won
. --Michiel. --- On Wed, 8/19/09, Kim, Dae-Won dwki...@gmail.com wrote: From: Kim, Dae-Won dwki...@gmail.com Subject: Re: [Matplotlib-users] show() problem in Mac OS X 10.5.8 To: Ryan May rma...@gmail.com Cc: matplotlib-users@lists.sourceforge.net Date: Wednesday, August 19, 2009, 2:48 PM

Re: [Matplotlib-users] show() problem in Mac OS X 10.5.8

2009-08-19 Thread Ryan May
On Wed, Aug 19, 2009 at 11:55 AM, coati dwki...@gmail.com wrote: I have a problem with show() command in my macbook machine (Leopard 10.5.8). For example, if I run the script shown below (let assume it is saved as 'test.py', and I run a command 'python test.py'),

[Matplotlib-users] show() problem in Mac OS X 10.5.8

2009-08-19 Thread coati
I have a problem with show() command in my macbook machine (Leopard 10.5.8). For example, if I run the script shown below (let assume it is saved as 'test.py', and I run a command 'python test.py'), --- plot([1,2,3,4,5]) show() #first window

Re: [Matplotlib-users] show() problem in Mac OS X 10.5.8

2009-08-19 Thread Kim, Dae-Won
On Wed, Aug 19, 2009 at 1:02 PM, Ryan May rma...@gmail.com wrote: On Wed, Aug 19, 2009 at 11:55 AM, coati dwki...@gmail.com wrote: I have a problem with show() command in my macbook machine (Leopard 10.5.8). For example, if I run the script shown below (let assume it is saved as

Re: [Matplotlib-users] show() problem in Mac OS X 10.5.8

2009-08-19 Thread Kim, Dae-Won
The one 'preliminary' solution I found is using an interactive mode + raw_input. Here is and example, ion() plot([1,2,3,4,5]) raw_input('Type Enter') clf() plot([1,2,3,4,5]) raw_input('Type_Enter') clf() plot([1,2,3,4,5])