RGB Plot#
An RGB (Red, Green, Blue) plot displaying a penguins family.
import hvplot.xarray # noqa
ds = hvplot.sampledata.penguins_rgba("xarray")
ds.hvplot.rgb(
x="x",
y="y",
bands="channel",
flip_yaxis=True,
aspect=1,
title="RGB Plot (Bokeh)",
)
import hvplot.xarray # noqa
hvplot.extension("matplotlib")
ds = hvplot.sampledata.penguins_rgba("xarray")
ds.hvplot.rgb(
x="x",
y="y",
bands="channel",
flip_yaxis=True,
aspect=1,
title="RGB Plot (Matplotlib)",
)
See also
This web page was generated from a Jupyter notebook and not all
interactivity will work on this website.