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

Commitf5b325e

Browse files
authored
Merge pull request#28596 from meeseeksmachine/auto-backport-of-pr-28518-on-v3.9.x
Backport PR#28518 on branch v3.9.x ([TYP] Fix overload of `pyplot.subplots`)
2 parents7b73bf3 +c37449c commitf5b325e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎lib/matplotlib/figure.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ class FigureBase(Artist):
132132
height_ratios:Sequence[float]|None= ...,
133133
subplot_kw:dict[str,Any]|None= ...,
134134
gridspec_kw:dict[str,Any]|None= ...,
135-
)->Axes|np.ndarray: ...
135+
)->Any: ...
136136
defdelaxes(self,ax:Axes)->None: ...
137137
defclear(self,keep_observers:bool= ...)->None: ...
138138
defclf(self,keep_observers:bool= ...)->None: ...

‎lib/matplotlib/pyplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1597,7 +1597,7 @@ def subplots(
15971597
subplot_kw:dict[str,Any]|None= ...,
15981598
gridspec_kw:dict[str,Any]|None= ...,
15991599
**fig_kw
1600-
)->tuple[Figure,Axes|np.ndarray]:
1600+
)->tuple[Figure,Any]:
16011601
...
16021602

16031603

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp