Le 06/05/2010 11:35, Gael Varoquaux a écrit :
> On Thu, May 06, 2010 at 11:32:31AM +0200, Fred wrote:
>> I would like to play with Mayavi colormaps.
>> So I would like to know how the file pylab_luts.pkl, which contains the
>> colomaps definition IIUC, is built.
> In the scripts directory, the cm2lut.py file.
Oops, sorry, I did a grin pylab_luts in Mayavi dir but did not see it :-/
Le 07/05/2010 10:57, Gael Varoquaux a écrit :
> On Fri, May 07, 2010 at 10:54:56AM +0200, Fred wrote:
>> Le 06/05/2010 11:46, Fred a écrit :
>>>> In the scripts directory, the cm2lut.py file.
>>> Oops, sorry, I did a grin pylab_luts in Mayavi dir but did not see it :-/
>> BTW, what does 'pkl' mean?
Ok, Thanks :-)
> There are two colormaps called spectral: Spectral and spectral.
> As colormap names are lowered to create gif, the issue is here :-)
OK, the problem is that we can't store two files with names differing
only by capitalisation, as if we do that there will be collisions on
systems that hash files without taking in account capitals (such as
One option is to change the name of 'Spectral'. I don't really like this
option, because I liked having the same names than matplotlib. Maybe we
are going to have to break this rule for spectral. I'll think about it a