charts_bar_width.py¶
from bokeh.charts import Bar, output_file, show
from bokeh.sampledata.autompg import autompg as df
p = Bar(df, 'yr', values='displ',
title="Total DISPL by YR", bar_width=0.4)
output_file("bar.html")
show(p)
bokeh Commandsfrom bokeh.charts import Bar, output_file, show
from bokeh.sampledata.autompg import autompg as df
p = Bar(df, 'yr', values='displ',
title="Total DISPL by YR", bar_width=0.4)
output_file("bar.html")
show(p)