mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-08 03:22:38 +02:00
whitespaces
This commit is contained in:
parent
4eac8a5965
commit
8f54449a4e
1 changed files with 2 additions and 2 deletions
|
|
@ -121,7 +121,7 @@ def plot_latent(model, labels=None, which_indices=None,
|
||||||
if plot_inducing:
|
if plot_inducing:
|
||||||
Z = param_to_array(model.Z)
|
Z = param_to_array(model.Z)
|
||||||
ax.plot(Z[:, input_1], Z[:, input_2], '^w')
|
ax.plot(Z[:, input_1], Z[:, input_2], '^w')
|
||||||
|
|
||||||
ax.set_xlim((xmin, xmax))
|
ax.set_xlim((xmin, xmax))
|
||||||
ax.set_ylim((ymin, ymax))
|
ax.set_ylim((ymin, ymax))
|
||||||
|
|
||||||
|
|
@ -132,7 +132,7 @@ def plot_latent(model, labels=None, which_indices=None,
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print "Could not invoke tight layout: {}".format(e)
|
print "Could not invoke tight layout: {}".format(e)
|
||||||
pass
|
pass
|
||||||
|
|
||||||
if updates:
|
if updates:
|
||||||
try:
|
try:
|
||||||
ax.figure.canvas.show()
|
ax.figure.canvas.show()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue