title: Interactive Bokeh plot in Jupyter Notebook not updating
body: <p>I have written the following little script with which I simply want to plot an interactive sine curve where I can change the amplitude of the curve and the title of the figure. Though, as output I get the figure together with the slider and text field but altering the values does not change the curve or title.</p>
  <pre><code>import numpy as np
  import pandas as pd
  from bokeh.io import push_notebook, show, output_notebook
  from bokeh.layouts import widgetbox, row
  from bokeh.models.widgets import Slider, TextInput
  from bokeh.plotting import figure
  from ipywidgets import interact
  
  
  x = np.linspace(0,2*np.pi,2000)
  y = np.sin(x)
  
  df_data = pd.DataFrame({'x':x,'y':y})
  
  p = figure(plot_height=300,plot_width=600,title=&quot;my sine wave&quot;)
  p.line('x','y',source=df_data)
  
  
  # Set up widges
  amplitude = Slider(title=&quot;amlitude&quot;, value=0.0, start=0.01, end=0.99, step=0.01)
  text = TextInput(title=&quot;title&quot;, value='my sine wave')
  
  # Update
  def update_data(attrname, old, new):
  
      # Get the current slider values
      a = amplitude.value
      b = text.value
      
      y = amplitude*np.sin(x)
      
  
      output_notebook()
      show(row(p,widgetbox([amplitude,text])))
      
      
  
  
  text.on_change('value', update_data)
  amplitude.on_change('value',update_data)
      
  
  
  # Set to output the plot in the notebook
  
  output_notebook()
  show(row(p,widgetbox([amplitude,text])))
  </code></pre>
  <p><a href="https://i.stack.imgur.com/NgB7y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NgB7y.png" alt="enter image description here" /></a></p>
  <p>So as you can see, everything works fine instead of the updating of the plot.</p>