Kde#

Download this notebook from GitHub (right-click to download).


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)
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).