hvPlot 0.10 has just been released! Checkout the blog post and support hvPlot by giving it a 🌟 on Github.

Kde#

import hvplot.xarray  # noqa
import xarray as xr

Kernel density estimate (kde) provides a mechanism for showing the distribution and spread of the data. In hvplot the method is exposed both as kde and density.

ds = xr.tutorial.open_dataset('air_temperature').load()
air = ds.air
air1d = air.sel(lat=[25, 50, 75])
air1d.hvplot.kde('air', by='lat', alpha=0.5)