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 5743e71

Browse filesBrowse files
committed
Update docs
1 parent 13edbb5 commit 5743e71
Copy full SHA for 5743e71

File tree

Expand file treeCollapse file tree

2 files changed

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

2 files changed

+3
-3
lines changed

‎doc/users/whats_new/style_changes.rst

Copy file name to clipboardExpand all lines: doc/users/whats_new/style_changes.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Plots
3333

3434
- The default size of the elements in a scatter plot is now based on
3535
the rcParam ``lines.markersize`` so it is consistent with ``plot(X,
36-
Y, 'o')``. The old value was 20.
36+
Y, 'o')``. The old value was 20, and the new value is 36 (6^2).
3737

3838
Plot layout
3939
```````````

‎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
@@ -3739,8 +3739,8 @@ def scatter(self, x, y, s=None, c=None, marker='o', cmap=None, norm=None,
37393739
x, y : array_like, shape (n, )
37403740
Input data
37413741
3742-
s : scalar or array_like, shape (n, ), optional, default: 20
3743-
size in points^2.
3742+
s : scalar or array_like, shape (n, ), optional
3743+
size in points^2. Default is `rcParams['lines.markersize'] ** 2`.
37443744
37453745
c : color, sequence, or sequence of color, optional, default: 'b'
37463746
`c` can be a single color format string, or a sequence of color

0 commit comments

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