Gallery plots in Lightning


Setup


In [1]:
from lightning import Lightning

from sklearn import datasets

Connect to server


In [2]:
lgn = Lightning(ipython=True, host='http://public.lightning-viz.org')


Lightning initialized
Connected to server at http://public.lightning-viz.org


Gallery

The gallery viewer is an easy way to look at and browse multiple images simultaneously.


In [3]:
imgs = datasets.load_sample_images().images
lgn.gallery([imgs[0], imgs[1]])


Out[3]: