Skip to main content
 首页 » 编程设计

python之Bokeh 图需要 Bokeh 服务器和网络服务器

2024年10月25日11Terrylee

在 Bokeh 中,embed examples在存储库中(例如 animated.py )不仅需要 bokeh-server 运行,还需要运行实际的 Web 服务器(例如以 python -m http.server 启动在 Python 3) 中。

大多数其他示例不需要运行网络服务器。为什么 embed 示例不同?为什么他们需要网络服务器?

请您参考如下方法:

“嵌入”示例专门用于在您想要从网络应用程序提供 Bokeh 图时演示配置/用法。