Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit34c0620

Browse files
committed
Add stubs and update what's new entry link
1 parent2c95f38 commit34c0620

File tree

4 files changed

+14
-6
lines changed

4 files changed

+14
-6
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
`markersize` and `markerscale` added to scatter
1+
``markersize`` and ``markerscale`` added to scatter
22
-----------------------------------------------
3-
`markersize` is new alias for `s` in scatter that can be used to set the size of
3+
``markersize`` is new alias for ``s`` in scatter that can be used to set the size of
44
the markers. The marker sizes can now also be set using a linear scale using the
5-
`markerscale` parameter.
5+
``markerscale`` parameter.

‎lib/matplotlib/axes/_axes.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,7 @@ class Axes(_AxesBase):
411411
*,
412412
edgecolors:Literal["face","none"]|ColorType|Sequence[ColorType]|None= ...,
413413
plotnonfinite:bool= ...,
414+
markerscale:int= ...,
414415
data=...,
415416
**kwargs
416417
)->PathCollection: ...

‎lib/matplotlib/collections.pyi

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,18 @@ class Collection(artist.Artist, cm.ScalarMappable):
7070

7171
class_CollectionWithSizes(Collection):
7272
defget_sizes(self)->np.ndarray: ...
73-
defset_sizes(self,sizes:ArrayLike|None,dpi:float= ...)->None: ...
73+
defset_sizes(
74+
self,sizes:ArrayLike|None,dpi:float= ...,markerscale:int= ...
75+
)->None: ...
76+
defget_markerscale(self)->int: ...
7477

7578
classPathCollection(_CollectionWithSizes):
7679
def__init__(
77-
self,paths:Sequence[Path],sizes:ArrayLike|None= ...,**kwargs
80+
self,
81+
paths:Sequence[Path],
82+
sizes:ArrayLike|None= ...,
83+
markerscale:int= ...,
84+
**kwargs
7885
)->None: ...
7986
defset_paths(self,paths:Sequence[Path])->None: ...
8087
defget_paths(self)->Sequence[Path]: ...

‎lib/matplotlib/pyplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3587,7 +3587,7 @@ def scatter(
35873587
*,
35883588
edgecolors:Literal["face","none"]|ColorType|Sequence[ColorType]|None=None,
35893589
plotnonfinite:bool=False,
3590-
markerscale=2,
3590+
markerscale:int=2,
35913591
data=None,
35923592
**kwargs,
35933593
)->PathCollection:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp