diff --git a/fosdem_video_progress.py b/fosdem_video_progress.py index 63ad3b8..360af62 100755 --- a/fosdem_video_progress.py +++ b/fosdem_video_progress.py @@ -56,6 +56,8 @@ def main(): print('pickle saved') # Show the plot + plt.close() + plt.clf() 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 # We do not show jobstates atm. Too lazy. @@ -66,8 +68,5 @@ def main(): plt.show(block=False) plt.pause(poll_rate) - plt.close() - plt.clf() - main()