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

Skip to content

Commit 7f21cc5

Browse files
committed
Merge pull request matplotlib#6140 from kylerbrown/scatter-doc2
DOC: clarified color argument in scatter
2 parents 378bfd5 + af30ef2 commit 7f21cc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3725,7 +3725,7 @@ def scatter(self, x, y, s=20, c=None, marker='o', cmap=None, norm=None,
37253725
**kwargs):
37263726
"""
37273727
Make a scatter plot of x vs y, where x and y are sequence like objects
3728-
of the same lengths.
3728+
of the same length.
37293729
37303730
Parameters
37313731
----------
@@ -3735,7 +3735,7 @@ def scatter(self, x, y, s=20, c=None, marker='o', cmap=None, norm=None,
37353735
s : scalar or array_like, shape (n, ), optional, default: 20
37363736
size in points^2.
37373737
3738-
c : color or sequence of color, optional, default : 'b'
3738+
c : color, sequence, or sequence of color, optional, default: 'b'
37393739
`c` can be a single color format string, or a sequence of color
37403740
specifications of length `N`, or a sequence of `N` numbers to be
37413741
mapped to colors using the `cmap` and `norm` specified via kwargs

0 commit comments

Comments
 (0)