SciNim / nim-plotly

plotly wrapper for nim-lang
https://scinim.github.io/nim-plotly/
MIT License
181 stars 15 forks source link

support webview #31

Closed brentp closed 5 years ago

brentp commented 5 years ago

see e.g.: https://github.com/numforge/monocle/blob/master/src/monocle/viz.nim from @mratsim that uses https://github.com/oskca/webview

this could be either via when defined(webview) or another mechanism currently unknown to me.

Vindaar commented 5 years ago

Heh, good thing you add this as an issue. After I saw @mratsim using webview in monocle, I played around with it in plotly. Hacked it in and it works well.

I'll try to implement that cleanly soon and create a PR.