diff --git a/GPy/plotting/matplot_dep/dim_reduction_plots.py b/GPy/plotting/matplot_dep/dim_reduction_plots.py index 57d932cc..ca2c890f 100644 --- a/GPy/plotting/matplot_dep/dim_reduction_plots.py +++ b/GPy/plotting/matplot_dep/dim_reduction_plots.py @@ -121,7 +121,7 @@ def plot_latent(model, labels=None, which_indices=None, if plot_inducing: Z = param_to_array(model.Z) ax.plot(Z[:, input_1], Z[:, input_2], '^w') - + ax.set_xlim((xmin, xmax)) ax.set_ylim((ymin, ymax)) @@ -132,7 +132,7 @@ def plot_latent(model, labels=None, which_indices=None, except Exception as e: print "Could not invoke tight layout: {}".format(e) pass - + if updates: try: ax.figure.canvas.show()