[magnification] plot_magnification expanded

This commit is contained in:
Max Zwiessele 2015-09-03 09:33:07 +01:00
parent ca60ad3195
commit 839e3dc6f0
8 changed files with 64 additions and 60 deletions

View file

@ -181,18 +181,3 @@ class SparseGP(GP):
var[i] = np.diag(var_)+p0-t2
return mu, var
def plot_magnification(self, labels=None, which_indices=None,
resolution=50, ax=None, marker='o', s=40,
fignum=None, legend=True,
plot_limits=None,
aspect='auto', updates=False, plot_inducing=True, **kwargs):
import sys
assert "matplotlib" in sys.modules, "matplotlib package has not been imported."
from ..plotting.matplot_dep import dim_reduction_plots
return dim_reduction_plots.plot_magnification(self, labels, which_indices,
resolution, ax, marker, s,
fignum, plot_inducing, legend,
plot_limits, aspect, updates, **kwargs)