plots: standardise across DVC/Studio/VS Code (#9931)

* standardise plot data output

* add data required for new anchors to renderer properties

* feed dvc-render updates into API output

* update --json --split api with new data types (send split anchor definitions as strings)

* accomodate zoom and pan anchor

* switch anchor_revs to revs_with_datapoints

* accomodate height and width anchors

* drop terrible idea of holding all data as strings

* fix plot having multiple x fields

* move inferred properties off vega converter class
This commit is contained in:
Matt Seddon
2023-12-06 11:25:13 +11:00
committed by GitHub
parent 1aed230cd0
commit 5bb72b36cb
12 changed files with 488 additions and 406 deletions
+2 -1
View File
@@ -29,6 +29,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
]
dynamic = ["version"]
dependencies = [
"colorama>=0.3.9",
"configobj>=5.0.6",
@@ -36,7 +37,7 @@ dependencies = [
"dpath<3,>=2.1.0",
"dvc-data>=2.22.1,<2.23.0",
"dvc-http>=2.29.0",
"dvc-render>=0.3.1,<1",
"dvc-render>=1.0.0,<2",
"dvc-studio-client>=0.17.1,<1",
"dvc-task>=0.3.0,<1",
"flatten_dict<1,>=0.4.1",