.. _jslightningpythonrst: ================ lightning-python ================ .. only:: html **Links:** :download:`notebook `, :downloadlink:`html `, :download:`PDF `, :download:`python `, :downloadlink:`slides `, :githublink:`GitHub|_doc/notebooks/2016/pydata/js_lightning_python.ipynb|*` *lightning-python* is a wrapper for the javascript library `lightning `__. `documentation `__ `installation `__ `source `__ `tutorial `__ `gallerie `__ .. code:: ipython3 from jyquickhelper import add_notebook_menu add_notebook_menu() .. contents:: :local: startup ======= The module requires module `lightning-python `__. Check the `gallery `__. .. code:: ipython3 from lightning import Lightning lgn = Lightning(ipython=True, local=True) .. raw:: html
Lightning initialized
.. raw:: html .. parsed-literal:: Running local mode, some functionality limited. scatter plot ------------ .. code:: ipython3 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') .. raw:: html