Re: [matplotlib-devel] [Matplotlib-users] contourf with rgba colours

2012-01-05 Thread Michael Droettboom
I think I've discovered the root of this problem. A change was made during the 1.1.x cycle to tell Agg that we're giving it premultiplied alpha in the image data (see commit 1dac36d829). This made displaying images loaded from files that had an alpha channel work correctly and made it consist

Re: [matplotlib-devel] [Matplotlib-users] contourf with rgba colours

2012-01-04 Thread Tony Yu
On Tue, Jan 3, 2012 at 1:10 AM, Eric Firing wrote: > On 01/02/2012 05:51 PM, Tony Yu wrote: > >> >> >> On Mon, Jan 2, 2012 at 3:33 PM, Eric Firing > > wrote: >> >>On 12/30/2011 01:57 PM, Paul Ivanov wrote: >> >>Eric Firing, on 2011-12-27 15:31, wrote: >> >

Re: [matplotlib-devel] [Matplotlib-users] contourf with rgba colours

2012-01-02 Thread Eric Firing
On 01/02/2012 05:51 PM, Tony Yu wrote: > > > On Mon, Jan 2, 2012 at 3:33 PM, Eric Firing > wrote: > > On 12/30/2011 01:57 PM, Paul Ivanov wrote: > > Eric Firing, on 2011-12-27 15:31, wrote: > > It looks like this is something I can fix by modifyi

Re: [matplotlib-devel] [Matplotlib-users] contourf with rgba colours

2012-01-02 Thread Tony Yu
On Mon, Jan 2, 2012 at 3:33 PM, Eric Firing wrote: > On 12/30/2011 01:57 PM, Paul Ivanov wrote: > >> Eric Firing, on 2011-12-27 15:31, wrote: >> >>> It looks like this is something I can fix by modifying ListedColormap. >>> It is discarding the alpha values, and I don't think there is any reason

Re: [matplotlib-devel] [Matplotlib-users] contourf with rgba colours

2012-01-02 Thread Eric Firing
On 12/30/2011 01:57 PM, Paul Ivanov wrote: Eric Firing, on 2011-12-27 15:31, wrote: It looks like this is something I can fix by modifying ListedColormap. It is discarding the alpha values, and I don't think there is any reason it needs to do so. One of my first attempts at a contribution to