Almenon / Almenon/AREPL-vscode

bokeh support

Offen
#284 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement help wanted variable display
Vorherrschende Sprache
TypeScript
Sterne
301
Forks
46
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.