[plotting] more test updates and check for errors

This commit is contained in:
mzwiessele 2016-08-03 09:30:22 +01:00
parent a238aa157f
commit c79f00d91a
8 changed files with 3 additions and 1 deletions

View file

@ -350,7 +350,9 @@ def test_sparse():
m = GPy.models.SparseGPRegression(X, Y, X_variance=np.ones_like(X)*0.1)
#m.optimize()
#m.plot_inducing()
m.plot_data()
_, ax = plt.subplots()
m.plot_data(ax=ax)
m.plot_data_error(ax=ax)
for do_test in _image_comparison(baseline_images=['sparse_gp_{}'.format(sub) for sub in ['data_error']], extensions=extensions):
yield (do_test, )