A report object takes a list of Components. See a full list of supported components on the respective reference page.
# Create a reportimport datapane as dp# Create a markdown componentmarkdown = dp.Markdown("# My report")# Create a report objectreport = dp.Report(markdown)
Reports can be saved to local HTML files, passed in via
If you are logged into a Datapane instance, you can publish a report on the web. All reports must have a
name. To open the URL automatically, pass in the
open boolean parameter. If you are not logged in, this method will fail.
Publishing a report prints the URL to standard out, and returns a report object.
If you are in a Jupyter Notebook, you can preview your report inline.
This embeds the local file as an iframe inside your Notebook session.