>>>>> "Gregory" == Gregory Piñero <[EMAIL PROTECTED]> writes:
Gregory> So my only remaining point of confusion is why wasn't the Gregory> pylab interface used in the demo here: Gregory> http://matplotlib.sourceforge.net/examples/webapp_demo.py Gregory> Is it just a style choice? pylab manages figures for you -- you want to be sure in an application that creates many figures and saves them to images (like a web app) that every figure that is created is closed fig = figure(1) ...later close(1) In a production app like a web application server generating graphics, often times you don't want any magic going on behind the hood, and pylab's stateful management of figures, the current figure, and the current axes grates on some people who like to have full control over object creation and destruction. So the webapp demo shows how to use the API to manage and use figures. It is mainly a style choice. JDH
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users