title: creating dynamic graph python NetworkX
body: <p>I am attempting to build a dynamic graph in python using networkX. I've got some code to build a static graph. I'm looking for some advice as to how to alter it for dynamic graphing to improve the visualization, maybe using networkx d3 or plotly. The context is to graph a conversation. </p>
  
  <pre><code>nx.draw_networkx(speech, pos=nx.spring_layout(speech))
  plt.draw()
  static_images_dir = "./static/images"
  if not os.path.exists(static_images_dir):
      os.makedirs(static_images_dir)
  plt.savefig(os.path.join(static_images_dir, "speech.png"))
  #plt.show()
  plt.close()
  return speech 
  </code></pre>