|
|
@ -56,6 +56,8 @@ def main():
|
|
|
|
print('pickle saved')
|
|
|
|
print('pickle saved')
|
|
|
|
|
|
|
|
|
|
|
|
# Show the plot
|
|
|
|
# Show the plot
|
|
|
|
|
|
|
|
plt.close()
|
|
|
|
|
|
|
|
plt.clf()
|
|
|
|
x = sorted(ts.data.keys()) # times
|
|
|
|
x = sorted(ts.data.keys()) # times
|
|
|
|
ys = [tuple(ts.data[time][0].get(state, 0) for state in ts.states) for time in x] # numbers per state
|
|
|
|
ys = [tuple(ts.data[time][0].get(state, 0) for state in ts.states) for time in x] # numbers per state
|
|
|
|
# We do not show jobstates atm. Too lazy.
|
|
|
|
# We do not show jobstates atm. Too lazy.
|
|
|
@ -66,8 +68,5 @@ def main():
|
|
|
|
plt.show(block=False)
|
|
|
|
plt.show(block=False)
|
|
|
|
|
|
|
|
|
|
|
|
plt.pause(poll_rate)
|
|
|
|
plt.pause(poll_rate)
|
|
|
|
plt.close()
|
|
|
|
|
|
|
|
plt.clf()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
main()
|
|
|
|
main()
|
|
|
|