4 ms·
Ruby is so behind in this... :/ The closest thing I could find, which is only just a proposed enhancement in a github project, is considering adding ploty.js t
by MrBra 11y ago
Ruby is so behind in this... :/ The closest thing I could find, which is only just a proposed enhancement in a github project, is considering adding ploty.js to Flammarion (a new Ruby GUI toolkit using the browser as working window), or maybe Ruby Processing to some extent?
- pwang 11y agoActually, we'd LOVE to get a bokeh.rb project going! Most of the power of Bokeh is in the BokehJS runtime, and in our M-VM-V-C architecture for visualization. The Python code is just generating a JSON representation of the plot, but it's relatively straightforward to do that from any language. You can see front-end implementations in other languages: * R: https://github.com/bokeh/rbokeh https://github.com/bokeh/rbokeh * Scala: https://github.com/bokeh/bokeh-scala https://github.com/bokeh/bokeh-scala * Julia: https://github.com/bokeh/Bokeh.jl https://github.com/bokeh/Bokeh.jl The Facebook data science folks even implemented a small Bokeh wrapper in Lua, as part of their iTorch package: https://github.com/facebook/iTorch/blob/master/Plot.lua https://github.com/facebook/iTorch/blob/master/Plot.lua So, you can see that you can get started with a basic wrapper, and then build up from there. The Lua wrapper is only ~850 lines. If you want to pop over to the mailing list or on our Github, we'd love to help you out.