Anuj Gupta - 25 days ago 15

Python Question

I have a M x N 2D array: ith row represents that value of N points at time i.

I want to visualize the points [1 row of the array] in the form of a graph where the values get updated after a small interval. Thus the graph shows 1 row at a time, then update the values to next row, so on and so forth.

I want to do this in a jupyter notebook. Looking for reference codes.

I tried following things but no success:

http://community.plot.ly/t/updating-graph-with-new-data-every-100-ms-or-so/812

https://pythonprogramming.net/live-graphs-matplotlib-tutorial/

Create dynamic updated graph with Python

Update Lines in matplotlib

Answer

I created a comprehensive ipython notebook

Source (Stackoverflow)

Comments