Image Plot#
A 2D image plot showing surface air temperature values across latitude and longitude.
import hvplot.xarray # noqa
ds = hvplot.sampledata.air_temperature('xarray').sel(time='2014-02-25 12:00')
ds.hvplot.image(
x='lon',
y='lat',
cmap='coolwarm',
title='Air Temperature on 2014-02-25 (Bokeh)',
)
import hvplot.xarray # noqa
hvplot.extension('matplotlib')
ds = hvplot.sampledata.air_temperature('xarray').sel(time='2014-02-25 12:00')
ds.hvplot.image(
x='lon',
y='lat',
cmap='coolwarm',
title='Air Temperature on 2014-02-25 (Matplotlib)',
)
See also
This web page was generated from a Jupyter notebook and not all
interactivity will work on this website.