save_report_html
Save a data science report as a single HTML file with plots embedded as base64, eliminating separate image files. Plot references in content are automatically replaced.
Instructions
Save a data science report as an HTML file with embedded plot images (base64).
Unlike save_report (markdown + separate PNGs), this produces a single self-contained HTML file.
Plots are embedded inline using base64 encoding — no separate image files needed.
Reference plots in content as
— they'll be auto-replaced with embedded images.
Example: save_report_html(content="# Analysis\n
", include_plots=["histogram_Revenue"])
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| output_dir | No | ||
| include_plots | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |