在 Bokeh 中,embed examples在存储库中(例如 animated.py )不仅需要 bokeh-server 运行,还需要运行实际的 Web 服务器(例如以 python -m http.server 启动在 Python 3) 中。
大多数其他示例不需要运行网络服务器。为什么 embed 示例不同?为什么他们需要网络服务器?
请您参考如下方法:
“嵌入”示例专门用于在您想要从网络应用程序提供 Bokeh 图时演示配置/用法。
在 Bokeh 中,embed examples在存储库中(例如 animated.py )不仅需要 bokeh-server 运行,还需要运行实际的 Web 服务器(例如以 python -m http.server 启动在 Python 3) 中。
大多数其他示例不需要运行网络服务器。为什么 embed 示例不同?为什么他们需要网络服务器?
请您参考如下方法:
“嵌入”示例专门用于在您想要从网络应用程序提供 Bokeh 图时演示配置/用法。