import mermaid from 'https://cdnjs.cloudflare.com/ajax/libs/mermaid/10.2.3/mermaid.esm.min.mjs'; mermaid.initialize({ startOnLoad: true });
lightning-python is a wrapper for the javascript library lightning.
documentation installation source tutorial gallerie
from jyquickhelper import add_notebook_menu add_notebook_menu()
The module requires module lightning-python. Check the gallery.
from lightning import Lightning lgn = Lightning(ipython=True, local=True)
Running local mode, some functionality limited.
from numpy import random x = random.randn(1000) y = random.randn(1000) v = random.randn(1000) lgn.scatter(x, y, alpha=0.5, values=v, colormap='Reds')