[verbose opt] ipython notebook new version widget changes

This commit is contained in:
mzwiessele 2015-03-23 14:30:25 +00:00
parent b0ee68a8b9
commit 66c7da879a

View file

@ -30,7 +30,7 @@ class VerboseOptimization(object):
from IPython.display import display from IPython.display import display
from IPython.html.widgets import IntProgress, HTML, Box, VBox, HBox, FlexBox from IPython.html.widgets import IntProgress, HTML, Box, VBox, HBox, FlexBox
self.text = HTML(width='100%') self.text = HTML(width='100%')
self.progress = IntProgress(description='Progress:', min=0, max=maxiters) self.progress = IntProgress(min=0, max=maxiters)
#self.progresstext = Text(width='100%', disabled=True, value='0/{}'.format(maxiters)) #self.progresstext = Text(width='100%', disabled=True, value='0/{}'.format(maxiters))
self.model_show = HTML() self.model_show = HTML()
self.ipython_notebook = ipython_notebook self.ipython_notebook = ipython_notebook