bokeh.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:physt 作者: janpipek 项目源码 文件源码
def _create_figure(histogram, **kwargs):
    title = histogram.title or "Histogram"
    axis_names = histogram.axis_names or ["x", "y"]
    if len(axis_names) == 1:
        axis_names = list(axis_names) + ["frequency"]

    from bokeh.plotting import figure
    return figure(tools="hover,save,pan,box_zoom,reset,wheel_zoom",
                  toolbar_location='above',
                  x_axis_label=axis_names[0], y_axis_label=axis_names[1],
                  title=title)


# All palette names that can be used in cmap argument
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号