Skip to content

Commit

Permalink
BUG: respect alpha in RGBA markeredgecolor; closes #4580
Browse files Browse the repository at this point in the history
  • Loading branch information
efiring committed Jul 5, 2015
1 parent aad1619 commit 0a7f471
Show file tree
Hide file tree
Showing 5 changed files with 623 additions and 4 deletions.
5 changes: 1 addition & 4 deletions lib/matplotlib/lines.py
Expand Up @@ -779,17 +779,14 @@ def draw(self, renderer):
marker_trans = marker_trans.scale(w)
else:
gc.set_linewidth(0)
if rgbaFace is not None:
gc.set_alpha(rgbaFace[3])
gc.set_alpha(self.get_alpha())

renderer.draw_markers(gc, marker_path, marker_trans,
subsampled, affine.frozen(),
rgbaFace)

alt_marker_path = marker.get_alt_path()
if alt_marker_path:
if rgbaFaceAlt is not None:
gc.set_alpha(rgbaFaceAlt[3])
alt_marker_trans = marker.get_alt_transform()
alt_marker_trans = alt_marker_trans.scale(w)

Expand Down
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0a7f471

Please sign in to comment.