In [2]:
from ipywidgets import interact
def f(x, a, b):
return a * x + b
interact(f, x=(-10,10, 1), a=(-10,10, 1), b=(-10,10, 1))
Out[2]:
In [3]:
import ipywidgets
ipywidgets.Text("hello")
In [ ]: