fix multi-dimensional times plotting
This commit is contained in:
parent
ff6ef29aa8
commit
59c0af8e1e
|
@ -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())
|
||||
|
|
Reference in New Issue