mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-06 02:24:17 +02:00
[plotly] fixes for mrd
This commit is contained in:
parent
df99f982a2
commit
7c173056ed
1 changed files with 1 additions and 4 deletions
|
|
@ -252,12 +252,9 @@ class MRD(BayesianGPLVMMiniBatch):
|
||||||
|
|
||||||
M = len(self.bgplvms)
|
M = len(self.bgplvms)
|
||||||
fig = pl().figure(rows=1, cols=M, **fig_kwargs)
|
fig = pl().figure(rows=1, cols=M, **fig_kwargs)
|
||||||
plots = {}
|
|
||||||
for c in range(M):
|
for c in range(M):
|
||||||
canvas = self.bgplvms[c].kern.plot_ARD(title=titles[c], figure=fig, col=c+1, **kwargs)
|
canvas = self.bgplvms[c].kern.plot_ARD(title=titles[c], figure=fig, col=c+1, **kwargs)
|
||||||
plots[titles[c]] = canvas
|
return canvas
|
||||||
pl().show_canvas(canvas)
|
|
||||||
return plots
|
|
||||||
|
|
||||||
def plot_latent(self, labels=None, which_indices=None,
|
def plot_latent(self, labels=None, which_indices=None,
|
||||||
resolution=60, legend=True,
|
resolution=60, legend=True,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue