title: Plots that varies over the time on Python Matplotlib with Jupyter
body: <p>In the following lines I report a code that generates a plot changing over the time with Python on Anaconda Spyder</p>
  
  <pre><code>import matplotlib.pyplot as plt
  import numpy as np
  
  x = np.arange(-3, 3, 0.01)
  N = 1
  fig = plt.figure()
  ax = fig.add_subplot(111)
  for N in range(8):
      y = np.sin(np.pi*x*N)
      line, = ax.plot(x, y)
      plt.draw()
      plt.pause(0.5)
      line.remove()
  </code></pre>
  
  <p>I would like to do the some with Jupyter, but it is not possible. Particularly it seems that the Matplotlib method .pause() does not exist on Jupyter.
  Is there anyone who can explain me this difference and can help me building up a code for plots variating over the time with Python on Jupyter, please?</p>