mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-10 04:22:38 +02:00
[matplotlib] pylab -> pyplot
This commit is contained in:
parent
b5f5f39007
commit
c1a2f7e556
16 changed files with 17 additions and 17 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
import numpy as np
|
||||
try:
|
||||
import pylab as pb
|
||||
from matplotlib import pyplot as pb
|
||||
except:
|
||||
pass
|
||||
import GPy
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ def student_t_approx(optimize=True, plot=True):
|
|||
debug=True
|
||||
if debug:
|
||||
m4.optimize(messages=1)
|
||||
import pylab as pb
|
||||
from matplotlib import pyplot as pb
|
||||
pb.plot(m4.X, m4.inference_method.f_hat)
|
||||
pb.plot(m4.X, m4.Y, 'rx')
|
||||
m4.plot()
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
Gaussian Processes regression examples
|
||||
"""
|
||||
try:
|
||||
import pylab as pb
|
||||
from matplotlib import pyplot as pb
|
||||
except:
|
||||
pass
|
||||
import numpy as np
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue