On Sun, Oct 16, 2011 at 1:55 PM, C M wrote:
> However, I can't get it to work correct with Figure. I'm either getting
> that same error or failure to adjust the Figure's size to accommodate the
> axes' labels. I attach a minimal runnable sample that demonstrates these
> problems for those that e
> In your example code, do you see the error raised only when you
> include the tight_layout call?
Yes. To see this (at least on my platform), you take the example code
and try two things:
1) Comment IN this line: self.panel.Layout(). Run it and you'll get the error.
3) Now comment OUT the tigh
On Mon, Oct 17, 2011 at 1:03 AM, C M wrote:
> - Error if I call self.panel.Layout() before I call tight_layout().
In my system, I don't see any error whether ` self.panel.Layout() is in or not.
> - If I don't do this, no error, but it still isn't doing a proper tight
> layout.
>
Your script DO
> So, it seems that the issue is platform-dependent.
OK.
> As for the error message, it seems that the subplot_params values
> (left, right, top, bottom, etc) calculated by the "tight_layout"
> routine is somehow corrupted.
> Why this happens is hard to track down unless I can reproduce the error