From e96d40b4cccd5c176a5cc54f4ae5ae49f40dc48e Mon Sep 17 00:00:00 2001 From: James Hensman Date: Mon, 17 Feb 2014 12:10:41 +0000 Subject: [PATCH] removed sampling keyword (sampling is a silly thing to have as an option --- GPy/plotting/matplot_dep/models_plots.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPy/plotting/matplot_dep/models_plots.py b/GPy/plotting/matplot_dep/models_plots.py index 177b9a95..4e6589b4 100644 --- a/GPy/plotting/matplot_dep/models_plots.py +++ b/GPy/plotting/matplot_dep/models_plots.py @@ -134,7 +134,7 @@ def plot_fit(model, plot_limits=None, which_data_rows='all', m, _ = model._raw_predict(Xgrid, which_parts=which_parts) Y = model.likelihood.Y else: - m, _, _, _ = model.predict(Xgrid, which_parts=which_parts,sampling=False) + m, _, _, _ = model.predict(Xgrid, which_parts=which_parts) Y = model.likelihood.data for d in which_data_ycols: m_d = m[:,d].reshape(resolution, resolution).T