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 :
>
> 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 shortcoming that
> there is not a suitable anomaly cmap (with white about the middle).
> Please consider this for an addition.
>
> Anyway, what am I missing with this error? Thanks so much!
>
> Bruce
> ---------------------------------------
> Bruce W. Ford
> Clear Science, Inc.
> [email protected]
> http://www.ClearScienceInc.com
> Phone/Fax: 904-379-9704
> 8241 Parkridge Circle N.
> Jacksonville, FL 32211
> Skype: bruce.w.ford
> Google Talk: [email protected]
>
> ------------------------------------------------------------------------------
> 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 why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Matplotlib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Chloe Lewis
Graduate student, Amundson Lab
Ecosystem Sciences
137 Mulford Hall
Berkeley, CA 94720-3114
http://nature.berkeley.edu/~chlewis
------------------------------------------------------------------------------
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 why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users