title: Matplotlib checkbox (previous and next)
body: <p>I've created multiple figures but I don't want to appear all at once, how could I use the buttons or checkbox? </p>
  
  <p><strong>When I click in next, change for other figure</strong></p>
  
  <p>My code, but this show 2 figures, and I dont like this:</p>
  
  <pre><code>import matplotlib.pyplot as plt
  intervals = ['52, 57', '57, 62', '62, 67', '67, 72', '72, 77', '77, 82', '82, 87']
  absolute = [3, 11, 23, 27, 10, 5, 1]
  pos = np.arange(len(absolute))
  # figure with bars fi
  width = 1.0
  fig1= plt.figure()
  ax1 = plt.axes()
  ax1.plot(pos, absolute, '-', linewidth=2)
  
  
  # figure with lines fi
  fig2 = plt.figure()
  pos = np.arange(len(absolute))
  x = np.linspace(0, 10)
  ax = plt.axes()
  ax.plot(pos, absolute, '--', linewidth=2)
  
  plt.show()
  </code></pre>
  
  <p>Thank you very much!</p>
  
  <p>Greetings!</p>