Bokeh 文档集成 PyCharm
Bokeh documentation integration with PyCharm
几个 python 模块在 PyCharm(numpy、pandas 等)的右侧显示文档:
Bokeh 没有,我想知道我怎样才能指向一个可读的 bokeh 生成文档(pycharm 准则在这里 https://www.jetbrains.com/help/pycharm/python-external-documentation.html)。
更新:
我发现这个方法适用于某些方法:
https://docs.bokeh.org/en/latest/docs/reference/{}generated/{module.name}.{element.name}.html
但它不适用于像 .line
这样的方法,我只得到元信息和 link returns a 404:
字形方法如line
实际上是(大写F)Figure
class上的方法。由于目前无法更改的历史原因,更常用的(小写 f)figure
函数只是 returns 一个 Figure
对象。所以你上面的 URL 方案在这种情况下不起作用。
作为一个具体的例子,参考文档中 line
方法的位置,您可能可以为 PyCharm 配置,这里是:
https://docs.bokeh.org/en/latest/docs/reference/plotting.html#bokeh.plotting.figure.Figure.line
这是一个如何在 Pycharm CE:
中 运行 "Hello Bokeh" 的例子
(菜单) 运行 > 编辑配置
姓名hello_bokeh
脚本路径G:\Users\frederic\Anaconda3\Scripts\bokeh-script.py
参数serve --show C:\data\design\machine_learning\first_project\vae_july_2018\bokeh\hello_bokeh.py
然后通过确定
验证
(菜单) 运行 > 运行 'hello_bokeh'
几个 python 模块在 PyCharm(numpy、pandas 等)的右侧显示文档:
Bokeh 没有,我想知道我怎样才能指向一个可读的 bokeh 生成文档(pycharm 准则在这里 https://www.jetbrains.com/help/pycharm/python-external-documentation.html)。
更新:
我发现这个方法适用于某些方法:
https://docs.bokeh.org/en/latest/docs/reference/{}generated/{module.name}.{element.name}.html
但它不适用于像 .line
这样的方法,我只得到元信息和 link returns a 404:
字形方法如line
实际上是(大写F)Figure
class上的方法。由于目前无法更改的历史原因,更常用的(小写 f)figure
函数只是 returns 一个 Figure
对象。所以你上面的 URL 方案在这种情况下不起作用。
作为一个具体的例子,参考文档中 line
方法的位置,您可能可以为 PyCharm 配置,这里是:
https://docs.bokeh.org/en/latest/docs/reference/plotting.html#bokeh.plotting.figure.Figure.line
这是一个如何在 Pycharm CE:
中 运行 "Hello Bokeh" 的例子(菜单) 运行 > 编辑配置
姓名hello_bokeh
脚本路径G:\Users\frederic\Anaconda3\Scripts\bokeh-script.py
参数serve --show C:\data\design\machine_learning\first_project\vae_july_2018\bokeh\hello_bokeh.py
然后通过确定
验证(菜单) 运行 > 运行 'hello_bokeh'