Is it just that the label too close to the border?

"Warren Weckesser" <>
Sent by:

13/08/2008 01:13 PM

[Matplotlib-users] MPL 0.91.2: bottom of xlabel chopped off


Sorry if this is in a FAQ somewhere--my initial attempts to find a solution have failed.

I am using matplotlib version
0.91.2.  When I use savefig to create a plot in which the xlabel text has any kind of "descender" (e.g. "$x_1$", or even simply a "j"), the lower part of the label is chopped off by the bottom edge of the plot.  Any suggestions for avoiding this?  (If this is a known bug that has been fixed in a later version, is there a relatively simple workaround for 0.91.2?  Eventually I'll upgrade, but I'd like to get my plots finished today.)

Thanks for any suggestions or pointers,


This email has been scanned by the MessageLabs Email Security System.
For more information please visit
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
Matplotlib-users mailing list

This email message is the property of United Group. The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, you may not disclose, copy or distribute this email, nor take or omit to take any action in reliance on it. United Group accepts no liability for any damage caused by this email or any attachments due to viruses, interference, interception, corruption or unauthorised access.
If you have received this email in error, please notify United Group immediately by email to the sender's email address and delete this document.