当前位置: 首页 > 工具软件 > Bokeh > 使用案例 >

Bokeh 关键概念

经国安
2023-12-01

术语

术语解释
Application在浏览器展示的Bokeh文档
BokehJSJavaScript客户端库,控制渲染
Documents组织好的Application数据机构
Embedding各种各样的方法
GlyphsBokeh做图基础视图
ModelsThe lowest-level objects that comprise Bokeh “scenegraphs”
ServerThe Bokeh server is an optional component that can be used for sharing and publishing Bokeh plots and apps
WidgetsUser interface elements outside of a Bokeh plot such as sliders, drop down menus, buttons, etc.

输出方法

方法描述
output_fileFor generating simple standalone HTML documents for Bokeh visualizations.
output_notebookFor displaying Bokeh visualizations inline in Jupyter/Zeppelin notebook cells.
bokeh htmlCreate standalone HTML documents from any kind of Bokeh application source: e.g., python scripts, app directories, JSON files, and others.
bokeh jsonGenerate a serialized JSON representation of a Bokeh document from any kind of Bokeh application source.
bokeh servePublish Bokeh documents as interactive web applications.

接口

bokeh.models

Bokeh is actually composed of two library components.
The first component is a JavaScript library, BokehJS, that runs in the browser.The second component is a library in Python (or other languages) that can generate the JSON

bokeh.plotting

Bokeh provides a mid-level general purpose bokeh.plotting interface, which is similar in specificity to Matplotlib or Matlab style plotting interfaces.

 类似资料: