Re: [Matplotlib-users] Cmap creation

2010-04-03 Thread Friedrich Romstedt
Oh, sorry, it was late at night, and so on, but in fact you said it's a standard example, so well ... I was wrong. Friedrich 2010/4/1 Friedrich Romstedt : > You forgot about the attachment? > > Friedrich > -- Download In

Re: [Matplotlib-users] Cmap creation

2010-04-02 Thread Eric Firing
Bruce Ford wrote: > Below is the example script (sorry!). I've tried all three methods of > establishing a colormap to no avail. The most promising looked like > option 2, but that gave me the "AttributeError: 'module' object has no > attribute 'register_cmap'" error. > > I'm getting this error

Re: [Matplotlib-users] Cmap creation

2010-04-02 Thread Bruce Ford
Below is the example script (sorry!). I've tried all three methods of establishing a colormap to no avail. The most promising looked like option 2, but that gave me the "AttributeError: 'module' object has no attribute 'register_cmap'" error. I'm getting this error with: Python 2.4 (user require

Re: [Matplotlib-users] Cmap creation

2010-04-01 Thread Chloe Lewis
The example works for me; Python 2.6.4 (recent Enthought install). Can you use your new colormap without registering it? &C On Apr 1, 2010, at 1 Apr, 2:14 PM, Bruce Ford wrote: > I'm running into walls trying to create a custom cmap. > > Running the example custom_cmap.py unchanged, I get : > >

Re: [Matplotlib-users] Cmap creation

2010-04-01 Thread Friedrich Romstedt
You forgot about the attachment? Friedrich -- Download IntelĀ® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See

[Matplotlib-users] Cmap creation

2010-04-01 Thread Bruce Ford
I'm running into walls trying to create a custom cmap. Running the example custom_cmap.py unchanged, I get : AttributeError: 'module' object has no attribute 'register_cmap' args = ("'module' object has no attribute 'register_cmap'",) I've included custom_cmap.py below. It's a major short