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 <[EMAIL PROTECTED]> ___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users