@@ -215,12 +215,6 @@ def __init__(self, xdata, ydata,
215
215
if linestyle is None : linestyle = rcParams ['lines.linestyle' ]
216
216
if marker is None : marker = rcParams ['lines.marker' ]
217
217
if color is None : color = rcParams ['lines.color' ]
218
- if markeredgecolor is None :
219
- markeredgecolor = 'auto'
220
- if markerfacecolor is None :
221
- markerfacecolor = 'auto'
222
- if markeredgewidth is None :
223
- markeredgewidth = rcParams ['lines.markeredgewidth' ]
224
218
225
219
if markersize is None : markersize = rcParams ['lines.markersize' ]
226
220
if antialiased is None : antialiased = rcParams ['lines.antialiased' ]
@@ -628,6 +622,8 @@ def set_markeredgecolor(self, ec):
628
622
629
623
ACCEPTS: any matplotlib color
630
624
"""
625
+ if ec is None :
626
+ ec = 'auto'
631
627
self ._markeredgecolor = ec
632
628
633
629
def set_markeredgewidth (self , ew ):
@@ -636,6 +632,8 @@ def set_markeredgewidth(self, ew):
636
632
637
633
ACCEPTS: float value in points
638
634
"""
635
+ if ew is None :
636
+ ew = rcParams ['lines.markeredgewidth' ]
639
637
self ._markeredgewidth = ew
640
638
641
639
def set_markerfacecolor (self , fc ):
@@ -644,6 +642,8 @@ def set_markerfacecolor(self, fc):
644
642
645
643
ACCEPTS: any matplotlib color
646
644
"""
645
+ if fc is None :
646
+ fc = 'auto'
647
647
self ._markerfacecolor = fc
648
648
649
649
def set_markersize (self , sz ):
0 commit comments