ipython-books / cookbook-code

[DEPRECATED] See the new edition:

Home Page:http://ipython-books.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change in widgets in IPython 3.0

rossant opened this issue · 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.

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