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

Commit472aef6

Browse files
committed
Add stubs and update what's new entry link
1 parent69d9b36 commit472aef6

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
@@ -392,6 +392,7 @@ class Axes(_AxesBase):
392392
*,
393393
edgecolors:Literal["face","none"]|ColorType|Sequence[ColorType]|None= ...,
394394
plotnonfinite:bool= ...,
395+
markerscale:int= ...,
395396
**kwargs
396397
)->PathCollection: ...
397398
defhexbin(

‎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
@@ -3586,7 +3586,7 @@ def scatter(
35863586
*,
35873587
edgecolors:Literal["face","none"]|ColorType|Sequence[ColorType]|None=None,
35883588
plotnonfinite:bool=False,
3589-
markerscale=2,
3589+
markerscale:int=2,
35903590
data=None,
35913591
**kwargs,
35923592
)->PathCollection:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp