savefig crashes when grid is on

Hi John

When I try to save any figure with a grid in .eps
format, I get an error message. I am using the 0.74
version.

The error message:

Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File
"/home/camp/s991416/lib/python/matplotlib/pylab.py",
line 720, in savefig
    return fig.savefig(*args, **kwargs)
  File
"/home/camp/s991416/lib/python/matplotlib/figure.py",
line 512, in savefig
    self.canvas.print_figure(*args, **kwargs)
  File
"/home/camp/s991416/lib/python/matplotlib/backends/backend_tkagg.py",
line 161, in print_figure
    agg.print_figure(filename, dpi, facecolor,
edgecolor, orientation)
  File
"/home/camp/s991416/lib/python/matplotlib/backends/backend_agg.py",
line405, in print_figure
    ps.print_figure(filename, dpi, facecolor,
edgecolor, orientation)
  File
"/home/camp/s991416/lib/python/matplotlib/backends/backend_ps.py",
line 742, in print_figure
    self.figure.draw(renderer)
  File
"/home/camp/s991416/lib/python/matplotlib/figure.py",
line 395, in draw
    for a in self.axes: a.draw(renderer)
  File
"/home/camp/s991416/lib/python/matplotlib/axes.py",
line 1362, in draw
    self.xaxis.draw(renderer)
  File
"/home/camp/s991416/lib/python/matplotlib/axis.py",
line 524, in draw
    tick.draw(renderer)
  File
"/home/camp/s991416/lib/python/matplotlib/axis.py",
line 136, in draw
    if midPoint and self.gridOn:
self.gridline.draw(renderer)
  File
"/home/camp/s991416/lib/python/matplotlib/lines.py",
line 286, in draw
    lineFunc(renderer, gc, xt, yt)
  File
"/home/camp/s991416/lib/python/matplotlib/lines.py",
line 572, in _draw_dotted
    renderer.draw_lines(gc, xt, yt)
  File
"/home/camp/s991416/lib/python/matplotlib/backends/backend_ps.py",
line 367, in draw_lines
    self._draw_lines(gc,to_draw)
  File
"/home/camp/s991416/lib/python/matplotlib/backends/backend_ps.py",
line 350, in _draw_lines
    self._draw_ps("\n".join(ps), gc, None)
  File
"/home/camp/s991416/lib/python/matplotlib/backends/backend_ps.py",
line 557, in _draw_ps
    self.set_linewidth(gc.get_linewidth())
  File
"/home/camp/s991416/lib/python/matplotlib/backends/backend_ps.py",
line 112, in set_linewidth
    self._pswriter.write("%1.3f
setlinewidth\n"%linewidth)
TypeError: float argument required

···

__________________________________
Yahoo! Messenger
Show us what our next emoticon should look like. Join the fun.
http://www.advision.webevents.yahoo.com/emoticontest