样本数据

将Bokeh示例数据集下载到本地磁盘。

要下载Bokeh示例数据集,请执行

bokeh sampledata

在命令行上。

执行此命令相当于运行Python代码

import bokeh.sampledata

bokeh.sampledata.download()
class Sampledata(parser: argparse.ArgumentParser)[源代码]

子命令来下载bokeh示例数据集。

invoke(args: argparse.Namespace)None[源代码]
name: str = 'sampledata'

此子命令的名称