Re: [matplotlib-devel] Replacing matplotlib.delaunay natural neighbor interpolation

2014-01-28 Thread Chris Barker
On Tue, Jan 28, 2014 at 12:59 AM, Ian Thomas wrote: > I expect we will add more triangular grid interpolators to matplotlib in > due course and I am happy to receive suggestions on this. However, this > will not include natural neighbour. Natural neighbour interpolation is > specific to delauna

Re: [matplotlib-devel] MEP22 doc

2014-01-28 Thread Federico Ariza
The idea to pass the reference of the tool, is just to have a collection of instantiable classes. This allows me to create the toolbar and keymap with their class attributes without instantiating the classes. And leave the __init__ method available for more important things, as window creation and

Re: [matplotlib-devel] MEP22 doc

2014-01-28 Thread Thomas Caswell
On Tue, Jan 28, 2014 at 7:27 PM, Federico Ariza wrote: > activate: I agree with you, renamed to trigger > > [I don't understand. The `__init__` gets called when the tool object > is created (and it gets registered with a particular > `NavigationBase`/`Figure`/`canvas`. The tool object then sits a

Re: [matplotlib-devel] MEP22 doc

2014-01-28 Thread Federico Ariza
@tacaswell regarding your last comments on the wiki Again, please let me know if something is not clear or you have suggestions Again, sorry for the long email, but please don't forget the previous one about the locks. activate: I agree with you, renamed to trigger [I don't understand. The

Re: [matplotlib-devel] MEP22 doc

2014-01-28 Thread Federico Ariza
Hello again I have been playing with the locks to find a solution. What we need is a way to let tools absorb the events (lock its use). The problem that I'm facing is that Navigation itself needs to capture two different events. key_press_event for tool triggering motion_notify_event for setting

Re: [matplotlib-devel] MEP22 doc

2014-01-28 Thread Federico Ariza
@tacaswell I modified the wiki reflecting the changes and trying to answer the questions. Please let me know if I answered your questions/concerns. We can iterate as muchs as needed on this, I have no problem modifying the names or functionnality. Sorry for the long email Here a list of things tha

Re: [matplotlib-devel] Replacing matplotlib.delaunay natural neighbor interpolation

2014-01-28 Thread Ian Thomas
Hi Nathan, To deal with your immediate problem of not wanting to see the deprecation warnings you can continue to use matplotlib.delaunay and suppress the warnings using e.g. http://docs.python.org/2/library/warnings.html#temporarily-suppressing-warnings. This will be OK for a year or two, but eve