From: <ef...@us...> - 2010-06-08 22:41:17
|
Revision: 8398 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8398&view=rev Author: efiring Date: 2010-06-08 22:41:10 +0000 (Tue, 08 Jun 2010) Log Message: ----------- [3013440] add set_alpha method to GraphicsContextMac Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/backends/backend_macosx.py Modified: trunk/matplotlib/lib/matplotlib/backends/backend_macosx.py =================================================================== --- trunk/matplotlib/lib/matplotlib/backends/backend_macosx.py 2010-06-08 21:57:14 UTC (rev 8397) +++ trunk/matplotlib/lib/matplotlib/backends/backend_macosx.py 2010-06-08 22:41:10 UTC (rev 8398) @@ -180,6 +180,11 @@ GraphicsContextBase.__init__(self) _macosx.GraphicsContext.__init__(self) + def set_alpha(self, alpha): + GraphicsContextBase.set_alpha(self, alpha) + _alpha = self.get_alpha() + _macosx.GraphicsContext.set_alpha(self, _alpha) + def set_foreground(self, fg, isRGB=False): GraphicsContextBase.set_foreground(self, fg, isRGB) rgb = self.get_rgb() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |