Suppose, I have the following code:
from ipywidgets import interact, interactive
import ipywidgets as widgets
def f(x):
return x
interact(f, x=(0,10,1));
The resulting interactive slider is nice but pretty small in terms of horizontal length. When the range of x is large, such as 0 - 1000, it becomes exceedingly difficult taking small steps using that slider. How can I increase the length of the slider?