Almenon / Almenon/AREPL-vscode

bokeh support

Aperta
#284 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement help wanted variable display
Lingua principale
TypeScript
Stelle
301
Fork
46
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.