In [17]:
from bokeh import mpl
import bokeh.plotting as bk
import pandas as pd
import numpy as np
from IPython.html.widgets import interact
bk.output_notebook()
def update(n=5):
pd.Series(np.arange(n)).plot()
bk.show(mpl.to_bokeh(notebook=True))
interact(update,n=(3,10))
Out[17]:
In [ ]: