Skip to content

Commit e264cf3

Browse files
committed
Merged revisions 8643 via svnmerge from
https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v1_0_maint ........ r8643 | efiring | 2010-08-17 06:57:20 -1000 (Tue, 17 Aug 2010) | 2 lines backend_macosx.py: strip alpha from rgbFace before calling extension code ........ svn path=/trunk/matplotlib/; revision=8644
1 parent 9e72aff commit e264cf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/backends/backend_macosx.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ def draw_path(self, gc, path, transform, rgbFace=None):
5151
if rgbFace is not None:
5252
rgbFace = tuple(rgbFace)
5353
linewidth = gc.get_linewidth()
54-
gc.draw_path(path, transform, linewidth, rgbFace)
54+
gc.draw_path(path, transform, linewidth, rgbFace[:3])
5555

5656
def draw_markers(self, gc, marker_path, marker_trans, path, trans, rgbFace=None):
5757
if rgbFace is not None:
5858
rgbFace = tuple(rgbFace)
5959
linewidth = gc.get_linewidth()
60-
gc.draw_markers(marker_path, marker_trans, path, trans, linewidth, rgbFace)
60+
gc.draw_markers(marker_path, marker_trans, path, trans, linewidth, rgbFace[:3])
6161

6262
def draw_path_collection(self, gc, master_transform, paths, all_transforms,
6363
offsets, offsetTrans, facecolors, edgecolors,

0 commit comments

Comments
 (0)