[Yt-svn] yt-commit r1649 - trunk/yt/raven
mturk at wrangler.dreamhost.com
mturk at wrangler.dreamhost.com
Mon Mar 1 19:02:35 PST 2010
Author: mturk
Date: Mon Mar 1 19:02:34 2010
New Revision: 1649
URL: http://yt.enzotools.org/changeset/1649
Log:
Adding an alias for bds_highcontrast as "algae" and making it the default.
This is a colormap designed by Britton Smith.
Modified:
trunk/yt/raven/ColorMaps.py
Modified: trunk/yt/raven/ColorMaps.py
==============================================================================
--- trunk/yt/raven/ColorMaps.py (original)
+++ trunk/yt/raven/ColorMaps.py Mon Mar 1 19:02:34 2010
@@ -40,6 +40,7 @@
cc.LinearSegmentedColormap(name,cdict,256)
mcm.datad[name] = cdict
mcm.__dict__[name] = cdict
+ mcm.register_cmap(name, raven_colormaps[name])
# The format is as follows:
@@ -68,6 +69,7 @@
(1.0, 0.0, 0.0))}
add_cmap('bds_highcontrast', cdict)
+add_cmap('algae', cdict)
# This next colormap was designed by Tune Kamae and converted here by Matt
More information about the yt-svn
mailing list