import hvplot.xarray # noqa
import xarray as xr
violin
plots are similar to box plots, but provide a better sense of the distribution of data. Note that violin
plots depend on the scipy
library.
ds = xr.tutorial.open_dataset('air_temperature').load()
air = ds.air
air
air.hvplot.violin(y='air', by='lat', color='lat', cmap='Category20', title="Air Temperature vs. latitude")