Charts 博克的高层图表在哪里;s的最新版本(1.0.3)?
我有一个简短的问题: 我看到0.11.0版中有高级图表: 但是我在上一个版本(1.0.3)中找不到相同的主题?博克团队移除了它吗 我一直在努力使直方图适应我的项目,但在上一版本中找不到直方图部分Charts 博克的高层图表在哪里;s的最新版本(1.0.3)?,charts,bokeh,Charts,Bokeh,我有一个简短的问题: 我看到0.11.0版中有高级图表: 但是我在上一个版本(1.0.3)中找不到相同的主题?博克团队移除了它吗 我一直在努力使直方图适应我的项目,但在上一版本中找不到直方图部分 有什么想法吗?几年前,bokeh.charts的API被弃用,计划在1.0版中删除。然而,由于缺乏兴趣和更好的选择,即使是这一时间表也最终加快了。自2017年末以来,该项目已完全取消 对于Bookh上非常高水平的API,考虑或。或者直接用stablebokeh.plottingAPI创建直方图。e、
有什么想法吗?几年前,bokeh.charts的API被弃用,计划在1.0版中删除。然而,由于缺乏兴趣和更好的选择,即使是这一时间表也最终加快了。自2017年末以来,该项目已完全取消
对于Bookh上非常高水平的API,考虑或。或者直接用stable
bokeh.plotting
API创建直方图。e、 g
from bokeh.plotting import figure, output_file, show
from bokeh.sampledata.autompg import autompg as df
from numpy import histogram
p = figure(plot_height=300)
hist, edges = histogram(df.hp, density=True, bins=20)
p.quad(top=hist, bottom=0, left=edges[:-1], right=edges[1:], line_color="white")
show(p)
几年前,
bokeh.charts
API被弃用,计划在1.0版中删除。然而,由于缺乏兴趣和更好的选择,即使是这一时间表也最终加快了。自2017年末以来,该项目已完全取消
对于Bookh上非常高水平的API,考虑或。或者直接用stable
bokeh.plotting
API创建直方图。e、 g
from bokeh.plotting import figure, output_file, show
from bokeh.sampledata.autompg import autompg as df
from numpy import histogram
p = figure(plot_height=300)
hist, edges = histogram(df.hp, density=True, bins=20)
p.quad(top=hist, bottom=0, left=edges[:-1], right=edges[1:], line_color="white")
show(p)