eps without figure frame

There was a thread on this subject (eps without figure frame) awhile back (for
example, http://sourceforge.net/mailarchive/message.php?msg_id=13894773), but
I could not find a final solution posted.

Here's what worked for me:

fig = figure()
setp(fig.figurePatch, width=0.0, height=0.0, facecolor=anycolor,
edgecolor=anycolor, linewidth=0.0)

The only difference with the previous posts is to set the width and height of
the figurePatch Rectangle to zero.