Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3cdbe7a

Browse files
authored
Merge pull request #29724 from has2k1/fix-get_gridspec_type_annotation
Fix SubplotSpec.get_gridspec type hint
2 parents b8ee229 + 0dd3adb commit 3cdbe7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/gridspec.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class SubplotSpec:
115115
def num2(self) -> int: ...
116116
@num2.setter
117117
def num2(self, value: int) -> None: ...
118-
def get_gridspec(self) -> GridSpec: ...
118+
def get_gridspec(self) -> GridSpecBase: ...
119119
def get_geometry(self) -> tuple[int, int, int, int]: ...
120120
@property
121121
def rowspan(self) -> range: ...

0 commit comments

Comments
 (0)