[yt-svn] commit/yt: MatthewTurk: Fixing kamae color map
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Wed Jun 11 14:35:32 PDT 2014
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/4c6ab89b70c7/
Changeset: 4c6ab89b70c7
Branch: yt-3.0
User: MatthewTurk
Date: 2014-06-11 23:35:10
Summary: Fixing kamae color map
Affected #: 1 file
diff -r af18fce402d7e68f3620b4a0d6b322b50815f573 -r 4c6ab89b70c77a17c58535053ec4f319f71b06e3 yt/visualization/color_maps.py
--- a/yt/visualization/color_maps.py
+++ b/yt/visualization/color_maps.py
@@ -83,9 +83,9 @@
194.5*_vs**2.88+99.72*np.exp(-77.24*(_vs-0.742)**2.0)
+ 45.40*_vs**0.089+10.0)/255.0
-cdict = {'red':izip(_vs,_kamae_red,_kamae_red),
- 'green':izip(_vs,_kamae_grn,_kamae_grn),
- 'blue':izip(_vs,_kamae_blu,_kamae_blu)}
+cdict = {'red':zip(_vs,_kamae_red,_kamae_red),
+ 'green':zip(_vs,_kamae_grn,_kamae_grn),
+ 'blue':zip(_vs,_kamae_blu,_kamae_blu)}
add_cmap('kamae', cdict)
# This one is a simple black & green map
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list