[matplotlib] pylab -> pyplot

This commit is contained in:
Max Zwiessele 2015-09-10 08:55:54 +01:00
parent b5f5f39007
commit c1a2f7e556
16 changed files with 17 additions and 17 deletions

View file

@ -3,7 +3,7 @@
import numpy as np
try:
import pylab as pb
from matplotlib import pyplot as pb
except:
pass
import GPy

View file

@ -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()

View file

@ -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