lightning-python#

Links: notebook, html, PDF, python, slides, GitHub

lightning-python is a wrapper for the javascript library lightning.

documentation installation source tutorial gallerie

from jyquickhelper import add_notebook_menu
add_notebook_menu()

startup#

The module requires module lightning-python. Check the gallery.

from lightning import Lightning
lgn = Lightning(ipython=True, local=True)
Lightning initialized
Running local mode, some functionality limited.

scatter plot#

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')