diff --git a/Demo_Ping_Line_Graph.py b/Demo_Ping_Line_Graph.py index 20922011..36cd8267 100644 --- a/Demo_Ping_Line_Graph.py +++ b/Demo_Ping_Line_Graph.py @@ -68,6 +68,7 @@ while True: if i >= x_right: i = 0 prev_x = prev_y = last_x = last_y = 0 + canvas.delete('all') else: i += 1 # tell thread we're done. wait for thread to exit