dvc-render is a Python library for rendering data stored in DVC plots format into various output formats, such as Vega. It also supports generating HTML and Markdown reports containing multiple plots. It is used internally by DVC, DVCLive, and DVC Studio. The current version is 1.0.2, with frequent patch and minor releases.
pip install dvc-renderVerified import paths — ran on the pinned version, not inferred.
This example demonstrates how to create a VegaRenderer instance for a confusion matrix, retrieve its filled Vega-Lite template, and then generate a simple HTML report containing the plot.
Review and update plot definitions in `dvc.yaml` to conform to the new 1.0+ standards. Consult DVC documentation for `dvc plots`.
Thoroughly test custom templates. Refer to DVC's official plot template documentation for best practices and supported structures. Ensure `dvc-render` is up to date to benefit from parsing improvements.
Understand DVC's plot definitions and data format expectations before using `dvc-render` for custom rendering solutions. Consider using DVCLive to automatically log data in a compatible format.
No dependency data recorded yet.