On Jan 21, 2007, at 8:21 AM, Allan Noriel Estrella wrote:
>
> i found this code snippet in one example in matplotlib
>
<snip>
>
> i just want to ask what does app = App(0) mean, why do we need 0  
> for an argument

It explicitly disables the redirection of sys.stdout and sys.stderr.

        http://www.wxpython.org/docs/api/wx.App-class.html#__init__

Ken

-------------------------------------------------------------------------
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