I’m looking to create an empty Element, onto which other elements can be added/overlaid.
What should I write on the line with comments in the chunk of code below?
import holoviews as hv
import pandas as pd
df = pd.DataFrame({'i':[0,1,2],'A':[1,2,3],'B':[4,5,6]})
fig = hv.Curve() # what if I simply want an empty element, without attaching it to a dataset?
for series_name in ['A','B']:
fig *= hv.Curve(df, 'i', series_name)
I know I can create the first element, and then add subsequent ones, but I don’t want to for stylistic reasons.