Re: [Matplotlib-users] Legend: Space between text and upper border

2006-07-13 Thread Benoit Donnet
Hi, 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

[Matplotlib-users] Legend: Space between text and upper border

2006-07-12 Thread Till Wagner
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