From 7e18d340bee4767afdf91f4d6eb62d01ef2ae163 Mon Sep 17 00:00:00 2001 From: Ricardo Date: Mon, 21 Sep 2015 13:53:25 +0100 Subject: [PATCH] errobars_trainset -> plot_errorbars_trainset --- GPy/core/gp.py | 4 ++-- GPy/plotting/matplot_dep/models_plots.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/GPy/core/gp.py b/GPy/core/gp.py index 8a2e86c5..2ed0f280 100644 --- a/GPy/core/gp.py +++ b/GPy/core/gp.py @@ -640,7 +640,7 @@ class GP(Model): fignum, ax, data_symbol, **kw) - def errorbars_trainset(self, which_data_rows='all', + def plot_errorbars_trainset(self, which_data_rows='all', which_data_ycols='all', fixed_inputs=[], fignum=None, ax=None, linecol=None, data_symbol='kx', predict_kw=None, plot_training_data=True,lw=None): @@ -669,7 +669,7 @@ class GP(Model): kw = {} if lw is not None: kw['lw'] = lw - return models_plots.errorbars_trainset(self, which_data_rows, which_data_ycols, fixed_inputs, + return models_plots.plot_errorbars_trainset(self, which_data_rows, which_data_ycols, fixed_inputs, fignum, ax, linecol, data_symbol, predict_kw, plot_training_data, **kw) diff --git a/GPy/plotting/matplot_dep/models_plots.py b/GPy/plotting/matplot_dep/models_plots.py index c0864604..b32331ed 100644 --- a/GPy/plotting/matplot_dep/models_plots.py +++ b/GPy/plotting/matplot_dep/models_plots.py @@ -341,7 +341,7 @@ def fixed_inputs(model, non_fixed_inputs, fix_routine='median', as_list=True, X_ return X -def errorbars_trainset(model, which_data_rows='all', +def plot_errorbars_trainset(model, which_data_rows='all', which_data_ycols='all', fixed_inputs=[], fignum=None, ax=None, linecol='red', data_symbol='kx',