Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 011cc68 commit 3e5ecf9Copy full SHA for 3e5ecf9
1 file changed
lib/matplotlib/gridspec.pyi
@@ -34,7 +34,9 @@ class GridSpecBase:
34
) -> tuple[np.ndarray, np.ndarray, np.ndarray, np.ndarray]: ...
35
@staticmethod
36
def _check_gridspec_exists(figure, nrows, ncols): ...
37
- def __getitem__(self, key: tuple[int | slice, int | slice] | slice | int) -> SubplotSpec: ...
+ def __getitem__(
38
+ self, key: tuple[int | slice, int | slice] | slice | int
39
+ ) -> SubplotSpec: ...
40
@overload
41
def subplots(
42
self,
@@ -105,7 +107,7 @@ class GridSpecFromSubplotSpec(GridSpecBase):
105
107
class SubplotSpec:
106
108
num1: int
109
def __init__(
- self, gridspec: GridSpec, num1: int, num2: int | None = ...
110
+ self, gridspec: GridSpecBase, num1: int, num2: int | None = ...
111
) -> None: ...
112
113
def _from_subplot_args(figure, args): ...
0 commit comments