Re: [matplotlib-devel] Simple animation test

2011-03-02 Thread Fernando Perez
On Wed, Mar 2, 2011 at 3:00 PM, Ryan May wrote: > I trust you're going to check in that completely awesome example. BTW, that completely awesome example was just demoed in front of a standing-room only audience at the SIAM CSE 11 meeting :) The matplotlib talk (delivered by yours truly b/c John

Re: [matplotlib-devel] Simple animation test

2011-03-02 Thread Ryan May
On Wed, Mar 2, 2011 at 4:50 PM, John Hunter wrote: > On Wed, Mar 2, 2011 at 4:43 PM, Brian Granger > The main issue I have is that I am working with undergraduate students >> who have no experience installing things from scratch.  In this >> context I am stuck with whatever is in EPD.  Currently E

Re: [matplotlib-devel] Simple animation test

2011-03-02 Thread John Hunter
On Wed, Mar 2, 2011 at 4:43 PM, Brian Granger The main issue I have is that I am working with undergraduate students > who have no experience installing things from scratch.  In this > context I am stuck with whatever is in EPD.  Currently EPD is at > 1.0.1, which does not have animation.  Will th

Re: [matplotlib-devel] Simple animation test

2011-03-02 Thread Brian Granger
>> Is the old method (just using draw/set_xdata, etc.) not supported?  I >> am working with a student and I want to keep is dead simple. > > The old method is subject to the problems you're encountering now > because you're working outside the GUI's event loop. The new method > was created to be "d

Re: [matplotlib-devel] Simple animation test

2011-03-02 Thread Ryan May
On Wed, Mar 2, 2011 at 12:43 PM, Brian Granger wrote: > Is the old method (just using draw/set_xdata, etc.) not supported?  I > am working with a student and I want to keep is dead simple. The old method is subject to the problems you're encountering now because you're working outside the GUI's e

Re: [matplotlib-devel] Simple animation test

2011-03-02 Thread Benjamin Root
On Wed, Mar 2, 2011 at 12:43 PM, Brian Granger wrote: > Is the old method (just using draw/set_xdata, etc.) not supported? I > am working with a student and I want to keep is dead simple. > > Brian > > Those functions are still supported. I can run the example on that page without issues using

Re: [matplotlib-devel] Problems with new PyQt4 API

2011-03-02 Thread Darren Dale
On Wed, Mar 2, 2011 at 4:26 PM, Darren Dale wrote: > On Wed, Mar 2, 2011 at 10:26 AM, Martin Teichmann > wrote: >> Hi list, >> >> I'm using matplotlib as a library, in a program using the >> new APIs of PyQt4, which will be the normal APIs for >> Python 3. Unfortunately, the matplotlib Qt4 backen

Re: [matplotlib-devel] Problems with new PyQt4 API

2011-03-02 Thread Darren Dale
On Wed, Mar 2, 2011 at 10:26 AM, Martin Teichmann wrote: > Hi list, > > I'm using matplotlib as a library, in a program using the > new APIs of PyQt4, which will be the normal APIs for > Python 3. Unfortunately, the matplotlib Qt4 backend is > not compatible with this new API. This really doesn't

Re: [matplotlib-devel] Problems with new PyQt4 API

2011-03-02 Thread Benjamin Root
On Wed, Mar 2, 2011 at 9:26 AM, Martin Teichmann wrote: > Hi list, > > I'm using matplotlib as a library, in a program using the > new APIs of PyQt4, which will be the normal APIs for > Python 3. Unfortunately, the matplotlib Qt4 backend is > not compatible with this new API. > > The problems are

Re: [matplotlib-devel] Simple animation test

2011-03-02 Thread Benjamin Root
On Wed, Mar 2, 2011 at 7:44 AM, John Hunter wrote: > On Wed, Mar 2, 2011 at 12:27 AM, Brian Granger > wrote: > > Hi, > > > > I am trying to do a simple animation examples similar to the one here: > > > > > http://www.scipy.org/Cookbook/Matplotlib/Animations#head-e50abcca4333d3d76b3f2bb66ef00f15c

[matplotlib-devel] pick_event problems

2011-03-02 Thread James Kitchen
Hello all, I've been working on some interactive graphs and have run into several problems with the pick_event feature: (1) If a Figure Legend is made draggable() and then dropped onto an AxesSubplot, it can no longer be dragged (2) Any lines associated with the left axis of a twinx() subplot a

Re: [matplotlib-devel] Simple animation test

2011-03-02 Thread Brian Granger
Is the old method (just using draw/set_xdata, etc.) not supported? I am working with a student and I want to keep is dead simple. Brian On Wed, Mar 2, 2011 at 10:22 AM, Benjamin Root wrote: > > > On Wed, Mar 2, 2011 at 7:44 AM, John Hunter wrote: >> >> On Wed, Mar 2, 2011 at 12:27 AM, Brian Gr

[matplotlib-devel] Problems with new PyQt4 API

2011-03-02 Thread Martin Teichmann
Hi list, I'm using matplotlib as a library, in a program using the new APIs of PyQt4, which will be the normal APIs for Python 3. Unfortunately, the matplotlib Qt4 backend is not compatible with this new API. The problems are easy to fix: first QFileDialog.getSaveFileName has changed, and is to b

Re: [matplotlib-devel] Simple animation test

2011-03-02 Thread Benjamin Root
On Wed, Mar 2, 2011 at 12:27 AM, Brian Granger wrote: > Hi, > > I am trying to do a simple animation examples similar to the one here: > > > http://www.scipy.org/Cookbook/Matplotlib/Animations#head-e50abcca4333d3d76b3f2bb66ef00f15c6b4dbbc > > But it does not work. I have tried with different bac

Re: [matplotlib-devel] Simple animation test

2011-03-02 Thread John Hunter
On Wed, Mar 2, 2011 at 12:27 AM, Brian Granger wrote: > Hi, > > I am trying to do a simple animation examples similar to the one here: > > http://www.scipy.org/Cookbook/Matplotlib/Animations#head-e50abcca4333d3d76b3f2bb66ef00f15c6b4dbbc > > But it does not work.  I have tried with different backen

[matplotlib-devel] Simple animation test

2011-03-02 Thread Brian Granger
Hi, I am trying to do a simple animation examples similar to the one here: http://www.scipy.org/Cookbook/Matplotlib/Animations#head-e50abcca4333d3d76b3f2bb66ef00f15c6b4dbbc But it does not work. I have tried with different backends, plain python, within ipython. I am using ipython 0.10 and mat

[matplotlib-devel] Updates to transforms.py

2011-03-02 Thread Benjamin Root
Hello all, As part of my process for updating mplot3d, I realized that transforms.py needed to be revamped first. In many places in transforms.py, there were unnecessary 2-D assumptions that needed to be removed or generalized. I have started this effort here: https://github.com/WeatherGod/matp