diff --git a/GPy/models_modules/bayesian_gplvm.py b/GPy/models_modules/bayesian_gplvm.py index 57e50955..74eeb4b7 100644 --- a/GPy/models_modules/bayesian_gplvm.py +++ b/GPy/models_modules/bayesian_gplvm.py @@ -272,7 +272,8 @@ class BayesianGPLVM(SparseGP, GPLVM): if i < self.X.shape[1] - 1: a.set_xticklabels('') pylab.draw() - fig.tight_layout(h_pad=.01) # , rect=(0, 0, 1, .95)) + if ax is None: + fig.tight_layout(h_pad=.01) # , rect=(0, 0, 1, .95)) return fig def getstate(self):