Skip to content

Commit 5ef599f

Browse files
removed comments
1 parent 6a583eb commit 5ef599f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pandas/plotting/_matplotlib/core.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,6 @@ def _make_legend(self) -> None:
911911
title = self.legend_title
912912

913913
if len(handles) > 0:
914-
# ax.legend(handles, labels, loc="best", title=title)
915914
ax.legend(handles, labels, loc=self.legend_loc, title=title)
916915

917916
elif self.subplots and self.legend:
@@ -923,7 +922,6 @@ def _make_legend(self) -> None:
923922
"No artists with labels found to put in legend.",
924923
UserWarning,
925924
)
926-
# ax.legend(loc="best")
927925
ax.legend(loc=self.legend_loc)
928926

929927
@final

0 commit comments

Comments
 (0)