

def drawPlot(self):
    ion()
    yvalues.fig = figure()
    axes = self.fig.add_subplot(111)
    xvalues = arange(self.min, self.max, 0.1)
    yvalues = list(map(self.f, xvalues))
    plot(xvalues, yvalues)
    self.line = Line2D([], [], linewidth=3, color='red')
    axes.add_artist(self.line)
    self.line.set_clip_box(axes.bbox)
    axes.set_xlim((min(xvalues) - 0.5), (max(xvalues) + 0.5))
    axes.set_ylim((min(yvalues) - 0.5), (max(yvalues) + 0.5))

dataset/ETHPy150Open pybrain/pybrain/pybrain/rl/environments/simple/renderer.py SimpleRenderer.drawPlot/VarMisuse@14/16 `self`->`yvalues`