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?
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 ------------------------------------------------------------------------- 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