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

Skip to content

Commit 69d9b36

Browse files
committed
Add markerscale instead of markersize to pyplot
1 parent 0abd1b7 commit 69d9b36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/pyplot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3586,8 +3586,8 @@ def scatter(
35863586
*,
35873587
edgecolors: Literal["face", "none"] | ColorType | Sequence[ColorType] | None = None,
35883588
plotnonfinite: bool = False,
3589+
markerscale=2,
35893590
data=None,
3590-
markersize: int | None = None,
35913591
**kwargs,
35923592
) -> PathCollection:
35933593
__ret = gca().scatter(
@@ -3604,7 +3604,7 @@ def scatter(
36043604
linewidths=linewidths,
36053605
edgecolors=edgecolors,
36063606
plotnonfinite=plotnonfinite,
3607-
markersize=markersize,
3607+
markerscale=markerscale,
36083608
**({"data": data} if data is not None else {}),
36093609
**kwargs,
36103610
)

0 commit comments

Comments
 (0)