术语
术语 | 解释 |
---|---|
Application | 在浏览器展示的Bokeh文档 |
BokehJS | JavaScript客户端库,控制渲染 |
Documents | 组织好的Application数据机构 |
Embedding | 各种各样的方法 |
Glyphs | Bokeh做图基础视图 |
Models | The lowest-level objects that comprise Bokeh “scenegraphs” |
Server | The Bokeh server is an optional component that can be used for sharing and publishing Bokeh plots and apps |
Widgets | User interface elements outside of a Bokeh plot such as sliders, drop down menus, buttons, etc. |
输出方法
方法 | 描述 |
---|---|
output_file | For generating simple standalone HTML documents for Bokeh visualizations. |
output_notebook | For displaying Bokeh visualizations inline in Jupyter/Zeppelin notebook cells. |
bokeh html | Create standalone HTML documents from any kind of Bokeh application source: e.g., python scripts, app directories, JSON files, and others. |
bokeh json | Generate a serialized JSON representation of a Bokeh document from any kind of Bokeh application source. |
bokeh serve | Publish 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.