[plotly] fixes for mrd

This commit is contained in:
Max Zwiessele 2016-03-01 14:42:31 +00:00
parent df99f982a2
commit 7c173056ed

View file

@ -252,12 +252,9 @@ class MRD(BayesianGPLVMMiniBatch):
M = len(self.bgplvms)
fig = pl().figure(rows=1, cols=M, **fig_kwargs)
plots = {}
for c in range(M):
canvas = self.bgplvms[c].kern.plot_ARD(title=titles[c], figure=fig, col=c+1, **kwargs)
plots[titles[c]] = canvas
pl().show_canvas(canvas)
return plots
return canvas
def plot_latent(self, labels=None, which_indices=None,
resolution=60, legend=True,