Thanks John, I've update the new version with your code.
It is now available at: http://www.loria.fr/~rougier/pylab.html You can now choose between python and ipython (option -s python or -s ipython) and all user events on a figure should be handled properly (mouse, scroll and key). Concerning the toolbar, is is quite easy to add but it is not very pleasant to the eyes. I'm looking for a more asethetic solution. Nicolas On Fri, 2008-06-27 at 09:58 -0500, John Hunter wrote: > On Fri, Jun 27, 2008 at 8:03 AM, Nicolas Rougier > <[EMAIL PROTECTED]> wrote: > > > I've developed a GTK/Python/Pylab console that is able to display > > most matplotlib figures directly within the console and handle > > matplotlib mouse events properly. > > What would be really great is if you could insert the toolbar under > the figure so panning and zooming would be enabled. > > Also, you mentioned getting lost in the flurry of ipython1 -- you may > want to check back with them in the near future because I think they > are making great strides and a gtk frontend would be excellent. > > Finally, I've made a minor additions to support "draw_if_interactive" > so you don't need to call show. Just type "plot" or "xlim" etc and > the plot automagically updates. I also needed to replace partial > since it does not ship with python2.4. > > Thanks, > JDH ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel