JohnCoene / sigmajs

Σ sigma.js for R
http://sigmajs.john-coene.com
Other
72 stars 7 forks source link

Great work! Does it also exist for Python? #10

Closed deemeetree closed 5 years ago

deemeetree commented 5 years ago

Super nice realization! Do you know if something like this also exists for Python? As far as I know R is not that different from Python, so I wonder how difficult it would be to port what you wrote to Python as well... What do you think?

JohnCoene commented 5 years ago

Thanks! I don't know that this is feasible in Python, this relies on htmlwidgets: I don't think Python has the equivalent though I might be wrong.

csaladenes commented 5 years ago

If you render html, you could potentially pass that into a Ipython embed.

Or more recently, the trend is to create JupyterLab extensions which allow you to do that automatically.

The tricky part is that if you do not want to pass the entire data, then you need to a run small server, like python -m http.server or so in the background, then embed localhost:8000. Might look into this when i have the time.