Skip to content

Commit

Permalink
fixed ipython checking
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorcampbell authored Feb 14, 2019
1 parent ae6fc62 commit 144d9b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions paramz/optimization/verbose_optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def __init__(self, model, opt, maxiters, verbose=False, current_iteration=0, ipy
#self.progresstext = Text(width='100%', disabled=True, value='0/{}'.format(maxiters))
self.model_show = HTML()
self.ipython_notebook = ipython_notebook
get_ipython
except:
# Not in Ipython notebook
self.ipython_notebook = False
Expand Down

0 comments on commit 144d9b6

Please sign in to comment.