AREPL-vscode
AREPL-vscode copied to clipboard
bokeh support
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"
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