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:
3434 ) -> tuple [np .ndarray , np .ndarray , np .ndarray , np .ndarray ]: ...
3535 @staticmethod
3636 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 : ...
3840 @overload
3941 def subplots (
4042 self ,
@@ -105,7 +107,7 @@ class GridSpecFromSubplotSpec(GridSpecBase):
105107class SubplotSpec :
106108 num1 : int
107109 def __init__ (
108- self , gridspec : GridSpec , num1 : int , num2 : int | None = ...
110+ self , gridspec : GridSpecBase , num1 : int , num2 : int | None = ...
109111 ) -> None : ...
110112 @staticmethod
111113 def _from_subplot_args (figure , args ): ...
You can’t perform that action at this time.
0 commit comments