Closed dberenbaum closed 10 months ago
Context: this should allow dvc to have consistent behavior across its own html output, vs code, and studio, without needing vs code and studio to manipulate the plots themselves as much. The goal here should be to reduce the custom manipulation each product needs to render plots.
Related to #9018
Fixed by @mattseddon
There's a rough POC of the ideas above in https://github.com/iterative/dvc/tree/plots-fields and https://github.com/iterative/dvc-render/tree/plots-fields.
These changes updates output to include these new fields:
dvc_rev
forcolor
anddvc_source
forstrokeDash
.data_version_info
.Here's an example of
dvc plots diff --split --json
output:Originally posted by @dberenbaum in https://github.com/iterative/vscode-dvc/issues/3130#issuecomment-1407395008