Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Widgets are not IPython 3 compatible #2

Open
flutefreak7 opened this issue Aug 5, 2015 · 1 comment
Open

Widgets are not IPython 3 compatible #2

flutefreak7 opened this issue Aug 5, 2015 · 1 comment

Comments

@flutefreak7
Copy link

I found your IPython tutorials very helpful, but I had to convert them to IPython 3 format to get the notebooks to work.

Here is the guide for converting to IPython 3 style widgets: https://ipython.org/ipython-doc/3/whatsnew/version3_widget_migration.html

For the most part it makes the code look better (css properties are now direct attributes, and button styles can be set with button_style attribute, etc.)

Just thought I'd report the suggestion at the very least. There aren't enough good tutorials like this for the IPython widget system.

@icoz
Copy link

icoz commented Apr 1, 2016

import numpy as np
import matplotlib.pyplot as plt

from ipywidgets import *
from IPython.display import display

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants