bgplvm steepest gradient map update

This commit is contained in:
mzwiessele 2014-01-29 10:46:37 +00:00
parent ca190fe232
commit 1d932cb1b9

View file

@ -215,12 +215,13 @@ class BayesianGPLVM(SparseGP, GPLVM):
from matplotlib.cm import get_cmap
from GPy.util.latent_space_visualizations.controllers.imshow_controller import ImAnnotateController
if not 'cmap' in kwargs.keys():
kwargs.update(cmap=get_cmap('jet'),))
controller = ImAnnotateController(ax,
plot_function,
tuple(self.X.min(0)[:, significant_dims]) + tuple(self.X.max(0)[:, significant_dims]),
resolution=resolution,
aspect=aspect,
cmap=get_cmap('jet'),
**kwargs)
ax.legend()
ax.figure.tight_layout()