Updating A Plot In Python's Matplotlib
I'm trying to plot streaming data in matplotlib. I can update the plot using interactive mode and the set_ydata function. It animates and everything looks good until the loop ends.
Solution 1:
It works well for me with mac_osx backend
from Jupyter
notebook in python 3.4
.
Maybe you want to add plt.close()
at the end to keep things tidy and prevent a hang up?
Post a Comment for "Updating A Plot In Python's Matplotlib"