#!/usr/bin/env python # coding: utf-8 # #

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