wx.lib.plot.py

Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Feb 2008
Posts: 2
Reputation: flazwy is an unknown quantity at this point 
Solved Threads: 0
flazwy flazwy is offline Offline
Newbie Poster

wx.lib.plot.py

 
0
  #1
Feb 6th, 2008
I'm new to GUI's and have has some trouble with the wx.lib.plot.py module. I can insert the graph panel into an app, but I can not get the panel to expand when the window is resized. I've read about the need to set the initial size, but... is this plotting panel not capable of resizing itself?

thanks
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 1,546
Reputation: Ene Uran has a spectacular aura about Ene Uran has a spectacular aura about 
Solved Threads: 174
Ene Uran's Avatar
Ene Uran Ene Uran is offline Offline
Posting Virtuoso

Re: wx.lib.plot.py

 
0
  #2
Feb 7th, 2008
Do you have it set up with sizer?
drink her pretty
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 2
Reputation: flazwy is an unknown quantity at this point 
Solved Threads: 0
flazwy flazwy is offline Offline
Newbie Poster

Re: wx.lib.plot.py

 
0
  #3
Feb 8th, 2008
I generated a gui via Glade, with multiple sizers and panels. when running it, visually it looks fine. I've created a plotpanel(wx.lib.plot.PlotCanvas) with my panel as parent. The plotcanvas would appear, but very small, even though it was created with style= wx.EXPAND. I had to set the initial size to get it to fit the parent panel. When I resize the app, everything grows, but the plotcanvas. I've tried to make a workaround my resizing the plotcanvas to the size of the parent panel on resize events, but haven't had some much luck. The basic question I am trying to get answered is this plotcanvas ,wx.lib.plot.PlotCanvas, not designed to expand into anything but a frame. in a frame it seems to work fine.

Thanks
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 1,071
Reputation: woooee is a jewel in the rough woooee is a jewel in the rough woooee is a jewel in the rough 
Solved Threads: 299
woooee woooee is offline Offline
Veteran Poster

Re: wx.lib.plot.py

 
0
  #4
Feb 9th, 2008
Is it defined as a CollapsiblePane, see here http://www.wxpython.org/docs/api/frames.html You can also check with the wxpython mailing list if you don't find an answer here http://www.wxpython.org/maillist.php
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 2140 | Replies: 3
Thread Tools Search this Thread



Tag cloud for Python
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC