|
From: <jd...@us...> - 2009-08-05 19:49:51
|
Revision: 7395
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7395&view=rev
Author: jdh2358
Date: 2009-08-05 19:49:43 +0000 (Wed, 05 Aug 2009)
Log Message:
-----------
fixed an alpha colormapping bug posted on sf 2832575
Modified Paths:
--------------
branches/v0_99_maint/lib/matplotlib/colors.py
Modified: branches/v0_99_maint/lib/matplotlib/colors.py
===================================================================
--- branches/v0_99_maint/lib/matplotlib/colors.py 2009-08-05 19:18:26 UTC (rev 7394)
+++ branches/v0_99_maint/lib/matplotlib/colors.py 2009-08-05 19:49:43 UTC (rev 7395)
@@ -488,7 +488,7 @@
if not self._isinit: self._init()
alpha = min(alpha, 1.0) # alpha must be between 0 and 1
alpha = max(alpha, 0.0)
- self._lut[:-3, -1] = alpha
+ self._lut[:,-1] = alpha
mask_bad = None
if not cbook.iterable(X):
vtype = 'scalar'
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|