Open avivazran opened 8 months ago
I would also like to .save
a report containing Perspective. But it seems the saved file is trying to load .css
resources from the server which of course no longer is running.
import panel as pn
import pandas as pd
pn.extension("perspective")
data = pd.DataFrame({
"x": [1,2], "y": [3,4]
})
pn.pane.Perspective(data, height=300, width=300).save("report.html")
python script.py
Appears to be fixed after the Perspective update.
Maybe not, reopening.
OS: Windows10 Browsers: Chrome,Edge
Panel 1.2.3 Pandas 1.5.3 Numpy 1.26.0
on jupyter lab the widget renders fine.
However, when running:
lt.save(r'C:\PythonProjects\fft.html',embed_json=True,embed=True)
the output HTML file show empty perspective without the data itself.