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

Skip to content

Commit 954d662

Browse files
authored
Merge pull request #6963 from tacaswell/doc_scatter_verts
DOC: Document `verts` in scatter
2 parents 35aa62d + 7a23966 commit 954d662

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3841,8 +3841,9 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
38413841
verts=None, edgecolors=None,
38423842
**kwargs):
38433843
"""
3844-
Make a scatter plot of x vs y, where x and y are sequence like objects
3845-
of the same length.
3844+
Make a scatter plot of `x` vs `y`
3845+
3846+
Marker size is scaled by `s` and marker color is mapped to `c`
38463847
38473848
Parameters
38483849
----------
@@ -3890,6 +3891,12 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
38903891
linewidths : scalar or array_like, optional, default: None
38913892
If None, defaults to (lines.linewidth,).
38923893
3894+
verts : sequence of (x, y), optional
3895+
If `marker` is None, these vertices will be used to
3896+
construct the marker. The center of the marker is located
3897+
at (0,0) in normalized units. The overall marker is rescaled
3898+
by ``s``.
3899+
38933900
edgecolors : color or sequence of color, optional, default: None
38943901
If None, defaults to 'face'
38953902

0 commit comments

Comments
 (0)