|
|
@ -66,6 +66,7 @@ def main():
|
|
|
|
# We do not show jobstates atm. Too lazy.
|
|
|
|
# We do not show jobstates atm. Too lazy.
|
|
|
|
# ys are transposed – we need vectors by times, not by states.
|
|
|
|
# ys are transposed – we need vectors by times, not by states.
|
|
|
|
ys = list(zip(*ys))
|
|
|
|
ys = list(zip(*ys))
|
|
|
|
|
|
|
|
plt.clf()
|
|
|
|
plt.stackplot(x, ys, labels=states)
|
|
|
|
plt.stackplot(x, ys, labels=states)
|
|
|
|
plt.legend(loc='upper left')
|
|
|
|
plt.legend(loc='upper left')
|
|
|
|
print('showing plot')
|
|
|
|
print('showing plot')
|
|
|
|