In [2]:
%matplotlib inline
import matplotlib.pyplot as plt
import numpy as np
from IPython.html.widgets import interact


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

In [5]:
@interact
def plot_sine(omega=(0,10)):
    x = np.linspace(0,6,1000)
    y = np.sin(x*omega)
    plt.plot(x,y)



In [ ]: