mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-06 18:42:39 +02:00
Change in plot() y-limits
This commit is contained in:
parent
02dc5c7b48
commit
cf3e522069
1 changed files with 1 additions and 1 deletions
|
|
@ -243,7 +243,7 @@ class GP(model):
|
|||
m, var, lower, upper = self.predict(Xnew, slices=which_functions)
|
||||
gpplot(Xnew,m, lower, upper)
|
||||
pb.plot(self.X[which_data],self.likelihood.data[which_data],'kx',mew=1.5)
|
||||
ymin,ymax = lower.min(),upper.max()
|
||||
ymin,ymax = self.likelihood.data.min() -.1*(upper.max()-lower.min()), self.likelihood.data.max()+.1*(upper.max()-lower.min())
|
||||
pb.xlim(xmin,xmax)
|
||||
pb.ylim(ymin,ymax)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue