In [1]:
%reload_ext autoreload
%autoreload 2

In [2]:
from IPython.html.widgets import IntSlider
from ipytangle import tangle


:0: FutureWarning: IPython widgets are experimental and may change in the future.

In [3]:
x = IntSlider(min=-10, max=10)
x

In [4]:
t = tangle(x=x, y=(0, lambda x: x**2))
t

x times itself is y.