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 98594a2 + 0139aca commit 8076615Copy full SHA for 8076615
1 file changed
lib/matplotlib/axes/_base.pyi
@@ -224,7 +224,7 @@ class _AxesBase(martist.Artist):
224
ymin: float | None = ...,
225
ymax: float | None = ...
226
) -> tuple[float, float, float, float]: ...
227
- def get_legend(self) -> Legend: ...
+ def get_legend(self) -> Legend | None: ...
228
def get_images(self) -> list[AxesImage]: ...
229
def get_lines(self) -> list[Line2D]: ...
230
def get_xaxis(self) -> XAxis: ...
0 commit comments