[wxPython-users] wx.lib.plot: Graph in Panel

Josiah Carlson jcarlson at uci.edu
Tue May 1 18:39:56 PDT 2007


Telly Williams <TWilliams001 at elp.rr.com> wrote:
> Hi,
> 
> 	Needed: Put a graph inside a panel instead of a frame.
> 
> 	Problem: it seems, according to the tutorial and examples, that the
> wx.lib.plot only works within a frame.  Is that all?

Solution:

Create a sizer.  Add the wx.lib.plot instance to the sizer.  Call
panel.SetSizer(sizer) .


 - Josiah





More information about the wxpython-users mailing list