mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-11 15:15:15 +02:00
Merge pull request #317 from SheffieldML/fix-276
Last minute adjustements for plotly
This commit is contained in:
commit
9f02645406
1 changed files with 2 additions and 5 deletions
|
|
@ -236,7 +236,7 @@ class MRD(BayesianGPLVMMiniBatch):
|
|||
# sharex=sharex, sharey=sharey)
|
||||
# return fig
|
||||
|
||||
def plot_scales(self, titles=None, fig_kwargs=dict(figsize=None, tight_layout=True), **kwargs):
|
||||
def plot_scales(self, titles=None, fig_kwargs={}, **kwargs):
|
||||
"""
|
||||
Plot input sensitivity for all datasets, to see which input dimensions are
|
||||
significant for which dataset.
|
||||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue