title: Python Bokeh: remove toolbar from chart
body: <p><em>Note from maintainers: The specifics of this question concern the <code>bokeh.charts</code> API which is obsolete and was removed several years ago. In modern Bokeh, specify <code>toolbar_location</code>:</em></p>
  
  <pre><code>p = figure(toolbar_location=None)
  </code></pre>
  
  <hr>
  
  <hr>
  
  <p><strong><em>OBSOLETE:</em></strong></p>
  
  <p>I don't seem to be able to remove the toolbar from a bokeh Bar chart. Despite setting the <em>tools</em> argument to <em>None</em> (or <em>False</em> or <em>''</em>) I always end up with the bokeh logo and a grey line, e.g. with this code:</p>
  
  <pre><code>from bokeh.charts import Bar, output_file, show
  
  # prepare some data
  data = {"y": [6, 7, 2, 4, 5], "z": [1, 5, 12, 4, 2]}
  
  # output to static HTML file
  output_file("bar.html")
  
  # create a new line chat with a title and axis labels
  p = Bar(data, cat=['C1', 'C2', 'C3', 'D1', 'D2'], title="Bar example",
                  xlabel='categories', ylabel='values', width=400, height=400,
                  tools=None)
  
  # show the results
  show(p)
  </code></pre>
  
  <p>However, when I try the same with a bokeh <em>plot</em>, it works perfectly fine and the toolbar is gone, e.g. with this code:</p>
  
  <pre><code>from bokeh.plotting import figure, output_file, show
  
  output_file("line.html")
  
  p = figure(plot_width=400, plot_height=400, toolbar_location=None)
  
  # add a line renderer
  p.line([1, 2, 3, 4, 5], [6, 7, 2, 4, 5], line_width=2)
  
  show(p)
  </code></pre>
  
  <p>Does anyone know what I'm doing wrong?</p>