Re: [Matplotlib-users] problem of cm.get_cmap('gist_rainbow',256)

2010-10-18 Thread BrainGateway
On Mon, Oct 18, 2010 at 12:54 AM, Benjamin Root wrote: > On Sun, Oct 17, 2010 at 5:35 PM, braingateway > wrote: >> >> Hi Everyone, >> >> I am trying the matplotlib. I have to say this is a powerful package for >> scientific 2-D plotting. However, I enco

[Matplotlib-users] problem of cm.get_cmap('gist_rainbow',256)

2010-10-17 Thread braingateway
Hi Everyone, I am trying the matplotlib. I have to say this is a powerful package for scientific 2-D plotting. However, I encountered some problems when try to generate several colormaps. for example: a=cm.get_cmap('gist_rainbow',256)(range(256)) will give a error: Traceback (most recent call las