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.
There was an error while loading. Please reload this page.
2 parents b766c96 + 3070ac8 commit 2b75c9eCopy full SHA for 2b75c9e
1 file changed
lib/matplotlib/axes/_base.pyi
@@ -225,7 +225,7 @@ class _AxesBase(martist.Artist):
225
ymin: float | None = ...,
226
ymax: float | None = ...
227
) -> tuple[float, float, float, float]: ...
228
- def get_legend(self) -> Legend: ...
+ def get_legend(self) -> Legend | None: ...
229
def get_images(self) -> list[AxesImage]: ...
230
def get_lines(self) -> list[Line2D]: ...
231
def get_xaxis(self) -> XAxis: ...
0 commit comments