title: matplotlib: generating vector plot
body: <p>I want to generate a vector plot with matplotlib. I tried hard - but the output is a raster image. Here's what I use:</p>
  
  <pre><code>import matplotlib
  matplotlib.use('Agg')
  import matplotlib.pyplot as plt
  </code></pre>
  
  <p>and finally:</p>
  
  <pre><code>myfig.savefig('myfig.eps', format='eps')
  </code></pre>
  
  <p>I've found that export to <code>ps</code> gives a vector image, but the problem with <code>eps</code> remains.</p>