from hvplot.sample_data import us_crime
hvPlot allows to generate plots with three different plotting extensions: Bokeh, Matplotlib and Plotly. Support for Maplotlib and Plotly was added in version 0.8.0, before which Bokeh was the only option available and is as such kept as the default plotting extension.
Loading plotting extensions#
Importing hvPlot accessors as shown throughout the documentation (e.g.
import hvplot.xarray, …) loads by default the Bokeh plotting extension. The
extension function can be used after this first import to additionally load the Matplotlib and Plotly plotting extensions, or just one of them. The currently active extension is the first one passed to
import hvplot.pandas # This import automatically loads the Bokeh extension.