wxPython problem: Can't assign size of plot.PlotCanvas
decomposer17179 at gmail.com
Wed Apr 28 18:07:56 CEST 2010
Thanks a lot.
I'll check the wx list.
> On Apr 28, 9:13 am, "Kaipo Chang at Taiwan" <decomposer17... at gmail.com>
>> I wrought something like
>> client = plot.PlotCanvas(childFrame2, 2,pos=(300,400),size=(100,200),
>> But the plotcanvas kept filling all the childFrame.
>> Is there a way to Really adjust the size of ploscanvas?
>> Thanks in advance for your help.
> In wxPython, if you add a widget directly to a frame it will
> automatically expand to fill the frame. Instead, add a wxPanel to the
> frame and add your plot canvas to that panel.
> wxPython questions are best asked on the wxPython list, which is also
> on Google Groups or you can email subscribe to it.
More information about the Python-list