import hvplot.xarray # noqa
import xarray as xr
line
is useful when data is continuous and has a continuous axis.
ds = xr.tutorial.open_dataset('air_temperature').load()
air = ds.air
air1d = air.sel(lon=285.,lat=40.)
air1d
air1d.hvplot.line()
Customize the plot by changing the title and line color.
air1d.hvplot.line(title="Air Temperature over time at lat=40,lon285",line_color='gray')