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 55dc360

Browse filesBrowse files
authored
Merge pull request #12382 from meeseeksmachine/auto-backport-of-pr-12353-on-v3.0.0-doc
Backport PR #12353 on branch v3.0.0-doc (Doc: clarify default parameters in scatter docs)
2 parents 9663953 + 40d5467 commit 55dc360
Copy full SHA for 55dc360

File tree

Expand file treeCollapse file tree

1 file changed

+11
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+11
-3
lines changed

‎lib/matplotlib/axes/_axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_axes.py
+11-3Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4029,7 +4029,7 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
40294029
The marker size in points**2.
40304030
Default is ``rcParams['lines.markersize'] ** 2``.
40314031
4032-
c : color, sequence, or sequence of color, optional, default: 'b'
4032+
c : color, sequence, or sequence of color, optional
40334033
The marker color. Possible values:
40344034
40354035
- A single color format string.
@@ -4045,10 +4045,18 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
40454045
matching will have precedence in case of a size matching with *x*
40464046
and *y*.
40474047
4048-
marker : `~matplotlib.markers.MarkerStyle`, optional, default: 'o'
4048+
Defaults to ``None``. In that case the marker color is determined
4049+
by the value of ``color``, ``facecolor`` or ``facecolors``. In case
4050+
those are not specified or ``None``, the marker color is determined
4051+
by the next color of the ``Axes``' current "shape and fill" color
4052+
cycle. This cycle defaults to :rc:`axes.prop_cycle`.
4053+
4054+
marker : `~matplotlib.markers.MarkerStyle`, optional
40494055
The marker style. *marker* can be either an instance of the class
40504056
or the text shorthand for a particular marker.
4051-
See `~matplotlib.markers` for more information marker styles.
4057+
Defaults to ``None``, in which case it takes the value of
4058+
:rc:`scatter.marker` = 'o'.
4059+
See `~matplotlib.markers` for more information about marker styles.
40524060
40534061
cmap : `~matplotlib.colors.Colormap`, optional, default: None
40544062
A `.Colormap` instance or registered colormap name. *cmap* is only

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.