Skip to content

Commit 732ec3a

Browse files
tacaswelljklymak
andcommitted
DOC: improve wording
Co-authored-by: Jody Klymak <[email protected]>
1 parent 6064a2e commit 732ec3a

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4479,15 +4479,13 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
44794479
Default is ``rcParams['lines.markersize'] ** 2``.
44804480
44814481
The linewidth and edgecolor can visually interact with the marker
4482-
size.
4482+
size, and can lead to artifacts if the marker size is smaller than
4483+
the linewidth.
44834484
44844485
If the linewidth is greater than 0 and the edegecolor is anything
44854486
but *'none'*, then the effective size of the marker will be
4486-
increased by half the linewidth as the stroke drawn for the edge
4487-
will be centered on the edge of the shape.
4488-
4489-
If the marker size is smaller than the linewidth there will be
4490-
visual artifacts.
4487+
increased by half the linewidth because the stroke will be centered
4488+
on the edge of the shape.
44914489
44924490
To eliminate the marker edge either set *linewidth=0* or
44934491
*edgecolor='none'*.

0 commit comments

Comments
 (0)