From 163fbfb6875483f16a890fd3951ad1d107a35ac6 Mon Sep 17 00:00:00 2001 From: Stan Seibert Date: Fri, 1 Jun 2012 12:20:41 -0400 Subject: Switch from hsv to jet_r color map because hsv has red at both ends, and that is kind of confusion. jet_r starts from red and goes to blue. --- chroma/color/colormap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chroma/color/colormap.py b/chroma/color/colormap.py index 6f3e056..61a2622 100644 --- a/chroma/color/colormap.py +++ b/chroma/color/colormap.py @@ -1,7 +1,7 @@ import numpy as np import matplotlib.cm as cm -def map_to_color(a, range=None, map=cm.hsv, weights=None): +def map_to_color(a, range=None, map=cm.jet_r, weights=None): a = np.asarray(a) if range is None: range = (a.min(), a.max()) -- cgit