Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit eadeb1a

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

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎lib/matplotlib/axes/_axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_axes.py
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.