title: Delete a subplot
body: <p>I'm trying to figure out a way of deleting (dynamically) subplots in matplotlib. I see they have a <code>remove</code> method, but I get the error</p>
  <pre><code>NotImplementedError: cannot remove artist
  </code></pre>
  <p>I'm surprised that I can't find this anywhere.  Does anyone know how to do this?</p>
  <pre class="lang-py prettyprint-override"><code>from matplotlib import pyplot as plt
  
  fig, axs = plt.subplots(1,3)
  
  axs[0].plot([1,2],[3,4])
  axs[2].plot([0,1],[2,3])
  
  plt.draw()
  plt.tight_layout()
  </code></pre>
  <p><a href="https://i.stack.imgur.com/UoBJ1.png" rel="noreferrer"><img src="https://i.stack.imgur.com/UoBJ1.png" alt="enter image description here" /></a></p>