2014-10-15 Setting options in holoviews

using holoviews : setting display options

Holoviews is a nice framework to extend pyplot capacities.

!pip install holoviews
In [1]:
from holoviews import Image
%load_ext holoviews.ipython
In [2]:
%output size=200
import numpy as np
example = Image(np.random.rand(25, 25))
example
Out[2]:
In [3]:
%%opts Image [show_grid=True] (cmap='jet')
example
Out[3]:
In [4]:
%%opts Image [show_values=False] (cmap='hsv')
example
Out[4]:

Comments

Comments powered by Disqus