3
我使用背景虛化Python中的柱狀圖:蟒蛇背景虛化直方圖:調整X規模和圖表樣式
from bokeh.charts import Histogram
from bokeh.sampledata.autompg import autompg as df
#from bokeh.charts import defaults, vplot, hplot, show, output_file
p = Histogram(df, values='hp', color='cyl',
title="HP Distribution (color grouped by CYL)",
legend='top_right')
output_notebook() ## output inline
show(p)
我想調整如下: - X比例變更日誌10 - 取而代之的酒吧,我想要一條平滑線(如分佈圖)
有誰知道如何進行這些調整?
看看這有助於:https://stackoverflow.com/questions/22729019 /-一個陣列分佈情節的 – Dalton