From 09805a3a1cb675bcfe26404415632aed7068f9f9 Mon Sep 17 00:00:00 2001 From: Stefan Binder Date: Sat, 15 Apr 2023 07:02:57 +0000 Subject: [PATCH] Somehow the VL 5.6.1 schema changed slightly. Including the changes here as we upgrade to 5.7 anyway before a release --- altair/vegalite/v5/schema/core.py | 4 ++-- altair/vegalite/v5/schema/vega-lite-schema.json | 16 +++------------- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/altair/vegalite/v5/schema/core.py b/altair/vegalite/v5/schema/core.py index 86eb06675..3cd4e23bf 100644 --- a/altair/vegalite/v5/schema/core.py +++ b/altair/vegalite/v5/schema/core.py @@ -16754,7 +16754,7 @@ class LayerRepeatSpec(RepeatSpec): ``"column"`` to the listed fields to be repeated along the particular orientations. The objects ``{"repeat": "row"}`` and ``{"repeat": "column"}`` can be used to refer to the repeated field respectively. - spec : anyOf(:class:`LayerSpec`, :class:`UnitSpec`) + spec : anyOf(:class:`LayerSpec`, :class:`UnitSpecWithFrame`) A specification of the view that gets repeated. align : anyOf(:class:`LayoutAlign`, :class:`RowColLayoutAlign`) The alignment to apply to grid rows and columns. The supported string values are @@ -18978,7 +18978,7 @@ class TopLevelSelectionParameter(TopLevelParameter): **See also:** `init `__ documentation. - views : List(anyOf(string, List(string))) + views : List(string) By default, top-level selections are applied to every view in the visualization. If this property is specified, selections will only be applied to views with the given names. diff --git a/altair/vegalite/v5/schema/vega-lite-schema.json b/altair/vegalite/v5/schema/vega-lite-schema.json index 75e4602c1..855c2b60a 100644 --- a/altair/vegalite/v5/schema/vega-lite-schema.json +++ b/altair/vegalite/v5/schema/vega-lite-schema.json @@ -12467,7 +12467,7 @@ "$ref": "#/definitions/LayerSpec" }, { - "$ref": "#/definitions/UnitSpec" + "$ref": "#/definitions/UnitSpecWithFrame" } ], "description": "A specification of the view that gets repeated." @@ -29223,7 +29223,7 @@ "$ref": "#/definitions/LayerSpec" }, { - "$ref": "#/definitions/UnitSpec" + "$ref": "#/definitions/UnitSpecWithFrame" } ], "description": "A specification of the view that gets repeated." @@ -29507,17 +29507,7 @@ "views": { "description": "By default, top-level selections are applied to every view in the visualization. If this property is specified, selections will only be applied to views with the given names.", "items": { - "anyOf": [ - { - "type": "string" - }, - { - "items": { - "type": "string" - }, - "type": "array" - } - ] + "type": "string" }, "type": "array" }