cookbook-code icon indicating copy to clipboard operation
cookbook-code copied to clipboard

Change in widgets in IPython 3.0

Open rossant opened this issue 9 years ago • 1 comments

As reported by one user:

Page: 19 & 20

In the example that begins:

"10. Now, we illustrate the latest interactive features in IPython 2.0+, namely JavaScript widgets."

I had to change the world 'values' to 'options' in

dw = DropdownWidget(values=OrderedDict([

and

dw.value = dw.values['SciPy 2013'].

Using IPython 3.1.0, Python 2.7.9.

rossant avatar Apr 15 '15 08:04 rossant

Wow thanks, i was beginning to think I just could not understand plain thinking lol

deannariddlespur avatar Feb 06 '16 13:02 deannariddlespur