• 2.2.2
  • 安装
  • 用户指南
  • 绘图示例
  • 参考文献
  • 开发商
  • 发行版
  • Tutorial
  • Community

绘图示例¶

有关以不同方式使用Bokeh的示例,请参见下面的部分。

  • 服务器应用程序示例

  • 笔记本示例

  • 独立示例

服务器应用程序示例¶

下面链接的示例都展示了Bokeh服务器的用法。Bokeh服务器提供了一个有趣的地方——数据可以被更新来更新绘图,UI和选择事件可以被处理以触发更多的可视化更新。

An interactive query tool for a set of IMDB data

Source code: movies

Shows axis histograms for selected and non-selected points in a scatter plot

Source code: selection_histogram

Interactive weather statistics for three cities

Source code: weather

A basic demo that has sliders for controlling a plotted trigonometric function

Source code: sliders.py

Explore the "autompg" data set by selecting and highlighting different dimensions

Source code: crossfilter

A reproduction of the famous Gapminder demo, with embedded video added using a custom page template

Source code: gapminder

Linked plots, summary statistics, and correlations for market data

Source code: stocks

An updating 3d plot that demonstrates using using Bokeh custom extensions to wrap third-party JavaScript libraries

Source code: surface3d

Explore the "autompg" data set by selecting and highlighting different dimensions

Source code: export_csv

笔记本示例¶

最好马上把笔记本放在笔记本上 live tutorial notebooks 由MyBinder在线主持。静态版本也可以在线查看(或下载并在本地执行) Bokeh NBViewer Gallery .

独立示例¶

下面的所有示例都位于 examples 您的Bokeh签出的子目录。所谓“独立”是指这些示例不使用Bokeh服务器。这些绘图仍然有许多交互工具和功能,包括链接的平移和刷涂,以及悬停检查器。

点击下面的图片查看其代码,并与现场情节互动。

  • iris

  • ridgeplot

  • hexbin

  • hex_tile

  • bar_colormapped

  • bar_intervals

  • range_tool

  • pie_chart

  • bar_mixed

  • bar_nested_colormapped

  • categorical

  • bar_pandas_groupby_colormapped

  • bar_pandas_groupby_nested

  • bar_stacked

  • bar_stacked_split

  • categorical_scatter_jitter

  • bar_nested

  • candlestick

  • legend

  • bar_colors

  • box_annotation

  • les_mis

  • bar_dodged

  • unemployment

  • stocks

  • streamline

  • quiver

  • image_rgba

  • dot

  • periodic

  • histogram

  • image

  • slider

  • jitter

  • lorenz

  • color_scatter

  • color_sliders

  • iris_splom

  • anscombe

  • texas

  • markers

  • burtin

  • bar_basic

  • stacked_area

  • elements

  • boxplot

  • logaxis

Project
  • Roadmap
  • Team
  • Citation
Documentation
  • User Guide
  • Gallery
  • Reference Guide
Hands On
  • Tutorials
  • Demos
Contribute
  • GitHub
  • Developer Guide
  • Sponsor

Bokeh is a fiscally sponsored project of NumFOCUS, a nonprofit dedicated to supporting the open-source scientific computing community. Donations help pay for cloud hosting costs, travel, and other project needs.

©2019 Bokeh Contributors. The website content uses the BSD License.


Donate