Merge pull request #600 from marpulli/plotting_fix

Fix visible dimensions for plotting inducing points
This commit is contained in:
Max Zwiessele 2018-02-12 15:08:13 +01:00 committed by GitHub
commit 6f77b5d215
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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