Hey John and the rest of the MPL gang:
I've made the changes you suggested, but the problem is looking to be
deeper than it seemed. I'm also moving this conversation to
matplotlib-devel, since that's probably the more appropriate place for
it.
This updated patch allows for the creation of colorma
On Sun, Nov 23, 2008 at 2:01 AM, Paul Ivanov <[EMAIL PROTECTED]> wrote:
> I took a stab at it, how does this look?
>
> I also took the liberty of adding alpha to LinearSegmentedColormap and
> updated its docstring changing two somewhat ambiguous uses of the word
> 'entry' with 'key' and 'value'.
H
I took a stab at it, how does this look?
I also took the liberty of adding alpha to LinearSegmentedColormap and
updated its docstring changing two somewhat ambiguous uses of the word
'entry' with 'key' and 'value'.
tested with
In [1]: import matplotlib; import numpy as np
In [2]: my_rgba_array=
On Fri, Nov 21, 2008 at 2:45 AM, Simon Kammerer <[EMAIL PROTECTED]> wrote:
> After looking at the source of matplotlib.colors, it seems to me that
> different alpha values are something Colormap is not designed for.
Yes, it looks like the colormap only holds the RGB channels, but it
also looks fa
Hi all,
I'd like to create a ListedColormap with different alpha values, like
...
[ 1. , 1. , 1. , 0.65],
[ 1. , 1. , 1. , 0.66],
[ 1. , 1. , 1. , 0.67],
[ 1. , 1. , 1. , 0.68],
[ 1. , 1. , 1. , 0.69],
[ 1. , 1. , 1