Most examples work across multiple plotting backends, this example is also available for:


In [ ]:
import holoviews as hv
hv.extension('matplotlib')

Declaring data


In [ ]:
from bokeh.sampledata.autompg import autompg

autompg_ds = hv.Dataset(autompg)

Plot


In [ ]:
hist = autompg_ds.hist(dimension='mpg', groupby='cyl', bin_range=(9, 46), adjoin=False)

hist.opts(aspect=2, fig_size=200)