Legend: Space between text and upper border

Hello,

I'm having a problem with the legend in matplotlib.
Sometimes the upper border of the legend goes throug
the first line of text in the legend. Is there any
chance to control the space between the text and the
upper border to avoid this?

-- Till Wagner

···

___________________________________________________________
Der fr�he Vogel f�ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de

You can set legend.pad in your rc settings, or you can change the legend's pad
property either when you create it or after the fact

l=legend(['ok'], pad=0.5)
l.pad=1.5
draw()

Would you post an example that exposes the problem?

Darren

···

On Wednesday 12 July 2006 10:12 pm, Till Wagner wrote:

Hello,

I'm having a problem with the legend in matplotlib.
Sometimes the upper border of the legend goes throug
the first line of text in the legend. Is there any
chance to control the space between the text and the
upper border to avoid this?