Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7a23966

Browse files
committed
DOC: tweak scatter docstring a bit
1 parent 99fb603 commit 7a23966

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3811,8 +3811,10 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
38113811
vmin=None, vmax=None, alpha=None, linewidths=None,
38123812
verts=None, edgecolors=None,
38133813
**kwargs):
3814-
"""Make a scatter plot of x vs y, where x and y are sequence like objects
3815-
of the same length.
3814+
"""
3815+
Make a scatter plot of `x` vs `y`
3816+
3817+
Marker size is scaled by `s` and marker color is mapped to `c`
38163818
38173819
Parameters
38183820
----------
@@ -3863,7 +3865,8 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
38633865
verts : sequence of (x, y), optional
38643866
If `marker` is None, these vertices will be used to
38653867
construct the marker. The center of the marker is located
3866-
at (0,0) and the size is normalized.
3868+
at (0,0) in normalized units. The overall marker is rescaled
3869+
by ``s``.
38673870
38683871
edgecolors : color or sequence of color, optional, default: None
38693872
If None, defaults to 'face'

0 commit comments

Comments
 (0)