title: Python Matplotlib Update Plot in the Background
body: <p>I am using Matplotlib to plot a real time event in Anaconda prompt.<br>
  When I update plot by plt.draw() or plt.show(), I loose control of the thing I am doing. Plot window acts like its clicked and this blocks my other control on the command prompt.</p>
  
  <p>I tried adding</p>
  
  <pre><code>plt.show(block=False)
  </code></pre>
  
  <p>but it didnt help. </p>
  
  <p>The code is like below, </p>
  
  <pre><code>fig, ax = plt.subplots()
  plt.ion()
  plt.show(block=False)
  while(True):
      ax.plot(y_plt_points,x_plt_points,'ro')
      plt.draw()
      plt.pause(0.01)
  </code></pre>