@@ -4392,9 +4392,8 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
43924392 - 'none': No patch boundary will be drawn.
43934393 - A color or sequence of colors.
43944394
4395- For non-filled markers, *edgecolors* is ignored. Instead, the color
4396- is determined like with 'face', i.e. from *c*, *colors*, or
4397- *facecolors*.
4395+ For non-filled markers, the *edgecolors* kwarg is ignored and
4396+ forced to 'face' internally.
43984397
43994398 plotnonfinite : bool, default: False
44004399 Set to plot points with nonfinite *c*, in conjunction with
@@ -4476,6 +4475,7 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
44764475 path = marker_obj .get_path ().transformed (
44774476 marker_obj .get_transform ())
44784477 if not marker_obj .is_filled ():
4478+ edgecolors = 'face'
44794479 if linewidths is None :
44804480 linewidths = rcParams ['lines.linewidth' ]
44814481 elif np .iterable (linewidths ):
@@ -4487,8 +4487,8 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
44874487
44884488 collection = mcoll .PathCollection (
44894489 (path ,), scales ,
4490- facecolors = colors if marker_obj . is_filled () else 'none' ,
4491- edgecolors = edgecolors if marker_obj . is_filled () else colors ,
4490+ facecolors = colors ,
4491+ edgecolors = edgecolors ,
44924492 linewidths = linewidths ,
44934493 offsets = offsets ,
44944494 transOffset = kwargs .pop ('transform' , self .transData ),
0 commit comments