title: How to dynamically update a matplotlib table cell text
body: <p>My code reads two files of numbers and plots them dynamically in a plot window on the upper part of the window. 
  I also put a table below the plot.
  I want to take the latest values as they are plotted and update cells in the table with those numbers.
  The table gets updated on the screen the first time that the "set_text" is called, but what is displayed on the screen doesn't keep changing, even though the table is being updated.
  What do I need to add to get the table to display the value as it updates it.</p>
  
  <pre><code>&lt;snip&gt;
  def update_line(num, sdata, line1, d2data, line2, my_table):
      for i in range(0, num):
          line1.set_data(sdata[0, :num], sdata[1,:num])
          line2.set_data(d2data[0, :num], d2data[1,:num])
      tm.sleep(0.1)
      tmp = sdata[1, num]
      my_table._cells[(1, 1)]._text.set_text(tmp)
      return line1,line2, my_table,
  
  line_ani = animation.FuncAnimation(fig, update_line, 149, fargs=(d2data, f, d1data,l, the_table), interval=1, blit=True, repeat=False)
  
  plt.show()
  </code></pre>
  
  <p><a href="http://postimg.org/image/knj0y7ehr/" rel="noreferrer">This shows the resulting figure.  Note that the red/blue lines animate and draw over several seconds</a></p>