예제 #1
0
파일: __init__.py 프로젝트: yrrapt/spurdist
    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 = []
예제 #2
0
    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 = []
예제 #3
0
파일: chart.py 프로젝트: geemoo/spurdist
    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)