Actually show the legend

master
LEdoian 8 months ago
parent 4a6873bc2f
commit f8fd60b706

@ -65,6 +65,7 @@ def main():
# ys are transposed we need vectors by times, not by states.
ys = list(zip(*ys))
plt.stackplot(x, ys, labels=states)
plt.legend(loc='upper left')
print('showing plot')
plt.show(block=False)

Loading…
Cancel
Save