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 "work
if rcParams['tk.pythoninspect']:
os.environ['PYTHONINSPECT'] = '1'
Tk.mainloop()
then the function still seems to work fine, and multiple show()s also works.
--Michiel.
--- On Thu, 8/20/09, Kim, Dae-Won wrote:
> From: Kim, Dae-Won
>
using.
>
> --Michiel.
>
> --- On Wed, 8/19/09, Kim, Dae-Won wrote:
>
> > From: Kim, Dae-Won
> > Subject: Re: [Matplotlib-users] show() problem in Mac OS X 10.5.8
> > To: "Ryan May"
> > Cc: matplotlib-users@lists.sourceforge.net
> > Date: Wednesday,
solution to get
that working for the backend you are using.
--Michiel.
--- On Wed, 8/19/09, Kim, Dae-Won wrote:
> From: Kim, Dae-Won
> Subject: Re: [Matplotlib-users] show() problem in Mac OS X 10.5.8
> To: "Ryan May"
> Cc: matplotlib-users@lists.sourceforge.net
> D
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])
sho
On Wed, Aug 19, 2009 at 1:02 PM, Ryan May wrote:
> On Wed, Aug 19, 2009 at 11:55 AM, coati 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
On Wed, Aug 19, 2009 at 11:55 AM, coati 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'),
>
> --
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
plot([1,2,3,4,5]