datapane / datapane

Build and share data reports in 100% Python

Home Page:https://datapane.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

InvalidReportError: Empty report - must contain at least one asset/block

giswqs opened this issue · comments

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')

image

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")

thanks for raising the issue - this has been fixed in version 0.13.2