John Hunter wrote:
> It's currently implemented in pylab but could be moved up to the OO
> layer by doing something like
> 
> class Axes:
>    def plot(self, *args, **kwargs):
>        ...plot something
>        if rcParams['interactive']:
>             self.figure.canvas.draw()
> 
> or by providing some autowrapper facility to automate this.

That could work -- and/or subclass the key classes, and wrap their plot, 
etc. methods. hmmm..

> Or OO users can just call fig.canvas.draw() themselves when they want
> to draw....

Well, yes, but the point I'm making is that it should be just as easy to 
use interactively -- that's a bit too much code to want to type at the 
command line.

-Chris


-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[EMAIL PROTECTED]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to