---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-4-7c46868a65e1> in <module>()
----> 1 pb = ProgressBarIPyNb(5, title='Outer')
2 pb_inner = ProgressBarIPyNb(5, title='Inner')
3 for i in pb:
4 for j in pb_inner:
5 sleep(0.5 * random())
/usr/local/lib/python3.4/dist-packages/ipy_progressbar/ipynb_bar.py in __init__(self, iterable_or_max, title, format_str)
21 self.log_w = iw.HTML()
22 self.log_header_w = iw.HTML('<h2><small>Log messages</small></h2>')
---> 23 directional_link((self.log_check_w, 'value'), (self.log_w, 'visible'))
24 directional_link((self.log_check_w, 'value'), (self.log_header_w, 'visible'))
25
/usr/local/lib/python3.4/dist-packages/traitlets/traitlets.py in __init__(self, source, target, transform)
324 def __init__(self, source, target, transform=None):
325 self._transform = transform if transform else lambda x: x
--> 326 _validate_link(source, target)
327 self.source, self.target = source, target
328 try:
/usr/local/lib/python3.4/dist-packages/traitlets/traitlets.py in _validate_link(*tuples)
250 raise TypeError("Each object must be HasTraits, not %r" % type(obj))
251 if not trait_name in obj.traits():
--> 252 raise TypeError("%r has no trait %r" % (obj, trait_name))
253
254 class link(object):
TypeError: <ipywidgets.widgets.widget_string.HTML object at 0x7febec3149b0> has no trait 'visible'