Get help from the marimo community

Updated 7 months ago

Network visualization (ex: ipysigma) within marimo

At a glance

The community member is trying to create an app with a graph view to visualize and interact with networks. They can plot static networks using libraries like Plotly or Altair, but are having trouble integrating interactive libraries. They ask if anyone has tried using ipysigma or pyvis in Marimo.

In the comments, another community member (Alexis de Hauteclocque from Owkin) responds that they haven't tried either of those libraries in Marimo, but suggest opening an issue in the ipysigma repository to request support for rendering in Marimo. They also mention that Marimo is trying to be compatible with Jupyter's display protocol, and they can work on improving that compatibility.

The original community member thanks Alexis for the response and mentions that they have opened the suggested issue in the ipysigma repository.

Useful resources
Hi ! I am trying to make an app with a graph view to visualize and interract with networks.
I can plot static networks without pb with plotly or altair, but cannot integrate interactive libraries.
Has anyone tried https://github.com/medialab/ipysigma or https://pyvis.readthedocs.io/en/latest/index.html in marimo ?
A
A
3 comments
@Alexis de Hauteclocque (Owkin) : we haven't tried either of these in marimo; sorry they don't work yet! While we try to be compatible with Jupyter's display protocol, sometimes there's a bit of work external library authors need to do to make their libraries render in marimo.

If you wouldn't mind, we'd be grateful if you opened an issue in ipysigma asking them to support rendering in marimo. You could point them at our documentation on how to integrate with marimo: https://docs.marimo.io/guides/integrating_with_marimo/index.html.

In parallel, we can work on improving our Jupyter compatibility.
Hi @Akshay , thanks for the answer. Dynamic graphs are always impressive, so would make a nice demo for marimo IMO.
I just opened an issue as you suggested https://github.com/medialab/ipysigma/issues/237.
Add a reply
Sign up and join the conversation on Discord