@@ -238,12 +238,6 @@ def __init__(self, xdata, ydata,
238
238
if linestyle is None : linestyle = rcParams ['lines.linestyle' ]
239
239
if marker is None : marker = rcParams ['lines.marker' ]
240
240
if color is None : color = rcParams ['lines.color' ]
241
- if markeredgecolor is None :
242
- markeredgecolor = 'auto'
243
- if markerfacecolor is None :
244
- markerfacecolor = 'auto'
245
- if markeredgewidth is None :
246
- markeredgewidth = rcParams ['lines.markeredgewidth' ]
247
241
248
242
if markersize is None : markersize = rcParams ['lines.markersize' ]
249
243
if antialiased is None : antialiased = rcParams ['lines.antialiased' ]
@@ -654,6 +648,8 @@ def set_markeredgecolor(self, ec):
654
648
655
649
ACCEPTS: any matplotlib color
656
650
"""
651
+ if ec is None :
652
+ ec = 'auto'
657
653
self ._markeredgecolor = ec
658
654
659
655
def set_markeredgewidth (self , ew ):
@@ -662,6 +658,8 @@ def set_markeredgewidth(self, ew):
662
658
663
659
ACCEPTS: float value in points
664
660
"""
661
+ if ew is None :
662
+ ew = rcParams ['lines.markeredgewidth' ]
665
663
self ._markeredgewidth = ew
666
664
667
665
def set_markerfacecolor (self , fc ):
@@ -670,6 +668,8 @@ def set_markerfacecolor(self, fc):
670
668
671
669
ACCEPTS: any matplotlib color
672
670
"""
671
+ if fc is None :
672
+ fc = 'auto'
673
673
self ._markerfacecolor = fc
674
674
675
675
def set_markersize (self , sz ):
0 commit comments