I am Trying to run this example(无法导入-PolyDrawTool)
Python2.7
bokeh0.12版
获取导入错误:
ImportError Traceback (most recent call last)
<ipython-input-1-cc6a3ae44bb8> in <module>()
1 from bokeh.plotting import figure, output_file, show
----> 2 from bokeh.models import PolyDrawTool
3
4 output_file("tools_poly_draw.html")
5
ImportError: cannot import name PolyDrawTool
PolyDrawTool
是一个非常新的特性,比0.12
版本更新得多。你需要更新你的Bokeh版本才能使用它。当前的最新版本是0.12.15
。在相关问题 更多 >
编程相关推荐