From cd11bc895b394108e50113a62995d6b9a306842c Mon Sep 17 00:00:00 2001 From: Mark Pullin Date: Fri, 9 Feb 2018 13:16:33 +0000 Subject: [PATCH] Fix visible dimensions for plotting inducing points --- GPy/plotting/gpy_plot/gp_plots.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPy/plotting/gpy_plot/gp_plots.py b/GPy/plotting/gpy_plot/gp_plots.py index 230d47f0..a12fc858 100644 --- a/GPy/plotting/gpy_plot/gp_plots.py +++ b/GPy/plotting/gpy_plot/gp_plots.py @@ -337,7 +337,7 @@ def plot(self, plot_limits=None, fixed_inputs=None, plot_data = False plots = {} if hasattr(self, 'Z') and plot_inducing: - plots.update(_plot_inducing(self, canvas, visible_dims, projection, 'Inducing')) + plots.update(_plot_inducing(self, canvas, free_dims, projection, 'Inducing')) if plot_data: plots.update(_plot_data(self, canvas, which_data_rows, which_data_ycols, free_dims, projection, "Data")) plots.update(_plot_data_error(self, canvas, which_data_rows, which_data_ycols, free_dims, projection, "Data Error"))