As we have seen in previous sections, hvPlot bakes in interactivity by automatically creating widgets when using groupby. These widgets can be refined using Panel. Panel allows you to customize the interactivity of your hvPlot output and provides more fine-grained control over the layout.

import panel as pn
import hvplot.pandas  # noqa

from bokeh.sampledata.iris import flowers