mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-04 01:02:39 +02:00
Convert print to function for Python 3 compatibility
This commit is contained in:
parent
4512964f09
commit
4b4e5d4901
5 changed files with 10 additions and 10 deletions
|
|
@ -12,7 +12,7 @@ except:
|
|||
|
||||
def plot_optimizer(optimizer):
|
||||
if optimizer.trace == None:
|
||||
print "No trace present so I can't plot it. Please check that the optimizer actually supplies a trace."
|
||||
print("No trace present so I can't plot it. Please check that the optimizer actually supplies a trace.")
|
||||
else:
|
||||
pb.figure()
|
||||
pb.plot(optimizer.trace)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue