Thanks Eric,
I may be doing things a little bit weird since I've been with matplotlib for
many years. I did two things that fixed my problem: I wiped python25 out
completely and install enthought (with an older pylab). During the wipe I
noticed an extra pythonw running in the task manager that I had to kill. It
may be that this thing was a corrupted version of wx running in the
background, messing everything up. I may try reinstalling at a later date to
see.
I'm not familiar with pyshell, but evidently it is turning interactive mode
> on, correct?
>
I am turning interactive mode on.
import pylab
>> pylab.plot([1,2,1]) # figure pops up
>> pylab.gca().clear(); pylab.show() # nothing happens
>>
> Why are you doing this? In interactive mode, you should not be calling
> show() at all. And, you are mixing pylab and OO interfaces in a strange
> way; if you want to work interactively via the pylab interface, you should
> use pylab.cla() and pylab.clf(). If you want to work interactively but
> *mostly* with the OO interface, then you can call axes methods like clear(),
> but you need to put in pylab.draw() when you want the figure redrawn.
hmm. I know at one point I was doing a window Refresh() which was slow. Then
I discovered pylab.show() which drastically sped up my plotting (I made a
program that modifies colorbars in real time and this really helped). Maybe
the next and final step is "pylab.draw()"? :) Sorry if my code is hacky. I
figure most of my stuff out using pyshell's autocomplete to play.
Incidentally, since these commands work fine.
Thanks again! (now back to work for me)
-Jack
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users