I tried to use observe for my toggleButton
wtarget = widgets.ToggleButtons(
description='select target',
options=['A', 'B', 'C', 'D', 'E', 'F'])
wtarget.observe(target_on_value_change, names='value')
It displayed this error:
AttributeError: 'ToggleButtons' object has no attribute 'observe'
I had no problem with another MacBook but this one showed the problem. I am using MacBook, 10.12. Python Version 4.0.0. ipywidgets was installed via pip.
Thanks.