title: Plot dynamically changing graph using matplotlib in Jupyter Notebook
body: <p>I have a M x N 2D array: ith row represents that value of N points at time i. </p>
  
  <p>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. </p>
  
  <p>I want to do this in a jupyter notebook. Looking for reference codes. </p>
  
  <p>I tried following things but no success:</p>
  
  <ul>
  <li><p><a href="http://community.plot.ly/t/updating-graph-with-new-data-every-100-ms-or-so/812" rel="noreferrer">http://community.plot.ly/t/updating-graph-with-new-data-every-100-ms-or-so/812</a></p></li>
  <li><p><a href="https://pythonprogramming.net/live-graphs-matplotlib-tutorial/" rel="noreferrer">https://pythonprogramming.net/live-graphs-matplotlib-tutorial/</a></p></li>
  <li><p><a href="https://stackoverflow.com/questions/5618620/create-dynamic-updated-graph-with-python">Create dynamic updated graph with Python</a></p></li>
  <li><p><a href="https://stackoverflow.com/questions/11371255/update-lines-in-matplotlib">Update Lines in matplotlib</a></p></li>
  </ul>