@@ -89,19 +89,20 @@ class FigureBase(Artist):
89
89
90
90
# TODO: docstring indicates SubplotSpec a valid arg, but none of the listed signatures appear to be that
91
91
@overload
92
- def add_subplot (self , * args , projection : Literal ["3d" ], ** kwargs ) -> Axes3D : ...
92
+ def add_subplot (self , * args : Any , projection : Literal ["3d" ], ** kwargs : Any ) -> Axes3D : ...
93
93
@overload
94
94
def add_subplot (
95
- self , nrows : int , ncols : int , index : int | tuple [int , int ], ** kwargs
95
+ self , nrows : int , ncols : int , index : int | tuple [int , int ], ** kwargs : Any
96
96
) -> Axes : ...
97
97
@overload
98
- def add_subplot (self , pos : int , ** kwargs ) -> Axes : ...
98
+ def add_subplot (self , pos : int , ** kwargs : Any ) -> Axes : ...
99
99
@overload
100
- def add_subplot (self , ax : Axes , ** kwargs ) -> Axes : ...
100
+ def add_subplot (self , ax : Axes , ** kwargs : Any ) -> Axes : ...
101
101
@overload
102
- def add_subplot (self , ax : SubplotSpec , ** kwargs ) -> Axes : ...
102
+ def add_subplot (self , ax : SubplotSpec , ** kwargs : Any ) -> Axes : ...
103
103
@overload
104
- def add_subplot (self , ** kwargs ) -> Axes : ...
104
+ def add_subplot (self , ** kwargs : Any ) -> Axes : ...
105
+
105
106
@overload
106
107
def subplots (
107
108
self ,
0 commit comments