Hello, I am trying to plot holoviews in streamlit. I am using the following function from another example in streamlit discuss.
hv = 1.14.5
st = 85.1
frequencies = [0.5, 0.75, 1.0, 1.25]
def sine_curve(phase, freq):
xvals = [0.1 * i for i in range(100)]
return hv.Curve((xvals, [np.sin(phase + freq * x) for x in xvals]))
dmap = hv.DynamicMap(sine_curve, kdims=["phase", "frequency"])
a = hv.render(dmap.redim.range(phase=(0.5, 1), frequency=(0.5, 1.25)), backend="bokeh")
st.bokeh_chart(a)