On Sat, Oct 15, 2011 at 10:15 AM, Jae-Joon Lee <lee.j.j...@gmail.com> wrote:
> Figure.tight_layout() is a correct way. > Do you see that error only when you use Figure.tight_plot (and not > when you use plt.tight_layout)? > Yes. > What happen you try the script below. > > import matplotlib.pyplot as plt > fig = plt.figure(1)ax = fig.add_subplot(111)fig.tight_layout() > That runs without error. 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 embed in wxPython. Thanks, Che
testing_tight_layout.py
Description: Binary data
------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users