> - I don't follow what the snippet of code below is doing:
>
>if cbook.iterable(value):
>vtype = 'array'
>val = ma.asarray(value).astype(np.float)
>else:
>vtype = 'scalar'
>val = ma.array([value]).astype(np.float)
>
The idea is th
Phillip M. Feldman wrote:
> Hello Eric-
>
> I've looked at the code in colors.py. I think that I'm starting to
> understand what's going on, but I'm unclear about a few things. In
> particular:
>
> - Why do we need to define both forward and reverse transformations?
> Shouldn't the forward
Hello Eric-
I've looked at the code in colors.py. I think that I'm starting to
understand what's going on, but I'm unclear about a few things. In
particular:
- Why do we need to define both forward and reverse transformations?
Shouldn't the forward transformation be sufficient?
- I don't f
Dr. Phillip M. Feldman wrote:
> I'd like to generate a scatter plot in which symbols are colored using a
> specified colormap, with a specified mapping from the range of the data to
> the [0,1] colormap interval. I thought at first that one could use the norm
> argument to specify a function that w
I'd like to generate a scatter plot in which symbols are colored using a
specified colormap, with a specified mapping from the range of the data to
the [0,1] colormap interval. I thought at first that one could use the norm
argument to specify a function that would perform this mapping, but from
c