Maybe use a better method for clearing and re-plotting the graph on every iteration? See matplotlib.clf().
Activity
test123 commentedon Sep 2, 2020
#8