Almenon / Almenon/AREPL-vscode

bokeh support

未关闭
#284 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement help wanted variable display
主要语言
TypeScript
星标
301
派生
46
PR 合并指标
30 天内没有已合并 PR

描述

Not sure how I would do this. The following code opens a graph in the browser:

Specifically "file:///C:/dev/AREPL-vscode/node_modules/arepl-backend/python/python_evaluator.html"

```python
from bokeh.plotting import figure, output_file, show

x = [1,2,3,4,3]
y = [6,7,2,4,5]

#output_file("lines.html")

p = figure(title="simple line example", x_axis_label='x', y_axis_label='y')

p.line(x, y, legend="Temp.", line_width=2)

show(p)
```

So it should be possible to render it in arepl instead.... but not sure how I would do that :/

https://bokeh.pydata.org/en/latest/docs/user_guide/quickstart.html#getting-started

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。