Faceted Time Series using Groupby#
A multi-dimensional plot showing how air temperature changes over time. This example uses the groupby
option with an xarray Dataset to explore values interactively.
import hvplot.xarray # noqa
ds = hvplot.sampledata.air_temperature('xarray').isel(time=slice(0, 3))
ds.hvplot.image(
x='lon',
y='lat',
cmap='coolwarm',
groupby='time',
frame_width=400,
dynamic=False,
framewise=False,
title='Air Temperature Over Time (Bokeh)',
)
import hvplot.xarray # noqa
hvplot.extension('matplotlib')
ds = hvplot.sampledata.air_temperature('xarray').isel(time=slice(0, 3))
ds.hvplot.image(
x='lon',
y='lat',
cmap='coolwarm',
groupby='time',
frame_width=400,
dynamic=False,
framewise=False,
title='Air Temperature Over Time (Matplotlib)',
)
This web page was generated from a Jupyter notebook and not all
interactivity will work on this website.