| | |
wx.lib.plot.py
Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Feb 2008
Posts: 2
Reputation:
Solved Threads: 0
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
thanks
•
•
Join Date: Feb 2008
Posts: 2
Reputation:
Solved Threads: 0
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
Thanks
•
•
Join Date: Dec 2006
Posts: 1,071
Reputation:
Solved Threads: 299
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
![]() |
Similar Threads
- Wx Plot (Python)
- help with gotoxy visual c++ (C++)
- Python 2.4: AttributeError: 'module' object has no attribute 'argv' (Python)
Other Threads in the Python Forum
- Previous Thread: fetching Unique URL, Domain name and sub domain names from Web Page
- Next Thread: Built-in GUI kit
Views: 2140 | Replies: 3
| Thread Tools | Search this Thread |
Tag cloud for Python
address anydbm app backend bash beginner bits calling class code conversion coordinates copy curves dictionary directory dynamic edit examples excel feet file float format ftp function generator gui halp homework http i/o images import info input ip itunes java keycontrol line linux list lists loop maintain millimeter mouse newb number numbers output panel parsing path port prime print program programming projects py-mailer py2exe pygame pyqt python queue random rational recursion recursive scrolledtext server smtp split ssh statictext string strings sudokusolver table terminal text thread threading time tkinter tlapse tuple tutorial ubuntu unicode update urllib urllib2 variable whileloop windows write wxpython






