def __init__(self, spurset, fef, parent): self.spurset, self.mx, self.fef = spurset, spurset.mixer, fef self.parent = parent self.spurstyles = styles() self.spurlines = {} self.feflines = [] self.watchers = [] self.active_watchers = []
def __init__(self, spurset, fef): self.spurset, self.mx, self.fef = spurset, spurset.mixer, fef self.spurstyles = styles() self.spurlines = {} self.feflines = [] self.fig = Figure() self.canvas = FigureCanvas(self.fig) self.ax = mpl.axes.Axes(self.fig, [0.1, 0.1, 0.7, 0.9]) self.ax.set_xlim(self.spurset.RFmin, self.spurset.RFmax) self.ax.set_ylim(-0.5*self.spurset.dspan, 0.5*self.spurset.dspan) self.ax.grid(True) self.fig.add_axes(self.ax)