A library for building fast interactive plots in Jupyter notebooks using Qt Widgets.
pip install qtinteract
%gui qt5
from math import pi
from qtinteract import iplot
def f(x, a):
return np.sin(a*x)
x = np.linspace(0, 2*pi, 101)
iplot(x, f, a=(1., 5.))-
"Kernel died": you forgot to run
%gui qt5. -
The window with the plot and the slider does not appear. Look at the taskbar, it might appear behind the browser.
