Legend: Space between text and upper bo

Hi Benoit,

leg.draw_frame(False) might be an option, but I use
self.axes.grid(True) and when the legend has no
borders, the grid is shown through the text and makes
ist nearly unredable.

-- Till Wagner

···

why don't you try to remove the legend frame?

self.axes.plot(x_value, y_value, 'k-',
                label = labelLegend)

self.axes.legend(loc = 'best', pad = 0.1)
leg = self.axes.get_legend()

leg.draw_frame(False)

You won't have any problem with the legend box
anymore. but maybe, I didn't understand what you
want...

Benoit

--
"Since man's natural instincts lead him to sin, all men are sinners;
and all sinners go to hell. If everyone goes to hell, then you will
meet all your friends there. Heaven must be populated with some
rather strange creatures if all they lived for was to go to a place
where they can stump harps for eternity."- Anton Szandor LaVey
------------------------------------------------------------------------
Till Wagner <sacro_thaan@...9...>

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