In [1]:
%reload_ext autoreload
%autoreload 2
In [2]:
from IPython.html.widgets import IntSlider
from ipytangle import tangle
In [3]:
x = IntSlider(min=-10, max=10)
x
In [4]:
t = tangle(x=x, y=(0, lambda x: x**2))
t