diff --git a/eodb/events/management/commands/times.py b/eodb/events/management/commands/times.py index 5662a33..752ce0f 100644 --- a/eodb/events/management/commands/times.py +++ b/eodb/events/management/commands/times.py @@ -27,7 +27,7 @@ class Command(GraphCommand): plots.append((legend, plot)) if i > 1: - plt.legend([plot[0] for legend, plot in plots], + plt.legend([plot for legend, plot in plots], [legend for legend, plot in plots]) plt.gca().xaxis.set_major_locator(matplotlib.dates.YearLocator())