Re: [Tutor] basics of passing arguments to make a graph

2007-03-23 Thread Alan Gauld
"Che M" <[EMAIL PROTECTED]> wrote > I've been trying to make basic plots (line graphs) > using the pyplot module in wxPython. > class PlotPanel(wx.lib.plot.PlotCanvas): > def __init__(self, *args, **kwargs): > wx.lib.plot.PlotCanvas.__init__(self, *args, **kwargs) > self.Dra

[Tutor] basics of passing arguments to make a graph

2007-03-22 Thread Che M
Hi, this is some *really* beginner Python stuff, hope you folks could help me. I've been trying to make basic plots (line graphs) using the pyplot module (wx.lib.plot) in wxPython. So far, so good. To start, I can use a class like this (adapted from a demo) to draw a pre-defined graph: cla