File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,9 @@ class GridSpecBase:
34
34
) -> tuple [np .ndarray , np .ndarray , np .ndarray , np .ndarray ]: ...
35
35
@staticmethod
36
36
def _check_gridspec_exists (figure , nrows , ncols ): ...
37
- def __getitem__ (self , key : tuple [int | slice , int | slice ] | slice | int ) -> SubplotSpec : ...
37
+ def __getitem__ (
38
+ self , key : tuple [int | slice , int | slice ] | slice | int
39
+ ) -> SubplotSpec : ...
38
40
@overload
39
41
def subplots (
40
42
self ,
@@ -105,7 +107,7 @@ class GridSpecFromSubplotSpec(GridSpecBase):
105
107
class SubplotSpec :
106
108
num1 : int
107
109
def __init__ (
108
- self , gridspec : GridSpec , num1 : int , num2 : int | None = ...
110
+ self , gridspec : GridSpecBase , num1 : int , num2 : int | None = ...
109
111
) -> None : ...
110
112
@staticmethod
111
113
def _from_subplot_args (figure , args ): ...
You can’t perform that action at this time.
0 commit comments