运行 Bokeh 模板脚本时返回错误

Error returned when running Bokeh template script

根据 http://docs.bokeh.org/en/0.11.0/docs/user_guide/charts.html#bar-charts 我 运行 Jupyter 中的示例,并将 output_file("bar.html") 替换为 output_notebook()。但是我收到以下错误:

AttributeError: 'AxesSubplot' object has no attribute 'references'

有谁知道为什么以及如何解决这个问题?我用自己的数据试了一下,返回了同样的错误。

谢谢!

0.11 版本不是最新的。我还尝试了一些版本之间的参数更改。 您是否尝试过最新版本 (0.12.13)?