Dear Dato,

On Monday I installed this package and the two associated packages (as they were then, anyway) from

http://ftp.de.debian.org/debian/pool/main/m/matplotlib/ 
<http://ftp.de.debian.org/debian/pool/main/m/matplotlib/python-matplotlib_0.98.1-1+lenny3_i386.deb>

On Thursday I tried to save a figure to EPS format and got the errors below. Is there something else that needs to be updated?

Thanks and regards

Tom Kuiper

p.s. I hope I'm Cc:ing this to the right list.  If not please copy your reply 
there.
-----------------------------------------------------------------------------------------

RuntimeError                              Traceback (most recent call last)

/home/kuiper/Projects/Methanol/Paper_1/S_vs_R.py in <module>()
    44 legend(loc='upper left')
    45
---> 46 savefig('S_vs_R.eps',papertype='letter')
    47 show()
    48

/usr/lib/python2.5/site-packages/matplotlib/pyplot.pyc in savefig(*args, 
**kwargs)
   284 def savefig(*args, **kwargs):
   285     fig = gcf()
--> 286     return fig.savefig(*args, **kwargs)
   287 if Figure.savefig.__doc__ is not None:
   288     savefig.__doc__ = dedent(Figure.savefig.__doc__)

/usr/lib/python2.5/site-packages/matplotlib/figure.pyc in savefig(self, *args, 
**kwargs)
  1012                 kwargs[key] = rcParams['savefig.%s'%key]
  1013
-> 1014         self.canvas.print_figure(*args, **kwargs)
  1015
  1016     def colorbar(self, mappable, cax=None, ax=None, **kw):

/usr/lib/python2.5/site-packages/matplotlib/backend_bases.pyc in 
print_figure(self, filename, dpi, facecolor, edgecolor, orientation, format, 
**kwargs)
  1285                 edgecolor=edgecolor,
  1286                 orientation=orientation,
-> 1287                 **kwargs)
  1288         finally:
  1289             self.figure.dpi = origDPI

/usr/lib/python2.5/site-packages/matplotlib/backend_bases.pyc in 
print_eps(self, *args, **kwargs)
  1174         from backends.backend_ps import FigureCanvasPS # lazy import
  1175         ps = self.switch_backends(FigureCanvasPS)
-> 1176         return ps.print_eps(*args, **kwargs)
  1177
  1178     def print_pdf(self, *args, **kwargs):

/usr/lib/python2.5/site-packages/matplotlib/backends/backend_ps.pyc in 
print_eps(self, outfile, *args, **kwargs)
   841
   842     def print_eps(self, outfile, *args, **kwargs):
--> 843         return self._print_ps(outfile, 'eps', *args, **kwargs)
   844
   845     def _print_ps(self, outfile, format, *args, **kwargs):

/usr/lib/python2.5/site-packages/matplotlib/backends/backend_ps.pyc in 
_print_ps(self, outfile, format, *args, **kwargs)
   867         else:
   868             self._print_figure(outfile, format, dpi, facecolor, 
edgecolor,
--> 869                                orientation, isLandscape, papertype)
   870
   871     def _print_figure(self, outfile, format, dpi=72, facecolor='w', 
edgecolor='w',

/usr/lib/python2.5/site-packages/matplotlib/backends/backend_ps.pyc in 
_print_figure(self, outfile, format, dpi, facecolor, edgecolor, orientation, 
isLandscape, papertype)
   986                     else:
   987                         fonttype = rcParams['ps.fonttype']
--> 988                         convert_ttf_to_ps(font_filename, fh, 
rcParams['ps.fonttype'], glyph_ids)
   989         print >>fh, "end"
   990         print >>fh, "%%EndProlog"

RuntimeError: more keyword list entries than argument specifiers
WARNING: Failure executing file: <S_vs_R.py>

Reply via email to