Re: [matplotlib-devel] ANN: ThinWrap and ReMap

2010-09-15 Thread John Hunter
On Wed, Sep 15, 2010 at 11:31 AM, Benjamin Root wrote: > But, what would the "to_grayscale" method produce?  And what about other > possible transformations?  Should we add other functions as well to invert, > brighten, darken, etc? > > Maybe another approach would be to have the Colormap class h

Re: [matplotlib-devel] ANN: ThinWrap and ReMap

2010-09-15 Thread Benjamin Root
On Wed, Sep 15, 2010 at 10:44 AM, John Hunter wrote: > On Mon, Sep 13, 2010 at 4:27 PM, Benjamin Root wrote: > > > Just reping-ing this. I haven't heard anything negative and got a few > > positive comments off-list. I haven't committed this yet because I am > > concerned about the implication

Re: [matplotlib-devel] ANN: ThinWrap and ReMap

2010-09-15 Thread Benjamin Root
On Wed, Sep 15, 2010 at 10:33 AM, Friedrich Romstedt < friedrichromst...@gmail.com> wrote: > 2010/9/13 Benjamin Root : > > On Tue, Aug 31, 2010 at 9:08 PM, Benjamin Root wrote: > >> I have been working on a couple of interesting concoctions for > >> matplotlib. The first is a wrapper class calle

Re: [matplotlib-devel] ANN: ThinWrap and ReMap

2010-09-15 Thread John Hunter
On Mon, Sep 13, 2010 at 4:27 PM, Benjamin Root wrote: > Just reping-ing this.  I haven't heard anything negative and got a few > positive comments off-list.  I haven't committed this yet because I am > concerned about the implications of my changes to cm.py, colors.py and > contour.py.  However,

Re: [matplotlib-devel] ANN: ThinWrap and ReMap

2010-09-15 Thread Friedrich Romstedt
2010/9/13 Benjamin Root : > On Tue, Aug 31, 2010 at 9:08 PM, Benjamin Root wrote: >> I have been working on a couple of interesting concoctions for >> matplotlib.  The first is a wrapper class called "ThinWrap" that, >> essentially, provides a way to create objects that are linked to a given >> ob

Re: [matplotlib-devel] ANN: ThinWrap and ReMap

2010-09-13 Thread Benjamin Root
On Tue, Aug 31, 2010 at 9:08 PM, Benjamin Root wrote: > Hello, > > I have been working on a couple of interesting concoctions for matplotlib. > The first is a wrapper class called "ThinWrap" that, essentially, provides a > way to create objects that are linked to a given object. These objects ca

[matplotlib-devel] ANN: ThinWrap and ReMap

2010-08-31 Thread Benjamin Root
Hello, I have been working on a couple of interesting concoctions for matplotlib. The first is a wrapper class called "ThinWrap" that, essentially, provides a way to create objects that are linked to a given object. These objects can then be subclassed for some very interesting behaviors. Which