Revision: 8643 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8643&view=rev Author: efiring Date: 2010-08-17 16:57:20 +0000 (Tue, 17 Aug 2010)
Log Message: ----------- backend_macosx.py: strip alpha from rgbFace before calling extension code Modified Paths: -------------- branches/v1_0_maint/lib/matplotlib/backends/backend_macosx.py Modified: branches/v1_0_maint/lib/matplotlib/backends/backend_macosx.py =================================================================== --- branches/v1_0_maint/lib/matplotlib/backends/backend_macosx.py 2010-08-17 14:25:51 UTC (rev 8642) +++ branches/v1_0_maint/lib/matplotlib/backends/backend_macosx.py 2010-08-17 16:57:20 UTC (rev 8643) @@ -52,13 +52,13 @@ if rgbFace is not None: rgbFace = tuple(rgbFace) linewidth = gc.get_linewidth() - gc.draw_path(path, transform, linewidth, rgbFace) + gc.draw_path(path, transform, linewidth, rgbFace[:3]) def draw_markers(self, gc, marker_path, marker_trans, path, trans, rgbFace=None): if rgbFace is not None: rgbFace = tuple(rgbFace) linewidth = gc.get_linewidth() - gc.draw_markers(marker_path, marker_trans, path, trans, linewidth, rgbFace) + gc.draw_markers(marker_path, marker_trans, path, trans, linewidth, rgbFace[:3]) def draw_path_collection(self, gc, master_transform, paths, all_transforms, offsets, offsetTrans, facecolors, edgecolors, 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