Skip to content
Snippets Groups Projects
Verified Commit e40fe7d7 authored by STEVAN Antoine's avatar STEVAN Antoine :crab:
Browse files

fix when no legend-loc is given

parent d44ad112
Branches
Tags
No related merge requests found
......@@ -371,6 +371,9 @@ def plot(
ax.set_title(title)
if show_legend:
if legend_loc == []:
ax.legend(loc=None)
else:
ax.legend(loc=legend_loc[0])
extra_legends = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment