Revision: 8632
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8632&view=rev
Author:   efiring
Date:     2010-08-16 08:08:09 +0000 (Mon, 16 Aug 2010)

Log Message:
-----------
patheffects: don't assume rbgFace has no alpha

Modified Paths:
--------------
    branches/v1_0_maint/lib/matplotlib/patheffects.py

Modified: branches/v1_0_maint/lib/matplotlib/patheffects.py
===================================================================
--- branches/v1_0_maint/lib/matplotlib/patheffects.py   2010-08-14 21:52:58 UTC 
(rev 8631)
+++ branches/v1_0_maint/lib/matplotlib/patheffects.py   2010-08-16 08:08:09 UTC 
(rev 8632)
@@ -60,7 +60,7 @@
 
         if isinstance(renderer, MixedModeRenderer):
             renderer = renderer._renderer
-            
+
         path, transform = RendererBase._get_text_path_transform(renderer,
                                                                 x, y, s,
                                                                 prop, angle,
@@ -168,7 +168,7 @@
         gc0.copy_properties(gc)
 
         if self._shadow_rgbFace is None:
-            r,g,b = rgbFace
+            r,g,b = rgbFace[:3]
             rho = 0.3
             r = rho*r
             g = rho*g


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to