Re: [Matplotlib-users] xlabel cropped

2013-07-03 Thread Benjamin Root
Not a bother. This is a fairly common problem because matplotlib, by design, does not handle layouts for you. If you are looking for an automated way of handling this, there is plt.tight_layout(), which is a feature that was added in v1.2, IIRC, that tries adjusting certain spacing and size parame

Re: [Matplotlib-users] xlabel cropped

2013-07-03 Thread Florian Lindner
Am Mittwoch, 3. Juli 2013, 20:02:30 schrieb Florian Lindner: > Hello! > > I have that snipped to create a plot: > > import matplotlib.pyplot as plt > size = (6.1, 3.5) > fig = plt.figure(figsize=size) > plt.xlabel("$x/l_F$") > > it's being saved as eps for latex. At the size given the "F" from l

[Matplotlib-users] xlabel cropped

2013-07-03 Thread Florian Lindner
Hello! I have that snipped to create a plot: import matplotlib.pyplot as plt size = (6.1, 3.5) fig = plt.figure(figsize=size) plt.xlabel("$x/l_F$") it's being saved as eps for latex. At the size given the "F" from l_F is truncated just a little bit. It works well if I change y-size to 3.6 but t