Autompg Histogram#
Download this notebook from GitHub (right-click to download).
Most examples work across multiple plotting backends, this example is also available for:
import holoviews as hv
from holoviews import opts
hv.extension('bokeh')
Declaring data#
from bokeh.sampledata.autompg import autompg
autompg_ds = hv.Dataset(autompg)
Plot#
hist = autompg_ds.hist(dimension='mpg', groupby='cyl', bin_range=(9, 46), num_bins=40, adjoin=False)
hist.opts(opts.Histogram(alpha=0.9, width=600))
This web page was generated from a Jupyter notebook and not all interactivity will work on this website. Right click to download and run locally for full Python-backed interactivity.
Download this notebook from GitHub (right-click to download).