Steeling some of you colormaps

I have written a small script that uses pylab to retrieve the data for
the MPL colormaps. I am thinking of checking in both the script, and the
resulting data in Mayavi2 (FBSD licenced). Can I do such a thing
(stealing colormaps ?).

Cheers

You are welcome to do this, but you might be better served stealing
our colormapping infrastructure and data directly (_cm.py, cm.py and
colors.py) rather than trying to extract it via pylab.

Some of our colormap data is borrowed from other sources (colorbrewer,
yorick). They have BSD compatible licenses, but have some
restrictions that you distribute their licenses. matplotlib does so
in the licenses subdir of the svn repo. Search _cm.py for "license"
for more details.

JDH

···

On 7/17/07, Gael Varoquaux <gael.varoquaux@...427...> wrote:

I have written a small script that uses pylab to retrieve the data for
the MPL colormaps. I am thinking of checking in both the script, and the
resulting data in Mayavi2 (FBSD licenced). Can I do such a thing
(stealing colormaps ?).

> I have written a small script that uses pylab to retrieve the data for
> the MPL colormaps. I am thinking of checking in both the script, and the
> resulting data in Mayavi2 (FBSD licenced). Can I do such a thing
> (stealing colormaps ?).

You are welcome to do this, but you might be better served stealing
our colormapping infrastructure and data directly (_cm.py, cm.py and
colors.py) rather than trying to extract it via pylab.

Well, we have to convert them anyhow, so I thought I might as well do the
convertion while stealing them.

Some of our colormap data is borrowed from other sources (colorbrewer,
yorick). They have BSD compatible licenses, but have some
restrictions that you distribute their licenses. matplotlib does so
in the licenses subdir of the svn repo. Search _cm.py for "license"
for more details.

Great, I did that.

Cheers,

Ga�l

···

On Tue, Jul 17, 2007 at 08:17:50PM -0500, John Hunter wrote:

On 7/17/07, Gael Varoquaux <gael.varoquaux@...427...> wrote: