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.
1 parent 6a583eb commit 5ef599fCopy full SHA for 5ef599f
pandas/plotting/_matplotlib/core.py
@@ -911,7 +911,6 @@ def _make_legend(self) -> None:
911
title = self.legend_title
912
913
if len(handles) > 0:
914
- # ax.legend(handles, labels, loc="best", title=title)
915
ax.legend(handles, labels, loc=self.legend_loc, title=title)
916
917
elif self.subplots and self.legend:
@@ -923,7 +922,6 @@ def _make_legend(self) -> None:
923
922
"No artists with labels found to put in legend.",
924
UserWarning,
925
)
926
- # ax.legend(loc="best")
927
ax.legend(loc=self.legend_loc)
928
929
@final
0 commit comments