InvalidReportError: Empty report - must contain at least one asset/block
giswqs opened this issue · comments
Qiusheng Wu commented
datapane v0.13.1
All the examples throw the same error.
https://docs.datapane.com/reports/blocks/plots-and-visualizations#folium
import folium
import datapane as dp
m = folium.Map(location=[45.5236, -122.6750])
dp.Report(dp.Plot(m)).upload(name='folium_map')
Mandeep Gill commented
Hi there,
Thanks for raising the issue, we can confirm and reproduce the issue.
We aim to have a fix out in the next few days, in the meantime as a workaround if you add another block, even just a bit of text, to the report it should work, e.g.
dp.Report(dp.Plot(plot), "my plot")
Mandeep Gill commented
thanks for raising the issue - this has been fixed in version 0.13.2