File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -527,7 +527,7 @@ def draw(self, renderer):
527
527
self ._set_gc_clip (gc )
528
528
529
529
ln_color_rgba = self ._get_rgba_ln_color ()
530
- gc .set_foreground (ln_color_rgba )
530
+ gc .set_foreground (ln_color_rgba , isRGBA = True )
531
531
gc .set_alpha (ln_color_rgba [3 ])
532
532
533
533
gc .set_antialiased (self ._antialiased )
@@ -569,7 +569,7 @@ def draw(self, renderer):
569
569
edgecolor = self .get_markeredgecolor ()
570
570
if is_string_like (edgecolor ) and edgecolor .lower () == 'none' :
571
571
gc .set_linewidth (0 )
572
- gc .set_foreground (rgbaFace )
572
+ gc .set_foreground (rgbaFace , isRGBA = True )
573
573
else :
574
574
gc .set_foreground (edgecolor )
575
575
gc .set_linewidth (self ._markeredgewidth )
@@ -1031,12 +1031,7 @@ def _get_rgba_face(self, alt=False):
1031
1031
return rgbaFace
1032
1032
1033
1033
def _get_rgba_ln_color (self , alt = False ):
1034
- ln_color = self ._color
1035
- if is_string_like (ln_color ) and ln_color .lower () == 'none' :
1036
- rgba_ln = None
1037
- else :
1038
- rgba_ln = colorConverter .to_rgba (ln_color , self ._alpha )
1039
- return rgba_ln
1034
+ return colorConverter .to_rgba (self ._color , self ._alpha )
1040
1035
1041
1036
# some aliases....
1042
1037
def set_aa (self , val ):
You can’t perform that action at this time.
0 commit comments