How-to#

These how-to guides are practical, problem-oriented recipes for accomplishing specific tasks with hvPlot. They assume you are already familiar with the basics. There is no order to the guides, jump to the topic that is relevant to you now.

Display and save plots#

Load and switch plotting extensions

How to load the Bokeh, Matplotlib or Plotly extension and switch between them.

How to Load and Switch Plotting Extensions
Display plots

How to display plots in notebooks, scripts and other environments.

How to Display Plots in Different Environments
Choose a backend for saving plots

How to pick the backend that best fits the output format you want to save.

How to Choose a Backend for Saving Plots
Save Bokeh plots

How to save Bokeh plots as HTML, PNG or SVG files.

How to Save Bokeh Plots
Save Matplotlib plots

How to save Matplotlib plots as image files.

How to Save Matplotlib Plots
Save plots as animated GIFs

How to export animated plots as GIF files.

How to Save Plots as Animated GIFs

Style plots#

Style plots by backend

How to apply backend-specific styling options to your plots.

How to Style Plots by Backend
Customize the underlying figure

How to edit the Bokeh, Matplotlib or Plotly figure with that library’s own API.

How to Customize the Underlying Figure
Plot lines with markers

How to draw lines with markers at each data point.

How to Plot Lines with Markers

Combine and arrange plots#

Overlay plots

How to draw several plots on top of each other in the same axes.

How to Overlay Plots
Lay out plots

How to place plots side by side or in columns.

How to Lay Out Plots
Split a plot into subplots

How to split a single plot into several subplots.

How to Split a Plot into Subplots
Facet plots into a grid

How to arrange subplots into a grid of facets.

How to Facet Plots into a Grid
Build custom plot layouts

How to build custom layouts of plots with Panel.

How to Build Custom Plot Layouts

Explore data interactively#

Explore multidimensional datasets with widgets

How to explore multidimensional data with automatically generated widgets.

How to Explore Multidimensional Datasets with Widgets

Work with AI assistants#

Use hvPlot with an AI assistant

How to give AI coding assistants current hvPlot guidance with HoloViz skills and llms.txt.

How to Use hvPlot with an AI Assistant