I want to convert my plot to an interactive html, but not save it.
I am using Databricks and this needs an html file to display plots from Holoviews as well as Plotly.
But i get this error when I render my plot to html:
expected Resources or a pair of optional Resources, got 'CDN'
What should I change to my code? Are there other ways of getting (interactive) html?
Here’s my code:
import numpy as np import pandas as pd import holoviews as hv import hvplot.pandas data = np.random.rand(50, 2) df = pd.DataFrame(data, columns=['col1', 'col2']) hv_scatter = df.hvplot(kind='scatter', x='col1', y='col2') renderer = hv.renderer('bokeh') # this gives the error html_scatter = renderer.html(hv_scatter)