title: Matplotlib 'eps' export using savefig generates error when using TeX in figure
body: <p>I am trying to export a figure which is rendered using TeX. I use the following minimal example code to accomplish this:</p>
  
  <pre><code>import matplotlib.pyplot as plt
  from matplotlib import rc
  rc('text', usetex=True)
  fig, ax = plt.subplots()
  fig.savefig('plot.eps', format='eps')
  </code></pre>
  
  <p>This generates an error:</p>
  
  <blockquote>
    <p>RuntimeError: ghostscript was not able to process your image.
    Here is the full report generated by ghostscript:</p>
  </blockquote>
  
  <p>(it doesn't actually provide the full report)</p>
  
  <p>Now if i render without TeX then everything works fine:</p>
  
  <pre><code>rc('text', usetex=False)
  </code></pre>
  
  <p>Also rendering with TeX and outputting to PNG or PDF works fine aswell.</p>
  
  <p>Anyone know what is going on?</p>