title: How can i remove a plot with Python?
body: <p>I have some data that I plotted with Python but now I want to erase the plots but not the figure itself. </p>
  
  <p>I have some thing like this :</p>
  
  <pre><code>import numpy as np
  import pylab as plt
  
  a = np.array([1,2,3,4,5,6,7,8,9,10])
  b = np.array([1,2,3,4,5,6,7,8,9,10])
  c = plt.plot(a,b,'r.')
  </code></pre>
  
  <p>So to clear this I tried this :</p>
  
  <pre><code>a = np.array([])
  b = np.array([])
  c = plt.plot(a,b,'r.')
  </code></pre>
  
  <p>but it does not work. What is the best way to accomplish this?</p>