Overlay plots with legend

Hi. I am using hvplot with bokeh to overlay plots using " * ". Is there a way to add a legend to label each figure?

1 Like

Hi, there are multiple ways to do that, you can :

Add a label to each plot.

import holoviews as hv
import pandas as pd
import hvplot.pandas
import numpy as np


Use Series instead of DataFrames

Use NdOverlay with a dictionary of plot

1 Like