Series of hv objects - `NotImplementedError: Iteration on Elements is not supported.`


Hope you are all well.

I think I used to be able to make a Pandas series of hv objects but now I get an error. Am I doing something wrong?

import holoviews as hv
import pandas as pd

def f(x):
    return hv.Curve([1,2])

pd.DataFrame([999,1000]).apply(f, axis=1)

C:\ProgramData\Anaconda3\envs\kitchen_sink\lib\site-packages\holoviews\core\ in __iter__(self)
     94     def __iter__(self):
     95         "Disable iterator interface."
---> 96         raise NotImplementedError('Iteration on Elements is not supported.')

NotImplementedError: Iteration on Elements is not supported.```

HoloViews version