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

Commitabda9dd

Browse files
authored
Merge pull request#29341 from stefanv/add_subplots-axes3d
2 parentscfe41d4 +56fcafb commitabda9dd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎lib/matplotlib/figure.pyi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ from matplotlib.lines import Line2D
2525
frommatplotlib.patchesimportRectangle,Patch
2626
frommatplotlib.textimportText
2727
frommatplotlib.transformsimportAffine2D,Bbox,BboxBase,Transform
28+
frommpl_toolkits.mplot3dimportAxes3D
29+
2830
from .typingimportColorType,HashableList
2931

3032
_T=TypeVar("_T")
@@ -87,6 +89,8 @@ class FigureBase(Artist):
8789

8890
# TODO: docstring indicates SubplotSpec a valid arg, but none of the listed signatures appear to be that
8991
@overload
92+
defadd_subplot(self,*args,projection:Literal["3d"],**kwargs)->Axes3D: ...
93+
@overload
9094
defadd_subplot(
9195
self,nrows:int,ncols:int,index:int|tuple[int,int],**kwargs
9296
)->Axes: ...

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp