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

Skip to content

Commit 5743e71

Browse files
committed
Update docs
1 parent 13edbb5 commit 5743e71

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/users/whats_new/style_changes.rst

Lines 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

Lines 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)