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

Skip to content

Commit eadeb1a

Browse files
committed
Merge pull request #6140 from kylerbrown/scatter-doc2
DOC: clarified color argument in scatter
1 parent 637c3da commit eadeb1a

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
@@ -3718,7 +3718,7 @@ def scatter(self, x, y, s=20, c=None, marker='o', cmap=None, norm=None,
37183718
**kwargs):
37193719
"""
37203720
Make a scatter plot of x vs y, where x and y are sequence like objects
3721-
of the same lengths.
3721+
of the same length.
37223722
37233723
Parameters
37243724
----------
@@ -3728,7 +3728,7 @@ def scatter(self, x, y, s=20, c=None, marker='o', cmap=None, norm=None,
37283728
s : scalar or array_like, shape (n, ), optional, default: 20
37293729
size in points^2.
37303730
3731-
c : color or sequence of color, optional, default : 'b'
3731+
c : color, sequence, or sequence of color, optional, default: 'b'
37323732
`c` can be a single color format string, or a sequence of color
37333733
specifications of length `N`, or a sequence of `N` numbers to be
37343734
mapped to colors using the `cmap` and `norm` specified via kwargs

0 commit comments

Comments
 (0)