A Ground Hog movie moment? Deja vu all over again (Quoting Yega Berra.).

I went right through John Hunter's comment of a day or two ago about the 
need to solve this with ipython. That has to be taken into 
consideration; otherwise, this is a no-go..

I suppose an interesting aside though on what I discovered through the 
debugger. When the program hit show(), it went back to the first line in 
the calling def instead of after where it was called. I suppose in some 
dim way one could use a global variable to detect that occurrence, and 
remedy matters. I'll defer to ipython.

On 2/10/2010 7:08 PM, Wayne Watson wrote:
> Foiled again. I clicked on the previous version, which has no MPL code
> in the same def.
> The show() is where things go wrong though. The question now is where
> did the program go after the show()? Maybe it's time to put the
> interactive debugger into play, which I've barely used. I have used others.
>
> On 2/10/2010 6:44 PM, Wayne Watson wrote:
>    
>> I chronicled some of my MPL problems here. It appeared that show()
>> could be the problem. The problem is apparently the difference between
>> running the program in IDLE and executing it from the folder (Maybe
>> there's a name for that?). There are only about 8 lines of MPL code to
>> the show() in a def. I inserted and moved a return down each line,
>> executing the program afterwords. It behaved as expected, no plot.
>> Once I removed the plot, I got the unexpected behavior. A video clip
>> not played. So off to a direct py file execution. It worked fully.
>>
>> What this amounts to is that we need to find a better way for users to
>> execute the program than through IDLE. Tomorrow  I'll pass this by the
>> original developer.
>>      
>    

-- 
"Crime is way down. War is declining. And that's far from the good 
news." -- Steven Pinker (and other sources) Why is this true, but yet 
the media says otherwise? The media knows very well how to manipulate us 
(see limbic, emotion, $$). -- WTW

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to