SourceForge logo
SourceForge logo
Menu

matplotlib-checkins

Revision: 8632
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8632&view=rev
Author: efiring
Date: 2010年08月16日 08:08:09 +0000 (2010年8月16日)
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.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /