📜  散景条形图 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:12.598000             🧑  作者: Mango

代码示例2
from bokeh.charts import Bar, output_file, show
from bokeh.sampledata.autompg import autompg as df

p = Bar(df, 'cyl', values='mpg', title="Total MPG by CYL")

output_file("bar.html")

show(p)