On Tue, Aug 12, 2008 at 10:13 PM, Warren Weckesser
<[EMAIL PROTECTED]> wrote:
> 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.)

raise the "bottom" of your subplots

    fig = figure()
    fig.subplots_adjust(bottom=0.2)

the default setting can be controlled in your matplotlibrc file
(http://matplotlib.sf.net/matplotlibrc)

-------------------------------------------------------------------------
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
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to