Bokeh (Python) Figure.vbar() vs Bar()
<p>I'm just starting to take a look at Bokeh for data visualization and am wondering the advantage/disadvantage to using <code>Figure.vbar()</code> vs <code>Bar()</code> if someone could clarify. </p>

<p><code>bar</code> is from the high level <strong>Charts</strong> interface.  It gives you quick, easy access to bar charts with limited control.</p>

<p><code>vbar</code> is from the mid level <strong>Plotting</strong> interface and gives you more control over the layout of your bar chart.  Alternatives to <code>vbar</code> would be <code>rect</code> and <code>quad</code>, both from the <strong>Plotting</strong> interface.  They give a few distinctive options for bar shape, location, etc.</p>

<blockquote>
  <p><code>bar</code> is much easier if you don't need to do anything fancy.  If you decide you want more control over your plot (like <code>HoverTool</code> etc) you will have to instantiate a <code>Figure</code> and use one of it's methods.</p>
</blockquote>

<hr>

<p><code>bar</code> docs <a href="http://bokeh.pydata.org/en/0.11.0/docs/reference/charts.html#bar" rel="nofollow">Here</a></p>

<p>and </p>

<p><code>vbar</code> docs <a href="http://bokeh.pydata.org/en/latest/docs/reference/plotting.html#bokeh.plotting.figure.Figure.vbar" rel="nofollow">Here</a></p>

<p>I use both, depending on my needs.</p>

python bokeh