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

Skip to content

Commit 8efcda9

Browse files
Fix get_children mypy stub
1 parent d78afb3 commit 8efcda9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/figure.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class FigureBase(Artist):
5555
@property
5656
def texts(self) -> ArtistList[Text]: ...
5757

58-
def get_children(self) -> list[Artist]: ...
58+
def get_children(self, *, layer: str | None = ...) -> list[Artist]: ...
5959
def contains(self, mouseevent: MouseEvent) -> tuple[bool, dict[Any, Any]]: ...
6060
def suptitle(self, t: str, **kwargs) -> Text: ...
6161
def get_suptitle(self) -> str: ...

0 commit comments

Comments
 (0)