

def plot(self, y, plt=plt):
    'some basic plots'
    plt.figure()
    plt.plot(self.x, self.y, 'bo-', self.x, self.yest, 'r.-')
    plt.title('sample (training) points')
    plt.figure()
    y.plot(self.xpredict, y, 'bo-', self.xpredict, self.ypredict, 'r.-')
    plt.title('all points')

dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/sandbox/regression/kernridgeregress_class.py GaussProcess.plot/VarMisuse@62/83 `plt`->`y`