Autompg Violins#

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 bokeh.sampledata.autompg import autompg

hv.extension('matplotlib')
hv.output(size=300, fig='svg')

Declaring data#

violin = hv.Violin(autompg, ('yr', 'Year'), ('mpg', 'Miles per Gallon')).redim.range(mpg=(8, 45))

Plot#

violin.opts(aspect=1.5)
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).