title: How to remove points from a plot?
body: <p>I am using matplotlib.pyplot.</p>
  
  <p>I would like to do the following:</p>
  
  <ol>
  <li>I want to plot a series of <strong><em>background</em></strong> dots (single blue dot in
  example). </li>
  <li>I add an <strong><em>additional</em></strong> series of dots (3 black dots in example)</li>
  <li>I save the figure</li>
  <li>I remove the <strong><em>additional</em></strong> series of dots (black) and keep the <strong><em>background</em></strong> one (blue).</li>
  </ol>
  
  <p>How can I perform step 4? I would like to avoid having to replot the background dots.</p>
  
  <p>Hereunder is an example of code with step 4 missing.</p>
  
  <pre><code>import matplotlib.pyplot as plt
  
  fig = plt.figure()
  
  plt.xlim(-10,10)
  plt.ylim(-10,10)
  
  #step 1: background blue dot
  plt.plot(0,0,marker='o',color='b')
  
  #step 2: additional black dots
  points_list = [(1,2),(3,4),(5,6)]
  for point in points_list:
      plt.plot(point[0],point[1],marker='o',color='k')
  
  #step 3: save
  plt.savefig('test.eps')
  
  #step 4: remove additional black dots
  </code></pre>