title: Bokeh is behaving in mysterious way
body: <pre><code>import numpy as np
  from bokeh.plotting import * 
  from bokeh.models import ColumnDataSource
  </code></pre>
  
  <h1>prepare data</h1>
  
  <pre><code>N = 300
  x = np.linspace(0,4*np.pi, N)
  y0 = np.sin(x)
  y1 = np.cos(x)
  output_notebook()
  
  #create a column data source for the plots to share
  source = ColumnDataSource(data = dict(x = x, y0 = y0, y1 = y1))
  
  Tools = "pan, wheel_zoom, box_zoom, reset, save, box_select, lasso_select"
  </code></pre>
  
  <h1>create a new plot and add a renderer</h1>
  
  <pre><code>left = figure(tools = Tools, plot_width = 350, plot_height = 350, title = 'sinx')
  left.circle(x, y0,source = source )
  </code></pre>
  
  <h1>create another plot and add a renderer</h1>
  
  <pre><code>right = figure(tools = Tools, plot_width = 350, plot_height = 350 , title = 'cosx')
  right.circle(x, y1, source = source)
  </code></pre>
  
  <h1>put the subplot in gridplot and show the plot</h1>
  
  <pre><code>p = gridplot([[left, right]])
  show(p)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/To6If.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/To6If.png" alt="enter image description here"></a></p>
  
  <p><strong>something is wrong with sin graph. Don't know why 'Bokeh' is behaving like this.But if I write y's into  Double or single quotation marks/inverted commas then things work fine</strong> </p>
  
  <pre><code>left.circle(x, 'y0',source = source )
  
  right.circle(x, 'y1', source = source)
  </code></pre>
  
  <h1>put the subplot in gridplot and show the plot</h1>
  
  <pre><code>p = gridplot([[left, right]])
  show(p)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/OFNQh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OFNQh.png" alt="enter image description here"></a></p>
  
  <p>Things I tried to resolve the problem</p>
  
  <p>1) Restarted my notebook . (Easiest way to solve problem)</p>
  
  <p>2) Generated the output into new window.</p>
  
  <p>3) Generated plot separately instead of grid plot.</p>
  
  <p>Please help me out to find out the reason behind the scene. </p>
  
  <p>Am I doing something wrong ?
  Is it a bug ?</p>