Skip to content

Commit

Permalink
Add updates from regenerating auto files
Browse files Browse the repository at this point in the history
  • Loading branch information
joelostblom committed Sep 29, 2023
1 parent 5a32113 commit 866588d
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 10 deletions.
4 changes: 2 additions & 2 deletions altair/vegalite/v5/schema/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ruff: noqa
from .core import *
from .channels import *
SCHEMA_VERSION = 'v5.14.1'
SCHEMA_URL = 'https://vega.github.io/schema/vega-lite/v5.14.1.json'
SCHEMA_VERSION = 'v5.15.0'
SCHEMA_URL = 'https://vega.github.io/schema/vega-lite/v5.15.0.json'
33 changes: 25 additions & 8 deletions altair/vegalite/v5/schema/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -7054,6 +7054,13 @@ class IntervalSelectionConfig(VegaLiteSchema):
An array of encoding channels. The corresponding data field values must match for a
data tuple to fall within the selection.

**See also:** The `projection with encodings and fields section
<https://vega.github.io/vega-lite/docs/selection.html#project>`__ in the
documentation.
fields : List(:class:`FieldName`)
An array of field names whose values must match for a data tuple to fall within the
selection.

**See also:** The `projection with encodings and fields section
<https://vega.github.io/vega-lite/docs/selection.html#project>`__ in the
documentation.
Expand Down Expand Up @@ -7121,10 +7128,11 @@ class IntervalSelectionConfig(VegaLiteSchema):
"""
_schema = {'$ref': '#/definitions/IntervalSelectionConfig'}

def __init__(self, type=Undefined, clear=Undefined, encodings=Undefined, mark=Undefined,
on=Undefined, resolve=Undefined, translate=Undefined, zoom=Undefined, **kwds):
def __init__(self, type=Undefined, clear=Undefined, encodings=Undefined, fields=Undefined,
mark=Undefined, on=Undefined, resolve=Undefined, translate=Undefined, zoom=Undefined,
**kwds):
super(IntervalSelectionConfig, self).__init__(type=type, clear=clear, encodings=encodings,
mark=mark, on=on, resolve=resolve,
fields=fields, mark=mark, on=on, resolve=resolve,
translate=translate, zoom=zoom, **kwds)


Expand All @@ -7150,6 +7158,13 @@ class IntervalSelectionConfigWithoutType(VegaLiteSchema):
An array of encoding channels. The corresponding data field values must match for a
data tuple to fall within the selection.

**See also:** The `projection with encodings and fields section
<https://vega.github.io/vega-lite/docs/selection.html#project>`__ in the
documentation.
fields : List(:class:`FieldName`)
An array of field names whose values must match for a data tuple to fall within the
selection.

**See also:** The `projection with encodings and fields section
<https://vega.github.io/vega-lite/docs/selection.html#project>`__ in the
documentation.
Expand Down Expand Up @@ -7217,11 +7232,12 @@ class IntervalSelectionConfigWithoutType(VegaLiteSchema):
"""
_schema = {'$ref': '#/definitions/IntervalSelectionConfigWithoutType'}

def __init__(self, clear=Undefined, encodings=Undefined, mark=Undefined, on=Undefined,
resolve=Undefined, translate=Undefined, zoom=Undefined, **kwds):
def __init__(self, clear=Undefined, encodings=Undefined, fields=Undefined, mark=Undefined,
on=Undefined, resolve=Undefined, translate=Undefined, zoom=Undefined, **kwds):
super(IntervalSelectionConfigWithoutType, self).__init__(clear=clear, encodings=encodings,
mark=mark, on=on, resolve=resolve,
translate=translate, zoom=zoom, **kwds)
fields=fields, mark=mark, on=on,
resolve=resolve, translate=translate,
zoom=zoom, **kwds)


class JoinAggregateFieldDef(VegaLiteSchema):
Expand Down Expand Up @@ -21862,7 +21878,8 @@ class EventType(WindowEventType):

enum('click', 'dblclick', 'dragenter', 'dragleave', 'dragover', 'keydown', 'keypress',
'keyup', 'mousedown', 'mousemove', 'mouseout', 'mouseover', 'mouseup', 'mousewheel',
'timer', 'touchend', 'touchmove', 'touchstart', 'wheel')
'pointerdown', 'pointermove', 'pointerout', 'pointerover', 'pointerup', 'timer', 'touchend',
'touchmove', 'touchstart', 'wheel')
"""
_schema = {'$ref': '#/definitions/EventType'}

Expand Down
19 changes: 19 additions & 0 deletions altair/vegalite/v5/schema/vega-lite-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -8791,6 +8791,11 @@
"mouseover",
"mouseup",
"mousewheel",
"pointerdown",
"pointermove",
"pointerout",
"pointerover",
"pointerup",
"timer",
"touchend",
"touchmove",
Expand Down Expand Up @@ -12467,6 +12472,13 @@
},
"type": "array"
},
"fields": {
"description": "An array of field names whose values must match for a data tuple to fall within the selection.\n\n__See also:__ The [projection with `encodings` and `fields` section](https://vega.github.io/vega-lite/docs/selection.html#project) in the documentation.",
"items": {
"$ref": "#/definitions/FieldName"
},
"type": "array"
},
"mark": {
"$ref": "#/definitions/BrushConfig",
"description": "An interval selection also adds a rectangle mark to depict the extents of the interval. The `mark` property can be used to customize the appearance of the mark.\n\n__See also:__ [`mark` examples](https://vega.github.io/vega-lite/docs/selection.html#mark) in the documentation."
Expand Down Expand Up @@ -12535,6 +12547,13 @@
},
"type": "array"
},
"fields": {
"description": "An array of field names whose values must match for a data tuple to fall within the selection.\n\n__See also:__ The [projection with `encodings` and `fields` section](https://vega.github.io/vega-lite/docs/selection.html#project) in the documentation.",
"items": {
"$ref": "#/definitions/FieldName"
},
"type": "array"
},
"mark": {
"$ref": "#/definitions/BrushConfig",
"description": "An interval selection also adds a rectangle mark to depict the extents of the interval. The `mark` property can be used to customize the appearance of the mark.\n\n__See also:__ [`mark` examples](https://vega.github.io/vega-lite/docs/selection.html#mark) in the documentation."
Expand Down

0 comments on commit 866588d

Please sign in to comment.