title: When to use cla(), clf() or close() for clearing a plot in matplotlib?
body: <p>Matplotlib offers these functions:</p>
  <pre><code>cla()   # Clear axis
  clf()   # Clear figure
  close() # Close a figure window
  </code></pre>
  <p>When should I use each function and what exactly does it do?</p>