Remove Patch Rectangle Around Plot

Hopefully a really simple question. How do I remove the "box" (the
black rectangle) around the plot.

I tried

ax = fig.add_subplot(111)
ax.patch.set_visible(False)

but this makes the entire patch invisible.

Thanks,

Mark

Mark Larsen wrote:

Hopefully a really simple question. How do I remove the "box" (the
black rectangle) around the plot.

I tried

ax = fig.add_subplot(111)
ax.patch.set_visible(False)

but this makes the entire patch invisible.

Thanks,

Mark

------------------------------------------------------------------------------

I think what you want is

ax = fig.add_subplot(111,frameon=False)

JLS

I think what you want is

ax = fig.add_subplot(111,frameon=False)

JLS

D'oh, I knew it had to be easy. Thanks JLS.