Re: [matplotlib-devel] AttributeError: 'FigureCanvasWxAgg' object has no attribute 'SetInitialSize'

2008-06-12 Thread John Hunter
On Wed, Jun 11, 2008 at 4:34 PM, Stan West [EMAIL PROTECTED] wrote: Would you please look over the attached patch? During FigureCanvasWx.__init__, it connects FigureCanvasWx.SetInitialSize to SetBestFittingSize or do_nothing if it isn't already inherited from wx.Panel.

Re: [matplotlib-devel] AttributeError: 'FigureCanvasWxAgg' object has no attribute 'SetInitialSize'

2008-06-12 Thread John Hunter
On Thu, Jun 12, 2008 at 2:54 PM, Nils Wagner [EMAIL PROTECTED] wrote: src/ft2font.cpp: In member function 'Py::Object FT2Image::py_as_array(const Py::Tuple)': src/ft2font.cpp:273: error: cannot convert 'int*' to 'npy_intp*' in argument passing error: command 'gcc' failed with exit status 1

Re: [matplotlib-devel] AttributeError: 'FigureCanvasWxAgg' object has no attribute 'SetInitialSize'

2008-06-11 Thread Stan West
PROTECTED] Sent: Tuesday, June 10, 2008 10:31 To: Stan West Cc: Nils Wagner; matplotlib-devel@lists.sourceforge.net Subject: Re: [matplotlib-devel] AttributeError: 'FigureCanvasWxAgg' object has no attribute 'SetInitialSize' On Tue, Jun 10, 2008 at 9:21 AM, Stan West [EMAIL PROTECTED] wrote

Re: [matplotlib-devel] AttributeError: 'FigureCanvasWxAgg' object has no attribute 'SetInitialSize'

2008-06-10 Thread Stan West
as belonging to wx.Window, from which wx.Panel inherits.) Stan -Original Message- From: John Hunter [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2008 16:05 To: Nils Wagner Cc: matplotlib-devel@lists.sourceforge.net; Stan West Subject: Re: [matplotlib-devel] AttributeError: 'FigureCanvasWxAgg

Re: [matplotlib-devel] AttributeError: 'FigureCanvasWxAgg' object has no attribute 'SetInitialSize'

2008-06-09 Thread Nils Wagner
On Mon, 09 Jun 2008 07:41:05 -1000 Eric Firing [EMAIL PROTECTED] wrote: Nils Wagner wrote: Hi Eric, I have still some trouble with the following example taken from openopt /usr/bin/python -i nlp_3.py starting solver ipopt (license: CPL) with problem nlp3 [PyIPOPT] Ipopt will use

Re: [matplotlib-devel] AttributeError: 'FigureCanvasWxAgg' object has no attribute 'SetInitialSize'

2008-06-09 Thread John Hunter
On Sat, Jun 7, 2008 at 4:36 AM, Nils Wagner [EMAIL PROTECTED] wrote: Hi all, I have some trouble with matplotlib's svn version. Any pointer would be appreciated. self.canvas.SetInitialSize(wx.Size(fig.bbox.width, fig.bbox.height)) AttributeError: 'FigureCanvasWxAgg' object has no

[matplotlib-devel] AttributeError: 'FigureCanvasWxAgg' object has no attribute 'SetInitialSize'

2008-06-07 Thread Nils Wagner
Hi all, I have some trouble with matplotlib's svn version. Any pointer would be appreciated. Thanks in advance Nils /usr/bin/python -i nlp_3.py --verbose-helpful $HOME=/home/nwagner matplotlib data path /usr/lib/python2.4/site-packages/matplotlib/mpl-data loaded rc