Re: [matplotlib-devel] Thoughts about callbacks

2010-10-28 Thread Eric Bruning
On Mon, Oct 25, 2010 at 9:40 AM, Michael Droettboom wrote: >  On 10/23/2010 06:05 PM, David Carmean wrote: >> As I blurted on -users, I'm thinking lately about callbacks in the >> non-GUI portions of the libraries--mostly Artist and subclasses. >> I'm curious if anybody else has been thinking abou

Re: [matplotlib-devel] Thoughts about callbacks

2010-10-25 Thread Michael Droettboom
On 10/23/2010 06:05 PM, David Carmean wrote: > As I blurted on -users, I'm thinking lately about callbacks in the > non-GUI portions of the libraries--mostly Artist and subclasses. > I'm curious if anybody else has been thinking about them? > > Ideally, I'd like to see the following: > > All

Re: [matplotlib-devel] Thoughts about callbacks

2010-10-24 Thread David Carmean
On Sun, Oct 24, 2010 at 10:35:03AM -0500, Ryan May wrote: > On Sat, Oct 23, 2010 at 5:05 PM, David Carmean wrote: [snip] > > I've spent a few hours this weekend doing some meta-monkey-patching-- > > using __getattribute__ to decorate the setters on-the-fly to invoke > > callbacks.process(*args)

Re: [matplotlib-devel] Thoughts about callbacks

2010-10-24 Thread Ryan May
On Sat, Oct 23, 2010 at 5:05 PM, David Carmean wrote: > > As I blurted on -users, I'm thinking lately about callbacks in the > non-GUI portions of the libraries--mostly Artist and subclasses. > I'm curious if anybody else has been thinking about them? > > Ideally, I'd like to see the following: >