Re: [Matplotlib-users] axis labels clipped

2011-09-23 Thread Tony Yu
On Fri, Sep 23, 2011 at 9:01 AM, Kurt Mueller wrote: > > Without the resize event it works as expected. > With the resize event (as you suggested), > it only adjusts the borders of the four axes to the outside of the figure. > But between the axes there is no space at all. > > Do I miss something

Re: [Matplotlib-users] axis labels clipped

2011-09-23 Thread Kurt Mueller
A while back, I wrote some functions to calculate a good set of parameters for subplots_adjust (see attached; examples in if-main block at bottom). I've been using these functions pretty regularly, and it works pretty well for my purposes. The function has to draw the figure a couple of times

Re: [Matplotlib-users] axis labels clipped

2011-09-23 Thread yam850
Tony Yu-3 wrote: > > A while back, I wrote some functions to calculate a good set of parameters > for subplots_adjust (see attached; examples in if-main block at bottom). > I've been using these functions pretty regularly, and it works pretty well > for my purposes. > > The function has to dr

Re: [Matplotlib-users] axis labels clipped

2010-09-17 Thread Erik Janssens
Hello Tony, thanks a lot for the code, I'll try it out ! Regards, Erik On Fri, 2010-09-17 at 09:46 -0400, Tony S Yu wrote: > On Sep 17, 2010, at 8:58 AM, Erik Janssens wrote: > > > Hi, > > > > I'm using matplotlib in a pyqt context, as described > > in the book 'Matplotlib for python develope

Re: [Matplotlib-users] axis labels clipped

2010-09-17 Thread Tony S Yu
On Sep 17, 2010, at 8:58 AM, Erik Janssens wrote: > Hi, > > I'm using matplotlib in a pyqt context, as described > in the book 'Matplotlib for python developers'. > > When the window is large enough, everything works > fine, but when the window is too small part of > the x-axis labels get chopp