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

Skip to content

Commit d066cc5

Browse files
committed
Add type hint for stub file.
1 parent 93d288e commit d066cc5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/matplotlib/legend.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ class Legend(Artist):
118118
def get_texts(self) -> list[Text]: ...
119119
def set_alignment(self, alignment: Literal["center", "left", "right"]) -> None: ...
120120
def get_alignment(self) -> Literal["center", "left", "right"]: ...
121+
def set_loc(self, loc: str) -> None: ...
121122
def set_title(
122123
self, title: str, prop: FontProperties | str | pathlib.Path | None = ...
123124
) -> None: ...

0 commit comments

Comments
 (0)