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

2010-10-18 Thread LittleBigBrain
On Mon, Oct 18, 2010 at 8:25 PM, LittleBigBrain wrote: > On Mon, Oct 18, 2010 at 6:23 PM, Friedrich Romstedt > wrote: >> 2010/10/18 LittleBigBrain : >>> Hi Friedrich, >>> >>> Thanks for produce the patch. But I do not know how to use 'git'. And >>> I cannot find the changes you made on web. >>> t

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

2010-10-18 Thread LittleBigBrain
On Mon, Oct 18, 2010 at 6:23 PM, Friedrich Romstedt wrote: > 2010/10/18 LittleBigBrain : >> Hi Friedrich, >> >> Thanks for produce the patch. But I do not know how to use 'git'. And >> I cannot find the changes you made on web. >> though the latest update by you is 2 hours ago, in the online sourc

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

2010-10-18 Thread Friedrich Romstedt
2010/10/18 LittleBigBrain : > Hi Friedrich, > > Thanks for produce the patch. But I do not know how to use 'git'. And > I cannot find the changes you made on web. > though the latest update by you is 2 hours ago, in the online source > archive the latest file is modified on October 11, 2010 in 'tru

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

2010-10-18 Thread LittleBigBrain
2010/10/18 Friedrich Romstedt : > 2010/10/18 脑关(BrainGateway)生命科学仪器 : >> On Mon, Oct 18, 2010 at 12:54 AM, Benjamin Root wrote: >>> On Sun, Oct 17, 2010 at 5:35 PM, braingateway >>> wrote: I tried all possible colormaps and found out: gist_rainbow, terrain, bwr, brg, and seismic will ge

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

2010-10-18 Thread Friedrich Romstedt
2010/10/18 脑关(BrainGateway)生命科学仪器 : > On Mon, Oct 18, 2010 at 12:54 AM, Benjamin Root wrote: >> On Sun, Oct 17, 2010 at 5:35 PM, braingateway >> wrote: >>> I tried all possible colormaps and found out: gist_rainbow, terrain, >>> bwr, brg, and seismic will generate the same error, all other colorm

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 encountered some problems when try >> to generat

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

2010-10-17 Thread Benjamin Root
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 encountered some problems when try > to generate several colormaps. > > for example: > a=cm.get_cmap('gist_rainbow'

[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