From 5e03173ca0c072e165ca17d0f0dbb90a11c1848c Mon Sep 17 00:00:00 2001 From: Stefan Binder Date: Tue, 9 Jan 2024 20:28:45 +0100 Subject: [PATCH] Type hints: Simplify to improve user experiences (#3307) * Switch to SchemaBase instead of specific Altair classes * Same for docstrings * Simplify dictionaries in docstrings * Fix deduplication of type hints * Sort types by length to show str, float, etc. before core.SchemaBase and core._Parameter * Make order of type hints deterministic * Remove Union within Union due to UndefinedType * Remove unnecessary class name + dict from beginning of docstrings * Remove unused type ignore comment * Keep all class names in docstrings --- altair/vegalite/v5/api.py | 2 +- altair/vegalite/v5/schema/channels.py | 103078 ++++++++++------------- altair/vegalite/v5/schema/core.py | 55443 ++++++------ altair/vegalite/v5/schema/mixins.py | 20418 +++-- tools/generate_schema_wrapper.py | 8 +- tools/schemapi/codegen.py | 12 +- tools/schemapi/utils.py | 53 +- 7 files changed, 79711 insertions(+), 99303 deletions(-) diff --git a/altair/vegalite/v5/api.py b/altair/vegalite/v5/api.py index 56b15db79..05e088b6d 100644 --- a/altair/vegalite/v5/api.py +++ b/altair/vegalite/v5/api.py @@ -431,7 +431,7 @@ def param( name=parameter.name, bind=bind, value=value, - expr=expr, # type: ignore[arg-type] + expr=expr, **kwds, ) parameter.param_type = "variable" diff --git a/altair/vegalite/v5/schema/channels.py b/altair/vegalite/v5/schema/channels.py index 4f220b2f2..8dbd6e6bc 100644 --- a/altair/vegalite/v5/schema/channels.py +++ b/altair/vegalite/v5/schema/channels.py @@ -133,14 +133,12 @@ def to_dict( class Angle(FieldChannelMixin, core.FieldOrDatumDefWithConditionMarkPropFieldDefnumber): """Angle schema wrapper - :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -152,7 +150,7 @@ class Angle(FieldChannelMixin, core.FieldOrDatumDefWithConditionMarkPropFieldDef Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool + bin : bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -173,14 +171,14 @@ class Angle(FieldChannelMixin, core.FieldOrDatumDefWithConditionMarkPropFieldDef **See also:** `bin `__ documentation. - condition : :class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`, Sequence[:class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`] + condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -195,7 +193,7 @@ class Angle(FieldChannelMixin, core.FieldOrDatumDefWithConditionMarkPropFieldDef about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - legend : :class:`Legend`, Dict, None + legend : dict, None, :class:`Legend` An object defining properties of the legend. If ``null``, the legend for the encoding channel will be removed. @@ -204,7 +202,7 @@ class Angle(FieldChannelMixin, core.FieldOrDatumDefWithConditionMarkPropFieldDef **See also:** `legend `__ documentation. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -217,7 +215,7 @@ class Angle(FieldChannelMixin, core.FieldOrDatumDefWithConditionMarkPropFieldDef **See also:** `scale `__ documentation. - sort : :class:`AllSortString`, :class:`SortByChannelDesc`, Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'], :class:`SortByChannel`, Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], :class:`SortOrder`, Literal['ascending', 'descending'], :class:`EncodingSortField`, Dict, :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str], :class:`SortByEncoding`, Dict[required=[encoding]], :class:`Sort`, None + sort : dict, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'], Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -256,7 +254,7 @@ class Angle(FieldChannelMixin, core.FieldOrDatumDefWithConditionMarkPropFieldDef **See also:** `sort `__ documentation. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -265,7 +263,7 @@ class Angle(FieldChannelMixin, core.FieldOrDatumDefWithConditionMarkPropFieldDef **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -391,17 +389,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Angle": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Angle": ... @@ -421,12 +415,7 @@ def bin( binned: Union[bool, UndefinedType] = Undefined, divide: Union[Sequence[float], UndefinedType] = Undefined, extent: Union[ - Union[ - Sequence[float], - Union[core.ParameterExtent, core._Parameter, dict], - core.BinExtent, - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, maxbins: Union[float, UndefinedType] = Undefined, minstep: Union[float, UndefinedType] = Undefined, @@ -444,30 +433,9 @@ def bin(self, _: None, **kwds) -> "Angle": @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Angle": @@ -477,9 +445,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Angle": @@ -509,1472 +477,1374 @@ def field( def legend( self, aria: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, clipHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, columnPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, columns: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, description: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, direction: Union[ - Union[Literal["horizontal", "vertical"], core.Orientation], UndefinedType + core.SchemaBase, Literal["horizontal", "vertical"], UndefinedType ] = Undefined, fillColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, - ] = Undefined, - format: Union[Union[Union[core.Dict, dict], str], UndefinedType] = Undefined, + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", + ], + UndefinedType, + ] = Undefined, + format: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, gradientLength: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientStrokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, gradientStrokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientThickness: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gridAlign: Union[ - Union[ - Union[Literal["all", "each", "none"], core.LayoutAlign], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["all", "each", "none"], UndefinedType, ] = Undefined, labelAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, labelBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, labelColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, labelExpr: Union[str, UndefinedType] = Undefined, labelFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, labelLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOverlap: Union[ - Union[ - Union[bool, core.LabelOverlap, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelSeparation: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, legendX: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, legendY: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, orient: Union[ - Union[ - Literal[ - "none", - "left", - "right", - "top", - "bottom", - "top-left", - "top-right", - "bottom-left", - "bottom-right", - ], - core.LegendOrient, + core.SchemaBase, + Literal[ + "none", + "left", + "right", + "top", + "bottom", + "top-left", + "top-right", + "bottom-left", + "bottom-right", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rowPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolDash: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, symbolDashOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolFillColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolStrokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolStrokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolType: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.SymbolShape, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickCount: Union[ - Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.TimeIntervalStep, dict], - core.TickCount, - float, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, tickMinStep: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, titleAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, titleAnchor: Union[ - Union[ - Union[Literal[None, "start", "middle", "end"], core.TitleAnchor], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal[None, "start", "middle", "end"], UndefinedType, ] = Undefined, titleBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, titleColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, titleFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, titleLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleLineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleOrient: Union[ - Union[ - Union[Literal["left", "right", "top", "bottom"], core.Orient], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "right", "top", "bottom"], UndefinedType, ] = Undefined, titlePadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, type: Union[Literal["symbol", "gradient"], UndefinedType] = Undefined, values: Union[ - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + Sequence[str], + Sequence[bool], + core._Parameter, + core.SchemaBase, + Sequence[float], + Sequence[Union[dict, core.SchemaBase]], UndefinedType, ] = Undefined, zindex: Union[float, UndefinedType] = Undefined, @@ -1990,542 +1860,487 @@ def legend(self, _: None, **kwds) -> "Angle": def scale( self, align: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, base: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - bins: Union[ - Union[Sequence[float], Union[core.ScaleBinParams, dict], core.ScaleBins], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + bins: Union[dict, core.SchemaBase, Sequence[float], UndefinedType] = Undefined, clamp: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, constant: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domain: Union[ - Union[ - Sequence[ - Union[ - None, - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - bool, - float, - str, - ] - ], - Union[core.DomainUnionWith, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ParameterExtent, core._Parameter, dict], - str, + str, + dict, + core._Parameter, + core.SchemaBase, + Sequence[ + Union[str, bool, dict, None, float, core._Parameter, core.SchemaBase] ], UndefinedType, ] = Undefined, domainMax: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMid: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMin: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainRaw: Union[ - Union[core.ExprRef, core._Parameter, dict], UndefinedType + dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, exponent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "rgb", - "lab", - "hcl", - "hsl", - "hsl-long", - "hcl-long", - "cubehelix", - "cubehelix-long", - ], - core.ScaleInterpolateEnum, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ScaleInterpolateParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "rgb", + "lab", + "hcl", + "hsl", + "hsl-long", + "hcl-long", + "cubehelix", + "cubehelix-long", ], UndefinedType, ] = Undefined, nice: Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.TimeIntervalStep, dict], - bool, - float, + bool, + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingInner: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingOuter: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, range: Union[ - Union[ - Sequence[ - Union[ - Sequence[float], - Union[core.ExprRef, core._Parameter, dict], - float, - str, - ] - ], + dict, + core.SchemaBase, + Sequence[ Union[ - Literal[ - "width", - "height", - "symbol", - "category", - "ordinal", - "ramp", - "diverging", - "heatmap", - ], - core.RangeEnum, - ], - Union[core.FieldRange, dict], + str, dict, float, core._Parameter, core.SchemaBase, Sequence[float] + ] + ], + Literal[ + "width", + "height", + "symbol", + "category", + "ordinal", + "ramp", + "diverging", + "heatmap", ], UndefinedType, ] = Undefined, rangeMax: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rangeMin: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, reverse: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, round: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, scheme: Union[ - Union[ - Union[ - Union[ - Literal[ - "accent", - "category10", - "category20", - "category20b", - "category20c", - "dark2", - "paired", - "pastel1", - "pastel2", - "set1", - "set2", - "set3", - "tableau10", - "tableau20", - ], - core.Categorical, - ], - Union[ - Literal[ - "blueorange", - "blueorange-3", - "blueorange-4", - "blueorange-5", - "blueorange-6", - "blueorange-7", - "blueorange-8", - "blueorange-9", - "blueorange-10", - "blueorange-11", - "brownbluegreen", - "brownbluegreen-3", - "brownbluegreen-4", - "brownbluegreen-5", - "brownbluegreen-6", - "brownbluegreen-7", - "brownbluegreen-8", - "brownbluegreen-9", - "brownbluegreen-10", - "brownbluegreen-11", - "purplegreen", - "purplegreen-3", - "purplegreen-4", - "purplegreen-5", - "purplegreen-6", - "purplegreen-7", - "purplegreen-8", - "purplegreen-9", - "purplegreen-10", - "purplegreen-11", - "pinkyellowgreen", - "pinkyellowgreen-3", - "pinkyellowgreen-4", - "pinkyellowgreen-5", - "pinkyellowgreen-6", - "pinkyellowgreen-7", - "pinkyellowgreen-8", - "pinkyellowgreen-9", - "pinkyellowgreen-10", - "pinkyellowgreen-11", - "purpleorange", - "purpleorange-3", - "purpleorange-4", - "purpleorange-5", - "purpleorange-6", - "purpleorange-7", - "purpleorange-8", - "purpleorange-9", - "purpleorange-10", - "purpleorange-11", - "redblue", - "redblue-3", - "redblue-4", - "redblue-5", - "redblue-6", - "redblue-7", - "redblue-8", - "redblue-9", - "redblue-10", - "redblue-11", - "redgrey", - "redgrey-3", - "redgrey-4", - "redgrey-5", - "redgrey-6", - "redgrey-7", - "redgrey-8", - "redgrey-9", - "redgrey-10", - "redgrey-11", - "redyellowblue", - "redyellowblue-3", - "redyellowblue-4", - "redyellowblue-5", - "redyellowblue-6", - "redyellowblue-7", - "redyellowblue-8", - "redyellowblue-9", - "redyellowblue-10", - "redyellowblue-11", - "redyellowgreen", - "redyellowgreen-3", - "redyellowgreen-4", - "redyellowgreen-5", - "redyellowgreen-6", - "redyellowgreen-7", - "redyellowgreen-8", - "redyellowgreen-9", - "redyellowgreen-10", - "redyellowgreen-11", - "spectral", - "spectral-3", - "spectral-4", - "spectral-5", - "spectral-6", - "spectral-7", - "spectral-8", - "spectral-9", - "spectral-10", - "spectral-11", - ], - core.Diverging, - ], - Union[ - Literal[ - "blues", - "tealblues", - "teals", - "greens", - "browns", - "greys", - "purples", - "warmgreys", - "reds", - "oranges", - ], - core.SequentialSingleHue, - ], - Union[Literal["rainbow", "sinebow"], core.Cyclical], - Union[ - Literal[ - "turbo", - "viridis", - "inferno", - "magma", - "plasma", - "cividis", - "bluegreen", - "bluegreen-3", - "bluegreen-4", - "bluegreen-5", - "bluegreen-6", - "bluegreen-7", - "bluegreen-8", - "bluegreen-9", - "bluepurple", - "bluepurple-3", - "bluepurple-4", - "bluepurple-5", - "bluepurple-6", - "bluepurple-7", - "bluepurple-8", - "bluepurple-9", - "goldgreen", - "goldgreen-3", - "goldgreen-4", - "goldgreen-5", - "goldgreen-6", - "goldgreen-7", - "goldgreen-8", - "goldgreen-9", - "goldorange", - "goldorange-3", - "goldorange-4", - "goldorange-5", - "goldorange-6", - "goldorange-7", - "goldorange-8", - "goldorange-9", - "goldred", - "goldred-3", - "goldred-4", - "goldred-5", - "goldred-6", - "goldred-7", - "goldred-8", - "goldred-9", - "greenblue", - "greenblue-3", - "greenblue-4", - "greenblue-5", - "greenblue-6", - "greenblue-7", - "greenblue-8", - "greenblue-9", - "orangered", - "orangered-3", - "orangered-4", - "orangered-5", - "orangered-6", - "orangered-7", - "orangered-8", - "orangered-9", - "purplebluegreen", - "purplebluegreen-3", - "purplebluegreen-4", - "purplebluegreen-5", - "purplebluegreen-6", - "purplebluegreen-7", - "purplebluegreen-8", - "purplebluegreen-9", - "purpleblue", - "purpleblue-3", - "purpleblue-4", - "purpleblue-5", - "purpleblue-6", - "purpleblue-7", - "purpleblue-8", - "purpleblue-9", - "purplered", - "purplered-3", - "purplered-4", - "purplered-5", - "purplered-6", - "purplered-7", - "purplered-8", - "purplered-9", - "redpurple", - "redpurple-3", - "redpurple-4", - "redpurple-5", - "redpurple-6", - "redpurple-7", - "redpurple-8", - "redpurple-9", - "yellowgreenblue", - "yellowgreenblue-3", - "yellowgreenblue-4", - "yellowgreenblue-5", - "yellowgreenblue-6", - "yellowgreenblue-7", - "yellowgreenblue-8", - "yellowgreenblue-9", - "yellowgreen", - "yellowgreen-3", - "yellowgreen-4", - "yellowgreen-5", - "yellowgreen-6", - "yellowgreen-7", - "yellowgreen-8", - "yellowgreen-9", - "yelloworangebrown", - "yelloworangebrown-3", - "yelloworangebrown-4", - "yelloworangebrown-5", - "yelloworangebrown-6", - "yelloworangebrown-7", - "yelloworangebrown-8", - "yelloworangebrown-9", - "yelloworangered", - "yelloworangered-3", - "yelloworangered-4", - "yelloworangered-5", - "yelloworangered-6", - "yelloworangered-7", - "yelloworangered-8", - "yelloworangered-9", - "darkblue", - "darkblue-3", - "darkblue-4", - "darkblue-5", - "darkblue-6", - "darkblue-7", - "darkblue-8", - "darkblue-9", - "darkgold", - "darkgold-3", - "darkgold-4", - "darkgold-5", - "darkgold-6", - "darkgold-7", - "darkgold-8", - "darkgold-9", - "darkgreen", - "darkgreen-3", - "darkgreen-4", - "darkgreen-5", - "darkgreen-6", - "darkgreen-7", - "darkgreen-8", - "darkgreen-9", - "darkmulti", - "darkmulti-3", - "darkmulti-4", - "darkmulti-5", - "darkmulti-6", - "darkmulti-7", - "darkmulti-8", - "darkmulti-9", - "darkred", - "darkred-3", - "darkred-4", - "darkred-5", - "darkred-6", - "darkred-7", - "darkred-8", - "darkred-9", - "lightgreyred", - "lightgreyred-3", - "lightgreyred-4", - "lightgreyred-5", - "lightgreyred-6", - "lightgreyred-7", - "lightgreyred-8", - "lightgreyred-9", - "lightgreyteal", - "lightgreyteal-3", - "lightgreyteal-4", - "lightgreyteal-5", - "lightgreyteal-6", - "lightgreyteal-7", - "lightgreyteal-8", - "lightgreyteal-9", - "lightmulti", - "lightmulti-3", - "lightmulti-4", - "lightmulti-5", - "lightmulti-6", - "lightmulti-7", - "lightmulti-8", - "lightmulti-9", - "lightorange", - "lightorange-3", - "lightorange-4", - "lightorange-5", - "lightorange-6", - "lightorange-7", - "lightorange-8", - "lightorange-9", - "lighttealblue", - "lighttealblue-3", - "lighttealblue-4", - "lighttealblue-5", - "lighttealblue-6", - "lighttealblue-7", - "lighttealblue-8", - "lighttealblue-9", - ], - core.SequentialMultiHue, - ], - core.ColorScheme, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.SchemeParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal["rainbow", "sinebow"], + Literal[ + "blues", + "tealblues", + "teals", + "greens", + "browns", + "greys", + "purples", + "warmgreys", + "reds", + "oranges", + ], + Literal[ + "accent", + "category10", + "category20", + "category20b", + "category20c", + "dark2", + "paired", + "pastel1", + "pastel2", + "set1", + "set2", + "set3", + "tableau10", + "tableau20", + ], + Literal[ + "blueorange", + "blueorange-3", + "blueorange-4", + "blueorange-5", + "blueorange-6", + "blueorange-7", + "blueorange-8", + "blueorange-9", + "blueorange-10", + "blueorange-11", + "brownbluegreen", + "brownbluegreen-3", + "brownbluegreen-4", + "brownbluegreen-5", + "brownbluegreen-6", + "brownbluegreen-7", + "brownbluegreen-8", + "brownbluegreen-9", + "brownbluegreen-10", + "brownbluegreen-11", + "purplegreen", + "purplegreen-3", + "purplegreen-4", + "purplegreen-5", + "purplegreen-6", + "purplegreen-7", + "purplegreen-8", + "purplegreen-9", + "purplegreen-10", + "purplegreen-11", + "pinkyellowgreen", + "pinkyellowgreen-3", + "pinkyellowgreen-4", + "pinkyellowgreen-5", + "pinkyellowgreen-6", + "pinkyellowgreen-7", + "pinkyellowgreen-8", + "pinkyellowgreen-9", + "pinkyellowgreen-10", + "pinkyellowgreen-11", + "purpleorange", + "purpleorange-3", + "purpleorange-4", + "purpleorange-5", + "purpleorange-6", + "purpleorange-7", + "purpleorange-8", + "purpleorange-9", + "purpleorange-10", + "purpleorange-11", + "redblue", + "redblue-3", + "redblue-4", + "redblue-5", + "redblue-6", + "redblue-7", + "redblue-8", + "redblue-9", + "redblue-10", + "redblue-11", + "redgrey", + "redgrey-3", + "redgrey-4", + "redgrey-5", + "redgrey-6", + "redgrey-7", + "redgrey-8", + "redgrey-9", + "redgrey-10", + "redgrey-11", + "redyellowblue", + "redyellowblue-3", + "redyellowblue-4", + "redyellowblue-5", + "redyellowblue-6", + "redyellowblue-7", + "redyellowblue-8", + "redyellowblue-9", + "redyellowblue-10", + "redyellowblue-11", + "redyellowgreen", + "redyellowgreen-3", + "redyellowgreen-4", + "redyellowgreen-5", + "redyellowgreen-6", + "redyellowgreen-7", + "redyellowgreen-8", + "redyellowgreen-9", + "redyellowgreen-10", + "redyellowgreen-11", + "spectral", + "spectral-3", + "spectral-4", + "spectral-5", + "spectral-6", + "spectral-7", + "spectral-8", + "spectral-9", + "spectral-10", + "spectral-11", + ], + Literal[ + "turbo", + "viridis", + "inferno", + "magma", + "plasma", + "cividis", + "bluegreen", + "bluegreen-3", + "bluegreen-4", + "bluegreen-5", + "bluegreen-6", + "bluegreen-7", + "bluegreen-8", + "bluegreen-9", + "bluepurple", + "bluepurple-3", + "bluepurple-4", + "bluepurple-5", + "bluepurple-6", + "bluepurple-7", + "bluepurple-8", + "bluepurple-9", + "goldgreen", + "goldgreen-3", + "goldgreen-4", + "goldgreen-5", + "goldgreen-6", + "goldgreen-7", + "goldgreen-8", + "goldgreen-9", + "goldorange", + "goldorange-3", + "goldorange-4", + "goldorange-5", + "goldorange-6", + "goldorange-7", + "goldorange-8", + "goldorange-9", + "goldred", + "goldred-3", + "goldred-4", + "goldred-5", + "goldred-6", + "goldred-7", + "goldred-8", + "goldred-9", + "greenblue", + "greenblue-3", + "greenblue-4", + "greenblue-5", + "greenblue-6", + "greenblue-7", + "greenblue-8", + "greenblue-9", + "orangered", + "orangered-3", + "orangered-4", + "orangered-5", + "orangered-6", + "orangered-7", + "orangered-8", + "orangered-9", + "purplebluegreen", + "purplebluegreen-3", + "purplebluegreen-4", + "purplebluegreen-5", + "purplebluegreen-6", + "purplebluegreen-7", + "purplebluegreen-8", + "purplebluegreen-9", + "purpleblue", + "purpleblue-3", + "purpleblue-4", + "purpleblue-5", + "purpleblue-6", + "purpleblue-7", + "purpleblue-8", + "purpleblue-9", + "purplered", + "purplered-3", + "purplered-4", + "purplered-5", + "purplered-6", + "purplered-7", + "purplered-8", + "purplered-9", + "redpurple", + "redpurple-3", + "redpurple-4", + "redpurple-5", + "redpurple-6", + "redpurple-7", + "redpurple-8", + "redpurple-9", + "yellowgreenblue", + "yellowgreenblue-3", + "yellowgreenblue-4", + "yellowgreenblue-5", + "yellowgreenblue-6", + "yellowgreenblue-7", + "yellowgreenblue-8", + "yellowgreenblue-9", + "yellowgreen", + "yellowgreen-3", + "yellowgreen-4", + "yellowgreen-5", + "yellowgreen-6", + "yellowgreen-7", + "yellowgreen-8", + "yellowgreen-9", + "yelloworangebrown", + "yelloworangebrown-3", + "yelloworangebrown-4", + "yelloworangebrown-5", + "yelloworangebrown-6", + "yelloworangebrown-7", + "yelloworangebrown-8", + "yelloworangebrown-9", + "yelloworangered", + "yelloworangered-3", + "yelloworangered-4", + "yelloworangered-5", + "yelloworangered-6", + "yelloworangered-7", + "yelloworangered-8", + "yelloworangered-9", + "darkblue", + "darkblue-3", + "darkblue-4", + "darkblue-5", + "darkblue-6", + "darkblue-7", + "darkblue-8", + "darkblue-9", + "darkgold", + "darkgold-3", + "darkgold-4", + "darkgold-5", + "darkgold-6", + "darkgold-7", + "darkgold-8", + "darkgold-9", + "darkgreen", + "darkgreen-3", + "darkgreen-4", + "darkgreen-5", + "darkgreen-6", + "darkgreen-7", + "darkgreen-8", + "darkgreen-9", + "darkmulti", + "darkmulti-3", + "darkmulti-4", + "darkmulti-5", + "darkmulti-6", + "darkmulti-7", + "darkmulti-8", + "darkmulti-9", + "darkred", + "darkred-3", + "darkred-4", + "darkred-5", + "darkred-6", + "darkred-7", + "darkred-8", + "darkred-9", + "lightgreyred", + "lightgreyred-3", + "lightgreyred-4", + "lightgreyred-5", + "lightgreyred-6", + "lightgreyred-7", + "lightgreyred-8", + "lightgreyred-9", + "lightgreyteal", + "lightgreyteal-3", + "lightgreyteal-4", + "lightgreyteal-5", + "lightgreyteal-6", + "lightgreyteal-7", + "lightgreyteal-8", + "lightgreyteal-9", + "lightmulti", + "lightmulti-3", + "lightmulti-4", + "lightmulti-5", + "lightmulti-6", + "lightmulti-7", + "lightmulti-8", + "lightmulti-9", + "lightorange", + "lightorange-3", + "lightorange-4", + "lightorange-5", + "lightorange-6", + "lightorange-7", + "lightorange-8", + "lightorange-9", + "lighttealblue", + "lighttealblue-3", + "lighttealblue-4", + "lighttealblue-5", + "lighttealblue-6", + "lighttealblue-7", + "lighttealblue-8", + "lighttealblue-9", ], UndefinedType, ] = Undefined, type: Union[ - Union[ - Literal[ - "linear", - "log", - "pow", - "sqrt", - "symlog", - "identity", - "sequential", - "time", - "utc", - "quantile", - "quantize", - "threshold", - "bin-ordinal", - "ordinal", - "point", - "band", - ], - core.ScaleType, + core.SchemaBase, + Literal[ + "linear", + "log", + "pow", + "sqrt", + "symlog", + "identity", + "sequential", + "time", + "utc", + "quantile", + "quantize", + "threshold", + "bin-ordinal", + "ordinal", + "point", + "band", ], UndefinedType, ] = Undefined, zero: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Angle": @@ -2600,42 +2415,36 @@ def sort( @overload def sort( self, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, op: Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "Angle": @@ -2645,28 +2454,25 @@ def sort( def sort( self, encoding: Union[ - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, + core.SchemaBase, + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "Angle": @@ -2845,114 +2651,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -2982,281 +2768,214 @@ def type( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -3282,8 +3001,6 @@ def __init__( class AngleDatum(DatumChannelMixin, core.FieldOrDatumDefWithConditionDatumDefnumber): """AngleDatum schema wrapper - :class:`FieldOrDatumDefWithConditionDatumDefnumber`, Dict - Parameters ---------- @@ -3291,16 +3008,16 @@ class AngleDatum(DatumChannelMixin, core.FieldOrDatumDefWithConditionDatumDefnum Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - condition : :class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`, Sequence[:class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`] + condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -3401,30 +3118,9 @@ def bandPosition(self, _: float, **kwds) -> "AngleDatum": @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "AngleDatum": @@ -3434,9 +3130,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "AngleDatum": @@ -3473,30 +3169,14 @@ def __init__( datum, bandPosition: Union[float, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -3517,14 +3197,12 @@ class AngleValue( ): """AngleValue schema wrapper - :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber`, Dict - Parameters ---------- - condition : :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, Dict[required=[param]], :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Dict[required=[test]], :class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`, Sequence[:class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`] + condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : :class:`ExprRef`, Dict[required=[expr]], float + value : dict, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -3537,283 +3215,209 @@ class AngleValue( def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, - ], - UndefinedType, - ] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", + ], + UndefinedType, + ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -3825,46 +3429,24 @@ def condition( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union[None, bool, core.PrimitiveValue, float, str], - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.RepeatRef, dict], - ], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, + UndefinedType, + ] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -3875,263 +3457,210 @@ def condition( def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -4143,26 +3672,25 @@ def condition( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union[None, bool, core.PrimitiveValue, float, str], - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.RepeatRef, dict], - ], + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, UndefinedType, ] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -4172,30 +3700,9 @@ def condition( @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "AngleValue": @@ -4205,9 +3712,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "AngleValue": @@ -4223,26 +3730,7 @@ def __init__( self, value, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterMarkPropFieldOrDatumDef, dict], - Union[core.ConditionalPredicateMarkPropFieldOrDatumDef, dict], - core.ConditionalMarkPropFieldOrDatumDef, - ], - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, **kwds, ): @@ -4256,15 +3744,12 @@ class Color( ): """Color schema wrapper - :class:`FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull`, - Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -4276,7 +3761,7 @@ class Color( Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool + bin : bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -4297,14 +3782,14 @@ class Color( **See also:** `bin `__ documentation. - condition : :class:`ConditionalParameterValueDefGradientstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefGradientstringnullExprRef`, Sequence[:class:`ConditionalParameterValueDefGradientstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefGradientstringnullExprRef`] + condition : dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -4319,7 +3804,7 @@ class Color( about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - legend : :class:`Legend`, Dict, None + legend : dict, None, :class:`Legend` An object defining properties of the legend. If ``null``, the legend for the encoding channel will be removed. @@ -4328,7 +3813,7 @@ class Color( **See also:** `legend `__ documentation. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -4341,7 +3826,7 @@ class Color( **See also:** `scale `__ documentation. - sort : :class:`AllSortString`, :class:`SortByChannelDesc`, Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'], :class:`SortByChannel`, Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], :class:`SortOrder`, Literal['ascending', 'descending'], :class:`EncodingSortField`, Dict, :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str], :class:`SortByEncoding`, Dict[required=[encoding]], :class:`Sort`, None + sort : dict, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'], Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -4380,7 +3865,7 @@ class Color( **See also:** `sort `__ documentation. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -4389,7 +3874,7 @@ class Color( **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -4515,17 +4000,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Color": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Color": ... @@ -4545,12 +4026,7 @@ def bin( binned: Union[bool, UndefinedType] = Undefined, divide: Union[Sequence[float], UndefinedType] = Undefined, extent: Union[ - Union[ - Sequence[float], - Union[core.ParameterExtent, core._Parameter, dict], - core.BinExtent, - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, maxbins: Union[float, UndefinedType] = Undefined, minstep: Union[float, UndefinedType] = Undefined, @@ -4568,40 +4044,9 @@ def bin(self, _: None, **kwds) -> "Color": @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[ - None, - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], - str, - ], - UndefinedType, + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Color": @@ -4611,19 +4056,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[ - None, - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], - str, - ], - UndefinedType, + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Color": @@ -4653,1472 +4088,1374 @@ def field( def legend( self, aria: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, clipHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, columnPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, columns: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, description: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, direction: Union[ - Union[Literal["horizontal", "vertical"], core.Orientation], UndefinedType + core.SchemaBase, Literal["horizontal", "vertical"], UndefinedType ] = Undefined, fillColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, - ] = Undefined, - format: Union[Union[Union[core.Dict, dict], str], UndefinedType] = Undefined, + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", + ], + UndefinedType, + ] = Undefined, + format: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, gradientLength: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientStrokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, gradientStrokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientThickness: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gridAlign: Union[ - Union[ - Union[Literal["all", "each", "none"], core.LayoutAlign], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["all", "each", "none"], UndefinedType, ] = Undefined, labelAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, labelBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, labelColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, labelExpr: Union[str, UndefinedType] = Undefined, labelFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, labelLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOverlap: Union[ - Union[ - Union[bool, core.LabelOverlap, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelSeparation: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, legendX: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, legendY: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, orient: Union[ - Union[ - Literal[ - "none", - "left", - "right", - "top", - "bottom", - "top-left", - "top-right", - "bottom-left", - "bottom-right", - ], - core.LegendOrient, + core.SchemaBase, + Literal[ + "none", + "left", + "right", + "top", + "bottom", + "top-left", + "top-right", + "bottom-left", + "bottom-right", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rowPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolDash: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, symbolDashOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolFillColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolStrokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolStrokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolType: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.SymbolShape, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickCount: Union[ - Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.TimeIntervalStep, dict], - core.TickCount, - float, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, tickMinStep: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, titleAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, titleAnchor: Union[ - Union[ - Union[Literal[None, "start", "middle", "end"], core.TitleAnchor], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal[None, "start", "middle", "end"], UndefinedType, ] = Undefined, titleBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, titleColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, titleFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, titleLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleLineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleOrient: Union[ - Union[ - Union[Literal["left", "right", "top", "bottom"], core.Orient], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "right", "top", "bottom"], UndefinedType, ] = Undefined, titlePadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, type: Union[Literal["symbol", "gradient"], UndefinedType] = Undefined, values: Union[ - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + Sequence[str], + Sequence[bool], + core._Parameter, + core.SchemaBase, + Sequence[float], + Sequence[Union[dict, core.SchemaBase]], UndefinedType, ] = Undefined, zindex: Union[float, UndefinedType] = Undefined, @@ -6134,542 +5471,487 @@ def legend(self, _: None, **kwds) -> "Color": def scale( self, align: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, base: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - bins: Union[ - Union[Sequence[float], Union[core.ScaleBinParams, dict], core.ScaleBins], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + bins: Union[dict, core.SchemaBase, Sequence[float], UndefinedType] = Undefined, clamp: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, constant: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domain: Union[ - Union[ - Sequence[ - Union[ - None, - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - bool, - float, - str, - ] - ], - Union[core.DomainUnionWith, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ParameterExtent, core._Parameter, dict], - str, + str, + dict, + core._Parameter, + core.SchemaBase, + Sequence[ + Union[str, bool, dict, None, float, core._Parameter, core.SchemaBase] ], UndefinedType, ] = Undefined, domainMax: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMid: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMin: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainRaw: Union[ - Union[core.ExprRef, core._Parameter, dict], UndefinedType + dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, exponent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "rgb", - "lab", - "hcl", - "hsl", - "hsl-long", - "hcl-long", - "cubehelix", - "cubehelix-long", - ], - core.ScaleInterpolateEnum, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ScaleInterpolateParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "rgb", + "lab", + "hcl", + "hsl", + "hsl-long", + "hcl-long", + "cubehelix", + "cubehelix-long", ], UndefinedType, ] = Undefined, nice: Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.TimeIntervalStep, dict], - bool, - float, + bool, + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingInner: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingOuter: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, range: Union[ - Union[ - Sequence[ - Union[ - Sequence[float], - Union[core.ExprRef, core._Parameter, dict], - float, - str, - ] - ], + dict, + core.SchemaBase, + Sequence[ Union[ - Literal[ - "width", - "height", - "symbol", - "category", - "ordinal", - "ramp", - "diverging", - "heatmap", - ], - core.RangeEnum, - ], - Union[core.FieldRange, dict], + str, dict, float, core._Parameter, core.SchemaBase, Sequence[float] + ] + ], + Literal[ + "width", + "height", + "symbol", + "category", + "ordinal", + "ramp", + "diverging", + "heatmap", ], UndefinedType, ] = Undefined, rangeMax: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rangeMin: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, reverse: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, round: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, scheme: Union[ - Union[ - Union[ - Union[ - Literal[ - "accent", - "category10", - "category20", - "category20b", - "category20c", - "dark2", - "paired", - "pastel1", - "pastel2", - "set1", - "set2", - "set3", - "tableau10", - "tableau20", - ], - core.Categorical, - ], - Union[ - Literal[ - "blueorange", - "blueorange-3", - "blueorange-4", - "blueorange-5", - "blueorange-6", - "blueorange-7", - "blueorange-8", - "blueorange-9", - "blueorange-10", - "blueorange-11", - "brownbluegreen", - "brownbluegreen-3", - "brownbluegreen-4", - "brownbluegreen-5", - "brownbluegreen-6", - "brownbluegreen-7", - "brownbluegreen-8", - "brownbluegreen-9", - "brownbluegreen-10", - "brownbluegreen-11", - "purplegreen", - "purplegreen-3", - "purplegreen-4", - "purplegreen-5", - "purplegreen-6", - "purplegreen-7", - "purplegreen-8", - "purplegreen-9", - "purplegreen-10", - "purplegreen-11", - "pinkyellowgreen", - "pinkyellowgreen-3", - "pinkyellowgreen-4", - "pinkyellowgreen-5", - "pinkyellowgreen-6", - "pinkyellowgreen-7", - "pinkyellowgreen-8", - "pinkyellowgreen-9", - "pinkyellowgreen-10", - "pinkyellowgreen-11", - "purpleorange", - "purpleorange-3", - "purpleorange-4", - "purpleorange-5", - "purpleorange-6", - "purpleorange-7", - "purpleorange-8", - "purpleorange-9", - "purpleorange-10", - "purpleorange-11", - "redblue", - "redblue-3", - "redblue-4", - "redblue-5", - "redblue-6", - "redblue-7", - "redblue-8", - "redblue-9", - "redblue-10", - "redblue-11", - "redgrey", - "redgrey-3", - "redgrey-4", - "redgrey-5", - "redgrey-6", - "redgrey-7", - "redgrey-8", - "redgrey-9", - "redgrey-10", - "redgrey-11", - "redyellowblue", - "redyellowblue-3", - "redyellowblue-4", - "redyellowblue-5", - "redyellowblue-6", - "redyellowblue-7", - "redyellowblue-8", - "redyellowblue-9", - "redyellowblue-10", - "redyellowblue-11", - "redyellowgreen", - "redyellowgreen-3", - "redyellowgreen-4", - "redyellowgreen-5", - "redyellowgreen-6", - "redyellowgreen-7", - "redyellowgreen-8", - "redyellowgreen-9", - "redyellowgreen-10", - "redyellowgreen-11", - "spectral", - "spectral-3", - "spectral-4", - "spectral-5", - "spectral-6", - "spectral-7", - "spectral-8", - "spectral-9", - "spectral-10", - "spectral-11", - ], - core.Diverging, - ], - Union[ - Literal[ - "blues", - "tealblues", - "teals", - "greens", - "browns", - "greys", - "purples", - "warmgreys", - "reds", - "oranges", - ], - core.SequentialSingleHue, - ], - Union[Literal["rainbow", "sinebow"], core.Cyclical], - Union[ - Literal[ - "turbo", - "viridis", - "inferno", - "magma", - "plasma", - "cividis", - "bluegreen", - "bluegreen-3", - "bluegreen-4", - "bluegreen-5", - "bluegreen-6", - "bluegreen-7", - "bluegreen-8", - "bluegreen-9", - "bluepurple", - "bluepurple-3", - "bluepurple-4", - "bluepurple-5", - "bluepurple-6", - "bluepurple-7", - "bluepurple-8", - "bluepurple-9", - "goldgreen", - "goldgreen-3", - "goldgreen-4", - "goldgreen-5", - "goldgreen-6", - "goldgreen-7", - "goldgreen-8", - "goldgreen-9", - "goldorange", - "goldorange-3", - "goldorange-4", - "goldorange-5", - "goldorange-6", - "goldorange-7", - "goldorange-8", - "goldorange-9", - "goldred", - "goldred-3", - "goldred-4", - "goldred-5", - "goldred-6", - "goldred-7", - "goldred-8", - "goldred-9", - "greenblue", - "greenblue-3", - "greenblue-4", - "greenblue-5", - "greenblue-6", - "greenblue-7", - "greenblue-8", - "greenblue-9", - "orangered", - "orangered-3", - "orangered-4", - "orangered-5", - "orangered-6", - "orangered-7", - "orangered-8", - "orangered-9", - "purplebluegreen", - "purplebluegreen-3", - "purplebluegreen-4", - "purplebluegreen-5", - "purplebluegreen-6", - "purplebluegreen-7", - "purplebluegreen-8", - "purplebluegreen-9", - "purpleblue", - "purpleblue-3", - "purpleblue-4", - "purpleblue-5", - "purpleblue-6", - "purpleblue-7", - "purpleblue-8", - "purpleblue-9", - "purplered", - "purplered-3", - "purplered-4", - "purplered-5", - "purplered-6", - "purplered-7", - "purplered-8", - "purplered-9", - "redpurple", - "redpurple-3", - "redpurple-4", - "redpurple-5", - "redpurple-6", - "redpurple-7", - "redpurple-8", - "redpurple-9", - "yellowgreenblue", - "yellowgreenblue-3", - "yellowgreenblue-4", - "yellowgreenblue-5", - "yellowgreenblue-6", - "yellowgreenblue-7", - "yellowgreenblue-8", - "yellowgreenblue-9", - "yellowgreen", - "yellowgreen-3", - "yellowgreen-4", - "yellowgreen-5", - "yellowgreen-6", - "yellowgreen-7", - "yellowgreen-8", - "yellowgreen-9", - "yelloworangebrown", - "yelloworangebrown-3", - "yelloworangebrown-4", - "yelloworangebrown-5", - "yelloworangebrown-6", - "yelloworangebrown-7", - "yelloworangebrown-8", - "yelloworangebrown-9", - "yelloworangered", - "yelloworangered-3", - "yelloworangered-4", - "yelloworangered-5", - "yelloworangered-6", - "yelloworangered-7", - "yelloworangered-8", - "yelloworangered-9", - "darkblue", - "darkblue-3", - "darkblue-4", - "darkblue-5", - "darkblue-6", - "darkblue-7", - "darkblue-8", - "darkblue-9", - "darkgold", - "darkgold-3", - "darkgold-4", - "darkgold-5", - "darkgold-6", - "darkgold-7", - "darkgold-8", - "darkgold-9", - "darkgreen", - "darkgreen-3", - "darkgreen-4", - "darkgreen-5", - "darkgreen-6", - "darkgreen-7", - "darkgreen-8", - "darkgreen-9", - "darkmulti", - "darkmulti-3", - "darkmulti-4", - "darkmulti-5", - "darkmulti-6", - "darkmulti-7", - "darkmulti-8", - "darkmulti-9", - "darkred", - "darkred-3", - "darkred-4", - "darkred-5", - "darkred-6", - "darkred-7", - "darkred-8", - "darkred-9", - "lightgreyred", - "lightgreyred-3", - "lightgreyred-4", - "lightgreyred-5", - "lightgreyred-6", - "lightgreyred-7", - "lightgreyred-8", - "lightgreyred-9", - "lightgreyteal", - "lightgreyteal-3", - "lightgreyteal-4", - "lightgreyteal-5", - "lightgreyteal-6", - "lightgreyteal-7", - "lightgreyteal-8", - "lightgreyteal-9", - "lightmulti", - "lightmulti-3", - "lightmulti-4", - "lightmulti-5", - "lightmulti-6", - "lightmulti-7", - "lightmulti-8", - "lightmulti-9", - "lightorange", - "lightorange-3", - "lightorange-4", - "lightorange-5", - "lightorange-6", - "lightorange-7", - "lightorange-8", - "lightorange-9", - "lighttealblue", - "lighttealblue-3", - "lighttealblue-4", - "lighttealblue-5", - "lighttealblue-6", - "lighttealblue-7", - "lighttealblue-8", - "lighttealblue-9", - ], - core.SequentialMultiHue, - ], - core.ColorScheme, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.SchemeParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal["rainbow", "sinebow"], + Literal[ + "blues", + "tealblues", + "teals", + "greens", + "browns", + "greys", + "purples", + "warmgreys", + "reds", + "oranges", + ], + Literal[ + "accent", + "category10", + "category20", + "category20b", + "category20c", + "dark2", + "paired", + "pastel1", + "pastel2", + "set1", + "set2", + "set3", + "tableau10", + "tableau20", + ], + Literal[ + "blueorange", + "blueorange-3", + "blueorange-4", + "blueorange-5", + "blueorange-6", + "blueorange-7", + "blueorange-8", + "blueorange-9", + "blueorange-10", + "blueorange-11", + "brownbluegreen", + "brownbluegreen-3", + "brownbluegreen-4", + "brownbluegreen-5", + "brownbluegreen-6", + "brownbluegreen-7", + "brownbluegreen-8", + "brownbluegreen-9", + "brownbluegreen-10", + "brownbluegreen-11", + "purplegreen", + "purplegreen-3", + "purplegreen-4", + "purplegreen-5", + "purplegreen-6", + "purplegreen-7", + "purplegreen-8", + "purplegreen-9", + "purplegreen-10", + "purplegreen-11", + "pinkyellowgreen", + "pinkyellowgreen-3", + "pinkyellowgreen-4", + "pinkyellowgreen-5", + "pinkyellowgreen-6", + "pinkyellowgreen-7", + "pinkyellowgreen-8", + "pinkyellowgreen-9", + "pinkyellowgreen-10", + "pinkyellowgreen-11", + "purpleorange", + "purpleorange-3", + "purpleorange-4", + "purpleorange-5", + "purpleorange-6", + "purpleorange-7", + "purpleorange-8", + "purpleorange-9", + "purpleorange-10", + "purpleorange-11", + "redblue", + "redblue-3", + "redblue-4", + "redblue-5", + "redblue-6", + "redblue-7", + "redblue-8", + "redblue-9", + "redblue-10", + "redblue-11", + "redgrey", + "redgrey-3", + "redgrey-4", + "redgrey-5", + "redgrey-6", + "redgrey-7", + "redgrey-8", + "redgrey-9", + "redgrey-10", + "redgrey-11", + "redyellowblue", + "redyellowblue-3", + "redyellowblue-4", + "redyellowblue-5", + "redyellowblue-6", + "redyellowblue-7", + "redyellowblue-8", + "redyellowblue-9", + "redyellowblue-10", + "redyellowblue-11", + "redyellowgreen", + "redyellowgreen-3", + "redyellowgreen-4", + "redyellowgreen-5", + "redyellowgreen-6", + "redyellowgreen-7", + "redyellowgreen-8", + "redyellowgreen-9", + "redyellowgreen-10", + "redyellowgreen-11", + "spectral", + "spectral-3", + "spectral-4", + "spectral-5", + "spectral-6", + "spectral-7", + "spectral-8", + "spectral-9", + "spectral-10", + "spectral-11", + ], + Literal[ + "turbo", + "viridis", + "inferno", + "magma", + "plasma", + "cividis", + "bluegreen", + "bluegreen-3", + "bluegreen-4", + "bluegreen-5", + "bluegreen-6", + "bluegreen-7", + "bluegreen-8", + "bluegreen-9", + "bluepurple", + "bluepurple-3", + "bluepurple-4", + "bluepurple-5", + "bluepurple-6", + "bluepurple-7", + "bluepurple-8", + "bluepurple-9", + "goldgreen", + "goldgreen-3", + "goldgreen-4", + "goldgreen-5", + "goldgreen-6", + "goldgreen-7", + "goldgreen-8", + "goldgreen-9", + "goldorange", + "goldorange-3", + "goldorange-4", + "goldorange-5", + "goldorange-6", + "goldorange-7", + "goldorange-8", + "goldorange-9", + "goldred", + "goldred-3", + "goldred-4", + "goldred-5", + "goldred-6", + "goldred-7", + "goldred-8", + "goldred-9", + "greenblue", + "greenblue-3", + "greenblue-4", + "greenblue-5", + "greenblue-6", + "greenblue-7", + "greenblue-8", + "greenblue-9", + "orangered", + "orangered-3", + "orangered-4", + "orangered-5", + "orangered-6", + "orangered-7", + "orangered-8", + "orangered-9", + "purplebluegreen", + "purplebluegreen-3", + "purplebluegreen-4", + "purplebluegreen-5", + "purplebluegreen-6", + "purplebluegreen-7", + "purplebluegreen-8", + "purplebluegreen-9", + "purpleblue", + "purpleblue-3", + "purpleblue-4", + "purpleblue-5", + "purpleblue-6", + "purpleblue-7", + "purpleblue-8", + "purpleblue-9", + "purplered", + "purplered-3", + "purplered-4", + "purplered-5", + "purplered-6", + "purplered-7", + "purplered-8", + "purplered-9", + "redpurple", + "redpurple-3", + "redpurple-4", + "redpurple-5", + "redpurple-6", + "redpurple-7", + "redpurple-8", + "redpurple-9", + "yellowgreenblue", + "yellowgreenblue-3", + "yellowgreenblue-4", + "yellowgreenblue-5", + "yellowgreenblue-6", + "yellowgreenblue-7", + "yellowgreenblue-8", + "yellowgreenblue-9", + "yellowgreen", + "yellowgreen-3", + "yellowgreen-4", + "yellowgreen-5", + "yellowgreen-6", + "yellowgreen-7", + "yellowgreen-8", + "yellowgreen-9", + "yelloworangebrown", + "yelloworangebrown-3", + "yelloworangebrown-4", + "yelloworangebrown-5", + "yelloworangebrown-6", + "yelloworangebrown-7", + "yelloworangebrown-8", + "yelloworangebrown-9", + "yelloworangered", + "yelloworangered-3", + "yelloworangered-4", + "yelloworangered-5", + "yelloworangered-6", + "yelloworangered-7", + "yelloworangered-8", + "yelloworangered-9", + "darkblue", + "darkblue-3", + "darkblue-4", + "darkblue-5", + "darkblue-6", + "darkblue-7", + "darkblue-8", + "darkblue-9", + "darkgold", + "darkgold-3", + "darkgold-4", + "darkgold-5", + "darkgold-6", + "darkgold-7", + "darkgold-8", + "darkgold-9", + "darkgreen", + "darkgreen-3", + "darkgreen-4", + "darkgreen-5", + "darkgreen-6", + "darkgreen-7", + "darkgreen-8", + "darkgreen-9", + "darkmulti", + "darkmulti-3", + "darkmulti-4", + "darkmulti-5", + "darkmulti-6", + "darkmulti-7", + "darkmulti-8", + "darkmulti-9", + "darkred", + "darkred-3", + "darkred-4", + "darkred-5", + "darkred-6", + "darkred-7", + "darkred-8", + "darkred-9", + "lightgreyred", + "lightgreyred-3", + "lightgreyred-4", + "lightgreyred-5", + "lightgreyred-6", + "lightgreyred-7", + "lightgreyred-8", + "lightgreyred-9", + "lightgreyteal", + "lightgreyteal-3", + "lightgreyteal-4", + "lightgreyteal-5", + "lightgreyteal-6", + "lightgreyteal-7", + "lightgreyteal-8", + "lightgreyteal-9", + "lightmulti", + "lightmulti-3", + "lightmulti-4", + "lightmulti-5", + "lightmulti-6", + "lightmulti-7", + "lightmulti-8", + "lightmulti-9", + "lightorange", + "lightorange-3", + "lightorange-4", + "lightorange-5", + "lightorange-6", + "lightorange-7", + "lightorange-8", + "lightorange-9", + "lighttealblue", + "lighttealblue-3", + "lighttealblue-4", + "lighttealblue-5", + "lighttealblue-6", + "lighttealblue-7", + "lighttealblue-8", + "lighttealblue-9", ], UndefinedType, ] = Undefined, type: Union[ - Union[ - Literal[ - "linear", - "log", - "pow", - "sqrt", - "symlog", - "identity", - "sequential", - "time", - "utc", - "quantile", - "quantize", - "threshold", - "bin-ordinal", - "ordinal", - "point", - "band", - ], - core.ScaleType, + core.SchemaBase, + Literal[ + "linear", + "log", + "pow", + "sqrt", + "symlog", + "identity", + "sequential", + "time", + "utc", + "quantile", + "quantize", + "threshold", + "bin-ordinal", + "ordinal", + "point", + "band", ], UndefinedType, ] = Undefined, zero: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Color": @@ -6744,42 +6026,36 @@ def sort( @overload def sort( self, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, op: Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "Color": @@ -6789,28 +6065,25 @@ def sort( def sort( self, encoding: Union[ - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, + core.SchemaBase, + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "Color": @@ -6989,114 +6262,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -7126,291 +6379,214 @@ def type( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - Union[ - core.ConditionalParameterValueDefGradientstringnullExprRef, - dict, - ], - Union[ - core.ConditionalPredicateValueDefGradientstringnullExprRef, - dict, - ], - core.ConditionalValueDefGradientstringnullExprRef, - ] - ], - Union[ - Union[ - core.ConditionalParameterValueDefGradientstringnullExprRef, dict - ], - Union[ - core.ConditionalPredicateValueDefGradientstringnullExprRef, dict - ], - core.ConditionalValueDefGradientstringnullExprRef, - ], - ], - UndefinedType, - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -7438,8 +6614,6 @@ class ColorDatum( ): """ColorDatum schema wrapper - :class:`FieldOrDatumDefWithConditionDatumDefGradientstringnull`, Dict - Parameters ---------- @@ -7447,16 +6621,16 @@ class ColorDatum( Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - condition : :class:`ConditionalParameterValueDefGradientstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefGradientstringnullExprRef`, Sequence[:class:`ConditionalParameterValueDefGradientstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefGradientstringnullExprRef`] + condition : dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -7557,40 +6731,9 @@ def bandPosition(self, _: float, **kwds) -> "ColorDatum": @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[ - None, - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], - str, - ], - UndefinedType, + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "ColorDatum": @@ -7600,19 +6743,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[ - None, - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], - str, - ], - UndefinedType, + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "ColorDatum": @@ -7649,40 +6782,14 @@ def __init__( datum, bandPosition: Union[float, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - Union[ - core.ConditionalParameterValueDefGradientstringnullExprRef, - dict, - ], - Union[ - core.ConditionalPredicateValueDefGradientstringnullExprRef, - dict, - ], - core.ConditionalValueDefGradientstringnullExprRef, - ] - ], - Union[ - Union[ - core.ConditionalParameterValueDefGradientstringnullExprRef, dict - ], - Union[ - core.ConditionalPredicateValueDefGradientstringnullExprRef, dict - ], - core.ConditionalValueDefGradientstringnullExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -7704,14 +6811,12 @@ class ColorValue( ): """ColorValue schema wrapper - :class:`ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull`, Dict - Parameters ---------- - condition : :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, Dict[required=[param]], :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Dict[required=[test]], :class:`ConditionalParameterValueDefGradientstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefGradientstringnullExprRef`, Sequence[:class:`ConditionalParameterValueDefGradientstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefGradientstringnullExprRef`] + condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]], None, str + value : str, dict, None, :class:`ExprRef`, :class:`Gradient`, :class:`LinearGradient`, :class:`RadialGradient` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -7724,283 +6829,209 @@ class ColorValue( def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, - ], - UndefinedType, - ] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", + ], + UndefinedType, + ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -8012,46 +7043,24 @@ def condition( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union[None, bool, core.PrimitiveValue, float, str], - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.RepeatRef, dict], - ], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, + UndefinedType, + ] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -8062,263 +7071,210 @@ def condition( def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -8330,26 +7286,25 @@ def condition( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union[None, bool, core.PrimitiveValue, float, str], - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.RepeatRef, dict], - ], + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, UndefinedType, ] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -8359,40 +7314,9 @@ def condition( @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[ - None, - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], - str, - ], - UndefinedType, + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "ColorValue": @@ -8402,19 +7326,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[ - None, - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], - str, - ], - UndefinedType, + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "ColorValue": @@ -8430,36 +7344,7 @@ def __init__( self, value, condition: Union[ - Union[ - Sequence[ - Union[ - Union[ - core.ConditionalParameterValueDefGradientstringnullExprRef, - dict, - ], - Union[ - core.ConditionalPredicateValueDefGradientstringnullExprRef, - dict, - ], - core.ConditionalValueDefGradientstringnullExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterMarkPropFieldOrDatumDef, dict], - Union[core.ConditionalPredicateMarkPropFieldOrDatumDef, dict], - core.ConditionalMarkPropFieldOrDatumDef, - ], - Union[ - Union[ - core.ConditionalParameterValueDefGradientstringnullExprRef, dict - ], - Union[ - core.ConditionalPredicateValueDefGradientstringnullExprRef, dict - ], - core.ConditionalValueDefGradientstringnullExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, **kwds, ): @@ -8470,14 +7355,12 @@ def __init__( class Column(FieldChannelMixin, core.RowColumnEncodingFieldDef): """Column schema wrapper - :class:`RowColumnEncodingFieldDef`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -8503,7 +7386,7 @@ class Column(FieldChannelMixin, core.RowColumnEncodingFieldDef): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool + bin : bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -8529,7 +7412,7 @@ class Column(FieldChannelMixin, core.RowColumnEncodingFieldDef): respective rows or columns. **Default value:** ``false`` - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -8544,9 +7427,9 @@ class Column(FieldChannelMixin, core.RowColumnEncodingFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - header : :class:`Header`, Dict, None + header : dict, None, :class:`Header` An object defining properties of a facet's header. - sort : :class:`EncodingSortField`, Dict, :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str], :class:`SortOrder`, Literal['ascending', 'descending'], None + sort : dict, None, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`EncodingSortField`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -8579,7 +7462,7 @@ class Column(FieldChannelMixin, core.RowColumnEncodingFieldDef): **Default value** : Depends on ``"spacing"`` property of `the view composition configuration `__ ( ``20`` by default) - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -8588,7 +7471,7 @@ class Column(FieldChannelMixin, core.RowColumnEncodingFieldDef): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -8714,17 +7597,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Column": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Column": ... @@ -8748,12 +7627,7 @@ def bin( binned: Union[bool, UndefinedType] = Undefined, divide: Union[Sequence[float], UndefinedType] = Undefined, extent: Union[ - Union[ - Sequence[float], - Union[core.ParameterExtent, core._Parameter, dict], - core.BinExtent, - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, maxbins: Union[float, UndefinedType] = Undefined, minstep: Union[float, UndefinedType] = Undefined, @@ -8789,485 +7663,451 @@ def field( @overload def header( self, - format: Union[Union[Union[core.Dict, dict], str], UndefinedType] = Undefined, + format: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, labelAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, labelAnchor: Union[ - Union[Literal[None, "start", "middle", "end"], core.TitleAnchor], - UndefinedType, + core.SchemaBase, Literal[None, "start", "middle", "end"], UndefinedType ] = Undefined, labelAngle: Union[float, UndefinedType] = Undefined, labelBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, labelColor: Union[ - Union[ - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, labelExpr: Union[str, UndefinedType] = Undefined, labelFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, labelLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelLineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOrient: Union[ - Union[Literal["left", "right", "top", "bottom"], core.Orient], UndefinedType + core.SchemaBase, Literal["left", "right", "top", "bottom"], UndefinedType ] = Undefined, labelPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labels: Union[bool, UndefinedType] = Undefined, orient: Union[ - Union[Literal["left", "right", "top", "bottom"], core.Orient], UndefinedType + core.SchemaBase, Literal["left", "right", "top", "bottom"], UndefinedType ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, titleAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, titleAnchor: Union[ - Union[Literal[None, "start", "middle", "end"], core.TitleAnchor], - UndefinedType, + core.SchemaBase, Literal[None, "start", "middle", "end"], UndefinedType ] = Undefined, titleAngle: Union[float, UndefinedType] = Undefined, titleBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, titleColor: Union[ - Union[ - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, titleFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, titleLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleLineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleOrient: Union[ - Union[Literal["left", "right", "top", "bottom"], core.Orient], UndefinedType + core.SchemaBase, Literal["left", "right", "top", "bottom"], UndefinedType ] = Undefined, titlePadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Column": @@ -9300,42 +8140,36 @@ def sort(self, _: Literal["ascending", "descending"], **kwds) -> "Column": @overload def sort( self, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, op: Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "Column": @@ -9518,114 +8352,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -9655,229 +8469,187 @@ def type( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, align: Union[ - Union[Literal["all", "each", "none"], core.LayoutAlign], UndefinedType + core.SchemaBase, Literal["all", "each", "none"], UndefinedType ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, center: Union[bool, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - header: Union[Union[None, Union[core.Header, dict]], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + header: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[core.EncodingSortField, dict], - ], + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], UndefinedType, ] = Undefined, spacing: Union[float, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -9904,14 +8676,12 @@ def __init__( class Description(FieldChannelMixin, core.StringFieldDefWithCondition): """Description schema wrapper - :class:`StringFieldDefWithCondition`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -9923,7 +8693,7 @@ class Description(FieldChannelMixin, core.StringFieldDefWithCondition): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool, str + bin : str, bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -9944,14 +8714,14 @@ class Description(FieldChannelMixin, core.StringFieldDefWithCondition): **See also:** `bin `__ documentation. - condition : :class:`ConditionalParameterValueDefstringExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringExprRef`, Sequence[:class:`ConditionalParameterValueDefstringExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringExprRef`] + condition : dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`, Sequence[dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -9966,7 +8736,7 @@ class Description(FieldChannelMixin, core.StringFieldDefWithCondition): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - format : :class:`Dict`, Dict, str + format : str, dict, :class:`Dict` When used with the default ``"number"`` and ``"time"`` format type, the text formatting pattern for labels of guides (axes, legends, headers) and text marks. @@ -10000,7 +8770,7 @@ class Description(FieldChannelMixin, core.StringFieldDefWithCondition): * ``"time"`` for temporal fields and ordinal and nominal fields with ``timeUnit``. * ``"number"`` for quantitative fields as well as ordinal and nominal fields without ``timeUnit``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -10009,7 +8779,7 @@ class Description(FieldChannelMixin, core.StringFieldDefWithCondition): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -10135,17 +8905,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Description": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Description": ... @@ -10165,12 +8931,7 @@ def bin( binned: Union[bool, UndefinedType] = Undefined, divide: Union[Sequence[float], UndefinedType] = Undefined, extent: Union[ - Union[ - Sequence[float], - Union[core.ParameterExtent, core._Parameter, dict], - core.BinExtent, - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, maxbins: Union[float, UndefinedType] = Undefined, minstep: Union[float, UndefinedType] = Undefined, @@ -10192,30 +8953,9 @@ def bin(self, _: None, **kwds) -> "Description": @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Description": @@ -10225,9 +8965,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Description": @@ -10434,114 +9174,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -10571,227 +9291,175 @@ def type( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool, str], UndefinedType - ] = Undefined, + bin: Union[str, bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefstringExprRef, dict], - Union[core.ConditionalPredicateValueDefstringExprRef, dict], - core.ConditionalValueDefstringExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterValueDefstringExprRef, dict], - Union[core.ConditionalPredicateValueDefstringExprRef, dict], - core.ConditionalValueDefstringExprRef, - ], - ], - UndefinedType, - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, - format: Union[Union[Union[core.Dict, dict], str], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + format: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -10816,14 +9484,12 @@ def __init__( class DescriptionValue(ValueChannelMixin, core.StringValueDefWithCondition): """DescriptionValue schema wrapper - :class:`StringValueDefWithCondition`, Dict - Parameters ---------- - condition : :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, Dict[required=[param]], :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Dict[required=[test]], :class:`ConditionalParameterValueDefstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringnullExprRef`, Sequence[:class:`ConditionalParameterValueDefstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringnullExprRef`] + condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : :class:`ExprRef`, Dict[required=[expr]], None, str + value : str, dict, None, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -10836,283 +9502,209 @@ class DescriptionValue(ValueChannelMixin, core.StringValueDefWithCondition): def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, - ], - UndefinedType, - ] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", + ], + UndefinedType, + ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -11124,46 +9716,24 @@ def condition( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union[None, bool, core.PrimitiveValue, float, str], - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.RepeatRef, dict], - ], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, + UndefinedType, + ] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -11174,263 +9744,210 @@ def condition( def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -11442,26 +9959,25 @@ def condition( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union[None, bool, core.PrimitiveValue, float, str], - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.RepeatRef, dict], - ], + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, UndefinedType, ] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -11471,30 +9987,9 @@ def condition( @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[None, Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "DescriptionValue": @@ -11504,9 +9999,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[None, Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "DescriptionValue": @@ -11522,26 +10017,7 @@ def __init__( self, value, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefstringnullExprRef, dict], - Union[core.ConditionalPredicateValueDefstringnullExprRef, dict], - core.ConditionalValueDefstringnullExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterMarkPropFieldOrDatumDef, dict], - Union[core.ConditionalPredicateMarkPropFieldOrDatumDef, dict], - core.ConditionalMarkPropFieldOrDatumDef, - ], - Union[ - Union[core.ConditionalParameterValueDefstringnullExprRef, dict], - Union[core.ConditionalPredicateValueDefstringnullExprRef, dict], - core.ConditionalValueDefstringnullExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, **kwds, ): @@ -11551,16 +10027,14 @@ def __init__( @with_property_setters class Detail(FieldChannelMixin, core.FieldDefWithoutScale): """Detail schema wrapper - - :class:`FieldDefWithoutScale`, Dict[required=[shorthand]] Definition object for a data field, its type and transformation of an encoding channel. Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -11572,7 +10046,7 @@ class Detail(FieldChannelMixin, core.FieldDefWithoutScale): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool, str + bin : str, bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -11593,7 +10067,7 @@ class Detail(FieldChannelMixin, core.FieldDefWithoutScale): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -11608,7 +10082,7 @@ class Detail(FieldChannelMixin, core.FieldDefWithoutScale): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -11617,7 +10091,7 @@ class Detail(FieldChannelMixin, core.FieldDefWithoutScale): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -11743,17 +10217,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Detail": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Detail": ... @@ -11773,12 +10243,7 @@ def bin( binned: Union[bool, UndefinedType] = Undefined, divide: Union[Sequence[float], UndefinedType] = Undefined, extent: Union[ - Union[ - Sequence[float], - Union[core.ParameterExtent, core._Parameter, dict], - core.BinExtent, - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, maxbins: Union[float, UndefinedType] = Undefined, minstep: Union[float, UndefinedType] = Undefined, @@ -11980,114 +10445,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -12117,208 +10562,170 @@ def type( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool, str], UndefinedType - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + bin: Union[str, bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -12340,14 +10747,12 @@ def __init__( class Facet(FieldChannelMixin, core.FacetEncodingFieldDef): """Facet schema wrapper - :class:`FacetEncodingFieldDef`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -12355,7 +10760,7 @@ class Facet(FieldChannelMixin, core.FacetEncodingFieldDef): **See also:** `aggregate `__ documentation. - align : :class:`LayoutAlign`, Literal['all', 'each', 'none'], :class:`RowColLayoutAlign`, Dict + align : dict, :class:`LayoutAlign`, :class:`RowColLayoutAlign`, Literal['all', 'each', 'none'] The alignment to apply to grid rows and columns. The supported string values are ``"all"``, ``"each"``, and ``"none"``. @@ -12376,7 +10781,7 @@ class Facet(FieldChannelMixin, core.FacetEncodingFieldDef): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool + bin : bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -12409,7 +10814,7 @@ class Facet(FieldChannelMixin, core.FacetEncodingFieldDef): sub-plots without axes or legends into a uniform grid structure. **Default value:** ``"full"`` - center : :class:`RowColboolean`, Dict, bool + center : bool, dict, :class:`RowColboolean` Boolean flag indicating if subviews should be centered relative to their respective rows or columns. @@ -12435,7 +10840,7 @@ class Facet(FieldChannelMixin, core.FacetEncodingFieldDef): 2) Setting the ``columns`` to ``1`` is equivalent to ``vconcat`` (for ``concat`` ) and to using the ``row`` channel (for ``facet`` and ``repeat`` ). - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -12450,9 +10855,9 @@ class Facet(FieldChannelMixin, core.FacetEncodingFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - header : :class:`Header`, Dict, None + header : dict, None, :class:`Header` An object defining properties of a facet's header. - sort : :class:`EncodingSortField`, Dict, :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str], :class:`SortOrder`, Literal['ascending', 'descending'], None + sort : dict, None, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`EncodingSortField`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -12479,7 +10884,7 @@ class Facet(FieldChannelMixin, core.FacetEncodingFieldDef): **Default value:** ``"ascending"`` **Note:** ``null`` is not supported for ``row`` and ``column``. - spacing : :class:`RowColnumber`, Dict, float + spacing : dict, float, :class:`RowColnumber` The spacing in pixels between sub-views of the composition operator. An object of the form ``{"row": number, "column": number}`` can be used to set different spacing values for rows and columns. @@ -12487,7 +10892,7 @@ class Facet(FieldChannelMixin, core.FacetEncodingFieldDef): **Default value** : Depends on ``"spacing"`` property of `the view composition configuration `__ ( ``20`` by default) - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -12496,7 +10901,7 @@ class Facet(FieldChannelMixin, core.FacetEncodingFieldDef): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -12622,17 +11027,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Facet": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Facet": ... @@ -12644,10 +11045,10 @@ def align(self, _: Literal["all", "each", "none"], **kwds) -> "Facet": def align( self, column: Union[ - Union[Literal["all", "each", "none"], core.LayoutAlign], UndefinedType + core.SchemaBase, Literal["all", "each", "none"], UndefinedType ] = Undefined, row: Union[ - Union[Literal["all", "each", "none"], core.LayoutAlign], UndefinedType + core.SchemaBase, Literal["all", "each", "none"], UndefinedType ] = Undefined, **kwds, ) -> "Facet": @@ -12669,12 +11070,7 @@ def bin( binned: Union[bool, UndefinedType] = Undefined, divide: Union[Sequence[float], UndefinedType] = Undefined, extent: Union[ - Union[ - Sequence[float], - Union[core.ParameterExtent, core._Parameter, dict], - core.BinExtent, - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, maxbins: Union[float, UndefinedType] = Undefined, minstep: Union[float, UndefinedType] = Undefined, @@ -12727,485 +11123,451 @@ def field( @overload def header( self, - format: Union[Union[Union[core.Dict, dict], str], UndefinedType] = Undefined, + format: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, labelAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, labelAnchor: Union[ - Union[Literal[None, "start", "middle", "end"], core.TitleAnchor], - UndefinedType, + core.SchemaBase, Literal[None, "start", "middle", "end"], UndefinedType ] = Undefined, labelAngle: Union[float, UndefinedType] = Undefined, labelBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, labelColor: Union[ - Union[ - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, labelExpr: Union[str, UndefinedType] = Undefined, labelFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, labelLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelLineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOrient: Union[ - Union[Literal["left", "right", "top", "bottom"], core.Orient], UndefinedType + core.SchemaBase, Literal["left", "right", "top", "bottom"], UndefinedType ] = Undefined, labelPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labels: Union[bool, UndefinedType] = Undefined, orient: Union[ - Union[Literal["left", "right", "top", "bottom"], core.Orient], UndefinedType + core.SchemaBase, Literal["left", "right", "top", "bottom"], UndefinedType ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, titleAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, titleAnchor: Union[ - Union[Literal[None, "start", "middle", "end"], core.TitleAnchor], - UndefinedType, + core.SchemaBase, Literal[None, "start", "middle", "end"], UndefinedType ] = Undefined, titleAngle: Union[float, UndefinedType] = Undefined, titleBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, titleColor: Union[ - Union[ - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, titleFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, titleLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleLineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleOrient: Union[ - Union[Literal["left", "right", "top", "bottom"], core.Orient], UndefinedType + core.SchemaBase, Literal["left", "right", "top", "bottom"], UndefinedType ] = Undefined, titlePadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Facet": @@ -13238,42 +11600,36 @@ def sort(self, _: Literal["ascending", "descending"], **kwds) -> "Facet": @overload def sort( self, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, op: Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "Facet": @@ -13465,114 +11821,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -13602,239 +11938,189 @@ def type( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, align: Union[ - Union[ - Union[Literal["all", "each", "none"], core.LayoutAlign], - Union[core.RowColLayoutAlign, dict], - ], - UndefinedType, + dict, core.SchemaBase, Literal["all", "each", "none"], UndefinedType ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, bounds: Union[Literal["full", "flush"], UndefinedType] = Undefined, - center: Union[ - Union[Union[core.RowColboolean, dict], bool], UndefinedType - ] = Undefined, + center: Union[bool, dict, core.SchemaBase, UndefinedType] = Undefined, columns: Union[float, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - header: Union[Union[None, Union[core.Header, dict]], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + header: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[core.EncodingSortField, dict], - ], + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], UndefinedType, ] = Undefined, - spacing: Union[ - Union[Union[core.RowColnumber, dict], float], UndefinedType - ] = Undefined, + spacing: Union[dict, float, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -13866,15 +12152,12 @@ class Fill( ): """Fill schema wrapper - :class:`FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull`, - Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -13886,7 +12169,7 @@ class Fill( Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool + bin : bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -13907,14 +12190,14 @@ class Fill( **See also:** `bin `__ documentation. - condition : :class:`ConditionalParameterValueDefGradientstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefGradientstringnullExprRef`, Sequence[:class:`ConditionalParameterValueDefGradientstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefGradientstringnullExprRef`] + condition : dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -13929,7 +12212,7 @@ class Fill( about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - legend : :class:`Legend`, Dict, None + legend : dict, None, :class:`Legend` An object defining properties of the legend. If ``null``, the legend for the encoding channel will be removed. @@ -13938,7 +12221,7 @@ class Fill( **See also:** `legend `__ documentation. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -13951,7 +12234,7 @@ class Fill( **See also:** `scale `__ documentation. - sort : :class:`AllSortString`, :class:`SortByChannelDesc`, Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'], :class:`SortByChannel`, Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], :class:`SortOrder`, Literal['ascending', 'descending'], :class:`EncodingSortField`, Dict, :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str], :class:`SortByEncoding`, Dict[required=[encoding]], :class:`Sort`, None + sort : dict, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'], Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -13990,7 +12273,7 @@ class Fill( **See also:** `sort `__ documentation. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -13999,7 +12282,7 @@ class Fill( **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -14125,17 +12408,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Fill": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Fill": ... @@ -14155,12 +12434,7 @@ def bin( binned: Union[bool, UndefinedType] = Undefined, divide: Union[Sequence[float], UndefinedType] = Undefined, extent: Union[ - Union[ - Sequence[float], - Union[core.ParameterExtent, core._Parameter, dict], - core.BinExtent, - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, maxbins: Union[float, UndefinedType] = Undefined, minstep: Union[float, UndefinedType] = Undefined, @@ -14178,40 +12452,9 @@ def bin(self, _: None, **kwds) -> "Fill": @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[ - None, - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], - str, - ], - UndefinedType, + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Fill": @@ -14221,19 +12464,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[ - None, - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], - str, - ], - UndefinedType, + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Fill": @@ -14263,1472 +12496,1374 @@ def field( def legend( self, aria: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, clipHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, columnPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, columns: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, description: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, direction: Union[ - Union[Literal["horizontal", "vertical"], core.Orientation], UndefinedType + core.SchemaBase, Literal["horizontal", "vertical"], UndefinedType ] = Undefined, fillColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, - ] = Undefined, - format: Union[Union[Union[core.Dict, dict], str], UndefinedType] = Undefined, + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", + ], + UndefinedType, + ] = Undefined, + format: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, gradientLength: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientStrokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, gradientStrokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientThickness: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gridAlign: Union[ - Union[ - Union[Literal["all", "each", "none"], core.LayoutAlign], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["all", "each", "none"], UndefinedType, ] = Undefined, labelAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, labelBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, labelColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, labelExpr: Union[str, UndefinedType] = Undefined, labelFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, labelLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOverlap: Union[ - Union[ - Union[bool, core.LabelOverlap, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelSeparation: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, legendX: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, legendY: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, orient: Union[ - Union[ - Literal[ - "none", - "left", - "right", - "top", - "bottom", - "top-left", - "top-right", - "bottom-left", - "bottom-right", - ], - core.LegendOrient, + core.SchemaBase, + Literal[ + "none", + "left", + "right", + "top", + "bottom", + "top-left", + "top-right", + "bottom-left", + "bottom-right", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rowPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolDash: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, symbolDashOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolFillColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolStrokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolStrokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolType: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.SymbolShape, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickCount: Union[ - Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.TimeIntervalStep, dict], - core.TickCount, - float, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, tickMinStep: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, titleAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, titleAnchor: Union[ - Union[ - Union[Literal[None, "start", "middle", "end"], core.TitleAnchor], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal[None, "start", "middle", "end"], UndefinedType, ] = Undefined, titleBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, titleColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, titleFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, titleLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleLineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleOrient: Union[ - Union[ - Union[Literal["left", "right", "top", "bottom"], core.Orient], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "right", "top", "bottom"], UndefinedType, ] = Undefined, titlePadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, type: Union[Literal["symbol", "gradient"], UndefinedType] = Undefined, values: Union[ - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + Sequence[str], + Sequence[bool], + core._Parameter, + core.SchemaBase, + Sequence[float], + Sequence[Union[dict, core.SchemaBase]], UndefinedType, ] = Undefined, zindex: Union[float, UndefinedType] = Undefined, @@ -15744,542 +13879,487 @@ def legend(self, _: None, **kwds) -> "Fill": def scale( self, align: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, base: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - bins: Union[ - Union[Sequence[float], Union[core.ScaleBinParams, dict], core.ScaleBins], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + bins: Union[dict, core.SchemaBase, Sequence[float], UndefinedType] = Undefined, clamp: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, constant: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domain: Union[ - Union[ - Sequence[ - Union[ - None, - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - bool, - float, - str, - ] - ], - Union[core.DomainUnionWith, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ParameterExtent, core._Parameter, dict], - str, + str, + dict, + core._Parameter, + core.SchemaBase, + Sequence[ + Union[str, bool, dict, None, float, core._Parameter, core.SchemaBase] ], UndefinedType, ] = Undefined, domainMax: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMid: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMin: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainRaw: Union[ - Union[core.ExprRef, core._Parameter, dict], UndefinedType + dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, exponent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "rgb", - "lab", - "hcl", - "hsl", - "hsl-long", - "hcl-long", - "cubehelix", - "cubehelix-long", - ], - core.ScaleInterpolateEnum, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ScaleInterpolateParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "rgb", + "lab", + "hcl", + "hsl", + "hsl-long", + "hcl-long", + "cubehelix", + "cubehelix-long", ], UndefinedType, ] = Undefined, nice: Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.TimeIntervalStep, dict], - bool, - float, + bool, + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingInner: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingOuter: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, range: Union[ - Union[ - Sequence[ - Union[ - Sequence[float], - Union[core.ExprRef, core._Parameter, dict], - float, - str, - ] - ], + dict, + core.SchemaBase, + Sequence[ Union[ - Literal[ - "width", - "height", - "symbol", - "category", - "ordinal", - "ramp", - "diverging", - "heatmap", - ], - core.RangeEnum, - ], - Union[core.FieldRange, dict], + str, dict, float, core._Parameter, core.SchemaBase, Sequence[float] + ] + ], + Literal[ + "width", + "height", + "symbol", + "category", + "ordinal", + "ramp", + "diverging", + "heatmap", ], UndefinedType, ] = Undefined, rangeMax: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rangeMin: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, reverse: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, round: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, scheme: Union[ - Union[ - Union[ - Union[ - Literal[ - "accent", - "category10", - "category20", - "category20b", - "category20c", - "dark2", - "paired", - "pastel1", - "pastel2", - "set1", - "set2", - "set3", - "tableau10", - "tableau20", - ], - core.Categorical, - ], - Union[ - Literal[ - "blueorange", - "blueorange-3", - "blueorange-4", - "blueorange-5", - "blueorange-6", - "blueorange-7", - "blueorange-8", - "blueorange-9", - "blueorange-10", - "blueorange-11", - "brownbluegreen", - "brownbluegreen-3", - "brownbluegreen-4", - "brownbluegreen-5", - "brownbluegreen-6", - "brownbluegreen-7", - "brownbluegreen-8", - "brownbluegreen-9", - "brownbluegreen-10", - "brownbluegreen-11", - "purplegreen", - "purplegreen-3", - "purplegreen-4", - "purplegreen-5", - "purplegreen-6", - "purplegreen-7", - "purplegreen-8", - "purplegreen-9", - "purplegreen-10", - "purplegreen-11", - "pinkyellowgreen", - "pinkyellowgreen-3", - "pinkyellowgreen-4", - "pinkyellowgreen-5", - "pinkyellowgreen-6", - "pinkyellowgreen-7", - "pinkyellowgreen-8", - "pinkyellowgreen-9", - "pinkyellowgreen-10", - "pinkyellowgreen-11", - "purpleorange", - "purpleorange-3", - "purpleorange-4", - "purpleorange-5", - "purpleorange-6", - "purpleorange-7", - "purpleorange-8", - "purpleorange-9", - "purpleorange-10", - "purpleorange-11", - "redblue", - "redblue-3", - "redblue-4", - "redblue-5", - "redblue-6", - "redblue-7", - "redblue-8", - "redblue-9", - "redblue-10", - "redblue-11", - "redgrey", - "redgrey-3", - "redgrey-4", - "redgrey-5", - "redgrey-6", - "redgrey-7", - "redgrey-8", - "redgrey-9", - "redgrey-10", - "redgrey-11", - "redyellowblue", - "redyellowblue-3", - "redyellowblue-4", - "redyellowblue-5", - "redyellowblue-6", - "redyellowblue-7", - "redyellowblue-8", - "redyellowblue-9", - "redyellowblue-10", - "redyellowblue-11", - "redyellowgreen", - "redyellowgreen-3", - "redyellowgreen-4", - "redyellowgreen-5", - "redyellowgreen-6", - "redyellowgreen-7", - "redyellowgreen-8", - "redyellowgreen-9", - "redyellowgreen-10", - "redyellowgreen-11", - "spectral", - "spectral-3", - "spectral-4", - "spectral-5", - "spectral-6", - "spectral-7", - "spectral-8", - "spectral-9", - "spectral-10", - "spectral-11", - ], - core.Diverging, - ], - Union[ - Literal[ - "blues", - "tealblues", - "teals", - "greens", - "browns", - "greys", - "purples", - "warmgreys", - "reds", - "oranges", - ], - core.SequentialSingleHue, - ], - Union[Literal["rainbow", "sinebow"], core.Cyclical], - Union[ - Literal[ - "turbo", - "viridis", - "inferno", - "magma", - "plasma", - "cividis", - "bluegreen", - "bluegreen-3", - "bluegreen-4", - "bluegreen-5", - "bluegreen-6", - "bluegreen-7", - "bluegreen-8", - "bluegreen-9", - "bluepurple", - "bluepurple-3", - "bluepurple-4", - "bluepurple-5", - "bluepurple-6", - "bluepurple-7", - "bluepurple-8", - "bluepurple-9", - "goldgreen", - "goldgreen-3", - "goldgreen-4", - "goldgreen-5", - "goldgreen-6", - "goldgreen-7", - "goldgreen-8", - "goldgreen-9", - "goldorange", - "goldorange-3", - "goldorange-4", - "goldorange-5", - "goldorange-6", - "goldorange-7", - "goldorange-8", - "goldorange-9", - "goldred", - "goldred-3", - "goldred-4", - "goldred-5", - "goldred-6", - "goldred-7", - "goldred-8", - "goldred-9", - "greenblue", - "greenblue-3", - "greenblue-4", - "greenblue-5", - "greenblue-6", - "greenblue-7", - "greenblue-8", - "greenblue-9", - "orangered", - "orangered-3", - "orangered-4", - "orangered-5", - "orangered-6", - "orangered-7", - "orangered-8", - "orangered-9", - "purplebluegreen", - "purplebluegreen-3", - "purplebluegreen-4", - "purplebluegreen-5", - "purplebluegreen-6", - "purplebluegreen-7", - "purplebluegreen-8", - "purplebluegreen-9", - "purpleblue", - "purpleblue-3", - "purpleblue-4", - "purpleblue-5", - "purpleblue-6", - "purpleblue-7", - "purpleblue-8", - "purpleblue-9", - "purplered", - "purplered-3", - "purplered-4", - "purplered-5", - "purplered-6", - "purplered-7", - "purplered-8", - "purplered-9", - "redpurple", - "redpurple-3", - "redpurple-4", - "redpurple-5", - "redpurple-6", - "redpurple-7", - "redpurple-8", - "redpurple-9", - "yellowgreenblue", - "yellowgreenblue-3", - "yellowgreenblue-4", - "yellowgreenblue-5", - "yellowgreenblue-6", - "yellowgreenblue-7", - "yellowgreenblue-8", - "yellowgreenblue-9", - "yellowgreen", - "yellowgreen-3", - "yellowgreen-4", - "yellowgreen-5", - "yellowgreen-6", - "yellowgreen-7", - "yellowgreen-8", - "yellowgreen-9", - "yelloworangebrown", - "yelloworangebrown-3", - "yelloworangebrown-4", - "yelloworangebrown-5", - "yelloworangebrown-6", - "yelloworangebrown-7", - "yelloworangebrown-8", - "yelloworangebrown-9", - "yelloworangered", - "yelloworangered-3", - "yelloworangered-4", - "yelloworangered-5", - "yelloworangered-6", - "yelloworangered-7", - "yelloworangered-8", - "yelloworangered-9", - "darkblue", - "darkblue-3", - "darkblue-4", - "darkblue-5", - "darkblue-6", - "darkblue-7", - "darkblue-8", - "darkblue-9", - "darkgold", - "darkgold-3", - "darkgold-4", - "darkgold-5", - "darkgold-6", - "darkgold-7", - "darkgold-8", - "darkgold-9", - "darkgreen", - "darkgreen-3", - "darkgreen-4", - "darkgreen-5", - "darkgreen-6", - "darkgreen-7", - "darkgreen-8", - "darkgreen-9", - "darkmulti", - "darkmulti-3", - "darkmulti-4", - "darkmulti-5", - "darkmulti-6", - "darkmulti-7", - "darkmulti-8", - "darkmulti-9", - "darkred", - "darkred-3", - "darkred-4", - "darkred-5", - "darkred-6", - "darkred-7", - "darkred-8", - "darkred-9", - "lightgreyred", - "lightgreyred-3", - "lightgreyred-4", - "lightgreyred-5", - "lightgreyred-6", - "lightgreyred-7", - "lightgreyred-8", - "lightgreyred-9", - "lightgreyteal", - "lightgreyteal-3", - "lightgreyteal-4", - "lightgreyteal-5", - "lightgreyteal-6", - "lightgreyteal-7", - "lightgreyteal-8", - "lightgreyteal-9", - "lightmulti", - "lightmulti-3", - "lightmulti-4", - "lightmulti-5", - "lightmulti-6", - "lightmulti-7", - "lightmulti-8", - "lightmulti-9", - "lightorange", - "lightorange-3", - "lightorange-4", - "lightorange-5", - "lightorange-6", - "lightorange-7", - "lightorange-8", - "lightorange-9", - "lighttealblue", - "lighttealblue-3", - "lighttealblue-4", - "lighttealblue-5", - "lighttealblue-6", - "lighttealblue-7", - "lighttealblue-8", - "lighttealblue-9", - ], - core.SequentialMultiHue, - ], - core.ColorScheme, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.SchemeParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal["rainbow", "sinebow"], + Literal[ + "blues", + "tealblues", + "teals", + "greens", + "browns", + "greys", + "purples", + "warmgreys", + "reds", + "oranges", + ], + Literal[ + "accent", + "category10", + "category20", + "category20b", + "category20c", + "dark2", + "paired", + "pastel1", + "pastel2", + "set1", + "set2", + "set3", + "tableau10", + "tableau20", + ], + Literal[ + "blueorange", + "blueorange-3", + "blueorange-4", + "blueorange-5", + "blueorange-6", + "blueorange-7", + "blueorange-8", + "blueorange-9", + "blueorange-10", + "blueorange-11", + "brownbluegreen", + "brownbluegreen-3", + "brownbluegreen-4", + "brownbluegreen-5", + "brownbluegreen-6", + "brownbluegreen-7", + "brownbluegreen-8", + "brownbluegreen-9", + "brownbluegreen-10", + "brownbluegreen-11", + "purplegreen", + "purplegreen-3", + "purplegreen-4", + "purplegreen-5", + "purplegreen-6", + "purplegreen-7", + "purplegreen-8", + "purplegreen-9", + "purplegreen-10", + "purplegreen-11", + "pinkyellowgreen", + "pinkyellowgreen-3", + "pinkyellowgreen-4", + "pinkyellowgreen-5", + "pinkyellowgreen-6", + "pinkyellowgreen-7", + "pinkyellowgreen-8", + "pinkyellowgreen-9", + "pinkyellowgreen-10", + "pinkyellowgreen-11", + "purpleorange", + "purpleorange-3", + "purpleorange-4", + "purpleorange-5", + "purpleorange-6", + "purpleorange-7", + "purpleorange-8", + "purpleorange-9", + "purpleorange-10", + "purpleorange-11", + "redblue", + "redblue-3", + "redblue-4", + "redblue-5", + "redblue-6", + "redblue-7", + "redblue-8", + "redblue-9", + "redblue-10", + "redblue-11", + "redgrey", + "redgrey-3", + "redgrey-4", + "redgrey-5", + "redgrey-6", + "redgrey-7", + "redgrey-8", + "redgrey-9", + "redgrey-10", + "redgrey-11", + "redyellowblue", + "redyellowblue-3", + "redyellowblue-4", + "redyellowblue-5", + "redyellowblue-6", + "redyellowblue-7", + "redyellowblue-8", + "redyellowblue-9", + "redyellowblue-10", + "redyellowblue-11", + "redyellowgreen", + "redyellowgreen-3", + "redyellowgreen-4", + "redyellowgreen-5", + "redyellowgreen-6", + "redyellowgreen-7", + "redyellowgreen-8", + "redyellowgreen-9", + "redyellowgreen-10", + "redyellowgreen-11", + "spectral", + "spectral-3", + "spectral-4", + "spectral-5", + "spectral-6", + "spectral-7", + "spectral-8", + "spectral-9", + "spectral-10", + "spectral-11", + ], + Literal[ + "turbo", + "viridis", + "inferno", + "magma", + "plasma", + "cividis", + "bluegreen", + "bluegreen-3", + "bluegreen-4", + "bluegreen-5", + "bluegreen-6", + "bluegreen-7", + "bluegreen-8", + "bluegreen-9", + "bluepurple", + "bluepurple-3", + "bluepurple-4", + "bluepurple-5", + "bluepurple-6", + "bluepurple-7", + "bluepurple-8", + "bluepurple-9", + "goldgreen", + "goldgreen-3", + "goldgreen-4", + "goldgreen-5", + "goldgreen-6", + "goldgreen-7", + "goldgreen-8", + "goldgreen-9", + "goldorange", + "goldorange-3", + "goldorange-4", + "goldorange-5", + "goldorange-6", + "goldorange-7", + "goldorange-8", + "goldorange-9", + "goldred", + "goldred-3", + "goldred-4", + "goldred-5", + "goldred-6", + "goldred-7", + "goldred-8", + "goldred-9", + "greenblue", + "greenblue-3", + "greenblue-4", + "greenblue-5", + "greenblue-6", + "greenblue-7", + "greenblue-8", + "greenblue-9", + "orangered", + "orangered-3", + "orangered-4", + "orangered-5", + "orangered-6", + "orangered-7", + "orangered-8", + "orangered-9", + "purplebluegreen", + "purplebluegreen-3", + "purplebluegreen-4", + "purplebluegreen-5", + "purplebluegreen-6", + "purplebluegreen-7", + "purplebluegreen-8", + "purplebluegreen-9", + "purpleblue", + "purpleblue-3", + "purpleblue-4", + "purpleblue-5", + "purpleblue-6", + "purpleblue-7", + "purpleblue-8", + "purpleblue-9", + "purplered", + "purplered-3", + "purplered-4", + "purplered-5", + "purplered-6", + "purplered-7", + "purplered-8", + "purplered-9", + "redpurple", + "redpurple-3", + "redpurple-4", + "redpurple-5", + "redpurple-6", + "redpurple-7", + "redpurple-8", + "redpurple-9", + "yellowgreenblue", + "yellowgreenblue-3", + "yellowgreenblue-4", + "yellowgreenblue-5", + "yellowgreenblue-6", + "yellowgreenblue-7", + "yellowgreenblue-8", + "yellowgreenblue-9", + "yellowgreen", + "yellowgreen-3", + "yellowgreen-4", + "yellowgreen-5", + "yellowgreen-6", + "yellowgreen-7", + "yellowgreen-8", + "yellowgreen-9", + "yelloworangebrown", + "yelloworangebrown-3", + "yelloworangebrown-4", + "yelloworangebrown-5", + "yelloworangebrown-6", + "yelloworangebrown-7", + "yelloworangebrown-8", + "yelloworangebrown-9", + "yelloworangered", + "yelloworangered-3", + "yelloworangered-4", + "yelloworangered-5", + "yelloworangered-6", + "yelloworangered-7", + "yelloworangered-8", + "yelloworangered-9", + "darkblue", + "darkblue-3", + "darkblue-4", + "darkblue-5", + "darkblue-6", + "darkblue-7", + "darkblue-8", + "darkblue-9", + "darkgold", + "darkgold-3", + "darkgold-4", + "darkgold-5", + "darkgold-6", + "darkgold-7", + "darkgold-8", + "darkgold-9", + "darkgreen", + "darkgreen-3", + "darkgreen-4", + "darkgreen-5", + "darkgreen-6", + "darkgreen-7", + "darkgreen-8", + "darkgreen-9", + "darkmulti", + "darkmulti-3", + "darkmulti-4", + "darkmulti-5", + "darkmulti-6", + "darkmulti-7", + "darkmulti-8", + "darkmulti-9", + "darkred", + "darkred-3", + "darkred-4", + "darkred-5", + "darkred-6", + "darkred-7", + "darkred-8", + "darkred-9", + "lightgreyred", + "lightgreyred-3", + "lightgreyred-4", + "lightgreyred-5", + "lightgreyred-6", + "lightgreyred-7", + "lightgreyred-8", + "lightgreyred-9", + "lightgreyteal", + "lightgreyteal-3", + "lightgreyteal-4", + "lightgreyteal-5", + "lightgreyteal-6", + "lightgreyteal-7", + "lightgreyteal-8", + "lightgreyteal-9", + "lightmulti", + "lightmulti-3", + "lightmulti-4", + "lightmulti-5", + "lightmulti-6", + "lightmulti-7", + "lightmulti-8", + "lightmulti-9", + "lightorange", + "lightorange-3", + "lightorange-4", + "lightorange-5", + "lightorange-6", + "lightorange-7", + "lightorange-8", + "lightorange-9", + "lighttealblue", + "lighttealblue-3", + "lighttealblue-4", + "lighttealblue-5", + "lighttealblue-6", + "lighttealblue-7", + "lighttealblue-8", + "lighttealblue-9", ], UndefinedType, ] = Undefined, type: Union[ - Union[ - Literal[ - "linear", - "log", - "pow", - "sqrt", - "symlog", - "identity", - "sequential", - "time", - "utc", - "quantile", - "quantize", - "threshold", - "bin-ordinal", - "ordinal", - "point", - "band", - ], - core.ScaleType, + core.SchemaBase, + Literal[ + "linear", + "log", + "pow", + "sqrt", + "symlog", + "identity", + "sequential", + "time", + "utc", + "quantile", + "quantize", + "threshold", + "bin-ordinal", + "ordinal", + "point", + "band", ], UndefinedType, ] = Undefined, zero: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Fill": @@ -16354,42 +14434,36 @@ def sort( @overload def sort( self, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, op: Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "Fill": @@ -16399,28 +14473,25 @@ def sort( def sort( self, encoding: Union[ - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, + core.SchemaBase, + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "Fill": @@ -16599,114 +14670,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -16736,291 +14787,214 @@ def type( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - Union[ - core.ConditionalParameterValueDefGradientstringnullExprRef, - dict, - ], - Union[ - core.ConditionalPredicateValueDefGradientstringnullExprRef, - dict, - ], - core.ConditionalValueDefGradientstringnullExprRef, - ] - ], - Union[ - Union[ - core.ConditionalParameterValueDefGradientstringnullExprRef, dict - ], - Union[ - core.ConditionalPredicateValueDefGradientstringnullExprRef, dict - ], - core.ConditionalValueDefGradientstringnullExprRef, - ], - ], - UndefinedType, - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -17048,8 +15022,6 @@ class FillDatum( ): """FillDatum schema wrapper - :class:`FieldOrDatumDefWithConditionDatumDefGradientstringnull`, Dict - Parameters ---------- @@ -17057,16 +15029,16 @@ class FillDatum( Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - condition : :class:`ConditionalParameterValueDefGradientstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefGradientstringnullExprRef`, Sequence[:class:`ConditionalParameterValueDefGradientstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefGradientstringnullExprRef`] + condition : dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -17167,40 +15139,9 @@ def bandPosition(self, _: float, **kwds) -> "FillDatum": @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[ - None, - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], - str, - ], - UndefinedType, + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "FillDatum": @@ -17210,19 +15151,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[ - None, - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], - str, - ], - UndefinedType, + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "FillDatum": @@ -17259,40 +15190,14 @@ def __init__( datum, bandPosition: Union[float, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - Union[ - core.ConditionalParameterValueDefGradientstringnullExprRef, - dict, - ], - Union[ - core.ConditionalPredicateValueDefGradientstringnullExprRef, - dict, - ], - core.ConditionalValueDefGradientstringnullExprRef, - ] - ], - Union[ - Union[ - core.ConditionalParameterValueDefGradientstringnullExprRef, dict - ], - Union[ - core.ConditionalPredicateValueDefGradientstringnullExprRef, dict - ], - core.ConditionalValueDefGradientstringnullExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -17314,14 +15219,12 @@ class FillValue( ): """FillValue schema wrapper - :class:`ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull`, Dict - Parameters ---------- - condition : :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, Dict[required=[param]], :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Dict[required=[test]], :class:`ConditionalParameterValueDefGradientstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefGradientstringnullExprRef`, Sequence[:class:`ConditionalParameterValueDefGradientstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefGradientstringnullExprRef`] + condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]], None, str + value : str, dict, None, :class:`ExprRef`, :class:`Gradient`, :class:`LinearGradient`, :class:`RadialGradient` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -17334,283 +15237,209 @@ class FillValue( def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, - ], - UndefinedType, - ] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", + ], + UndefinedType, + ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -17622,46 +15451,24 @@ def condition( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union[None, bool, core.PrimitiveValue, float, str], - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.RepeatRef, dict], - ], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, + UndefinedType, + ] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -17672,263 +15479,210 @@ def condition( def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -17940,26 +15694,25 @@ def condition( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union[None, bool, core.PrimitiveValue, float, str], - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.RepeatRef, dict], - ], + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, UndefinedType, ] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -17969,40 +15722,9 @@ def condition( @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[ - None, - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], - str, - ], - UndefinedType, + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "FillValue": @@ -18012,19 +15734,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[ - None, - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], - str, - ], - UndefinedType, + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "FillValue": @@ -18040,36 +15752,7 @@ def __init__( self, value, condition: Union[ - Union[ - Sequence[ - Union[ - Union[ - core.ConditionalParameterValueDefGradientstringnullExprRef, - dict, - ], - Union[ - core.ConditionalPredicateValueDefGradientstringnullExprRef, - dict, - ], - core.ConditionalValueDefGradientstringnullExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterMarkPropFieldOrDatumDef, dict], - Union[core.ConditionalPredicateMarkPropFieldOrDatumDef, dict], - core.ConditionalMarkPropFieldOrDatumDef, - ], - Union[ - Union[ - core.ConditionalParameterValueDefGradientstringnullExprRef, dict - ], - Union[ - core.ConditionalPredicateValueDefGradientstringnullExprRef, dict - ], - core.ConditionalValueDefGradientstringnullExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, **kwds, ): @@ -18082,14 +15765,12 @@ class FillOpacity( ): """FillOpacity schema wrapper - :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -18101,7 +15782,7 @@ class FillOpacity( Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool + bin : bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -18122,14 +15803,14 @@ class FillOpacity( **See also:** `bin `__ documentation. - condition : :class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`, Sequence[:class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`] + condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -18144,7 +15825,7 @@ class FillOpacity( about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - legend : :class:`Legend`, Dict, None + legend : dict, None, :class:`Legend` An object defining properties of the legend. If ``null``, the legend for the encoding channel will be removed. @@ -18153,7 +15834,7 @@ class FillOpacity( **See also:** `legend `__ documentation. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -18166,7 +15847,7 @@ class FillOpacity( **See also:** `scale `__ documentation. - sort : :class:`AllSortString`, :class:`SortByChannelDesc`, Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'], :class:`SortByChannel`, Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], :class:`SortOrder`, Literal['ascending', 'descending'], :class:`EncodingSortField`, Dict, :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str], :class:`SortByEncoding`, Dict[required=[encoding]], :class:`Sort`, None + sort : dict, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'], Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -18205,7 +15886,7 @@ class FillOpacity( **See also:** `sort `__ documentation. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -18214,7 +15895,7 @@ class FillOpacity( **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -18340,17 +16021,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "FillOpacity": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "FillOpacity": ... @@ -18370,12 +16047,7 @@ def bin( binned: Union[bool, UndefinedType] = Undefined, divide: Union[Sequence[float], UndefinedType] = Undefined, extent: Union[ - Union[ - Sequence[float], - Union[core.ParameterExtent, core._Parameter, dict], - core.BinExtent, - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, maxbins: Union[float, UndefinedType] = Undefined, minstep: Union[float, UndefinedType] = Undefined, @@ -18393,30 +16065,9 @@ def bin(self, _: None, **kwds) -> "FillOpacity": @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "FillOpacity": @@ -18426,9 +16077,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "FillOpacity": @@ -18458,1472 +16109,1374 @@ def field( def legend( self, aria: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, clipHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, columnPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, columns: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, description: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, direction: Union[ - Union[Literal["horizontal", "vertical"], core.Orientation], UndefinedType + core.SchemaBase, Literal["horizontal", "vertical"], UndefinedType ] = Undefined, fillColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, - ] = Undefined, - format: Union[Union[Union[core.Dict, dict], str], UndefinedType] = Undefined, + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", + ], + UndefinedType, + ] = Undefined, + format: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, gradientLength: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientStrokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, gradientStrokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientThickness: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gridAlign: Union[ - Union[ - Union[Literal["all", "each", "none"], core.LayoutAlign], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["all", "each", "none"], UndefinedType, ] = Undefined, labelAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, labelBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, labelColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, labelExpr: Union[str, UndefinedType] = Undefined, labelFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, labelLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOverlap: Union[ - Union[ - Union[bool, core.LabelOverlap, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelSeparation: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, legendX: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, legendY: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, orient: Union[ - Union[ - Literal[ - "none", - "left", - "right", - "top", - "bottom", - "top-left", - "top-right", - "bottom-left", - "bottom-right", - ], - core.LegendOrient, + core.SchemaBase, + Literal[ + "none", + "left", + "right", + "top", + "bottom", + "top-left", + "top-right", + "bottom-left", + "bottom-right", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rowPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolDash: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, symbolDashOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolFillColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolStrokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolStrokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolType: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.SymbolShape, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickCount: Union[ - Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.TimeIntervalStep, dict], - core.TickCount, - float, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, tickMinStep: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, titleAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, titleAnchor: Union[ - Union[ - Union[Literal[None, "start", "middle", "end"], core.TitleAnchor], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal[None, "start", "middle", "end"], UndefinedType, ] = Undefined, titleBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, titleColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, titleFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, titleLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleLineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleOrient: Union[ - Union[ - Union[Literal["left", "right", "top", "bottom"], core.Orient], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "right", "top", "bottom"], UndefinedType, ] = Undefined, titlePadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, type: Union[Literal["symbol", "gradient"], UndefinedType] = Undefined, values: Union[ - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + Sequence[str], + Sequence[bool], + core._Parameter, + core.SchemaBase, + Sequence[float], + Sequence[Union[dict, core.SchemaBase]], UndefinedType, ] = Undefined, zindex: Union[float, UndefinedType] = Undefined, @@ -19939,542 +17492,487 @@ def legend(self, _: None, **kwds) -> "FillOpacity": def scale( self, align: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, base: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - bins: Union[ - Union[Sequence[float], Union[core.ScaleBinParams, dict], core.ScaleBins], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + bins: Union[dict, core.SchemaBase, Sequence[float], UndefinedType] = Undefined, clamp: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, constant: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domain: Union[ - Union[ - Sequence[ - Union[ - None, - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - bool, - float, - str, - ] - ], - Union[core.DomainUnionWith, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ParameterExtent, core._Parameter, dict], - str, + str, + dict, + core._Parameter, + core.SchemaBase, + Sequence[ + Union[str, bool, dict, None, float, core._Parameter, core.SchemaBase] ], UndefinedType, ] = Undefined, domainMax: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMid: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMin: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainRaw: Union[ - Union[core.ExprRef, core._Parameter, dict], UndefinedType + dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, exponent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "rgb", - "lab", - "hcl", - "hsl", - "hsl-long", - "hcl-long", - "cubehelix", - "cubehelix-long", - ], - core.ScaleInterpolateEnum, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ScaleInterpolateParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "rgb", + "lab", + "hcl", + "hsl", + "hsl-long", + "hcl-long", + "cubehelix", + "cubehelix-long", ], UndefinedType, ] = Undefined, nice: Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.TimeIntervalStep, dict], - bool, - float, + bool, + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingInner: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingOuter: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, range: Union[ - Union[ - Sequence[ - Union[ - Sequence[float], - Union[core.ExprRef, core._Parameter, dict], - float, - str, - ] - ], + dict, + core.SchemaBase, + Sequence[ Union[ - Literal[ - "width", - "height", - "symbol", - "category", - "ordinal", - "ramp", - "diverging", - "heatmap", - ], - core.RangeEnum, - ], - Union[core.FieldRange, dict], + str, dict, float, core._Parameter, core.SchemaBase, Sequence[float] + ] + ], + Literal[ + "width", + "height", + "symbol", + "category", + "ordinal", + "ramp", + "diverging", + "heatmap", ], UndefinedType, ] = Undefined, rangeMax: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rangeMin: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, reverse: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, round: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, scheme: Union[ - Union[ - Union[ - Union[ - Literal[ - "accent", - "category10", - "category20", - "category20b", - "category20c", - "dark2", - "paired", - "pastel1", - "pastel2", - "set1", - "set2", - "set3", - "tableau10", - "tableau20", - ], - core.Categorical, - ], - Union[ - Literal[ - "blueorange", - "blueorange-3", - "blueorange-4", - "blueorange-5", - "blueorange-6", - "blueorange-7", - "blueorange-8", - "blueorange-9", - "blueorange-10", - "blueorange-11", - "brownbluegreen", - "brownbluegreen-3", - "brownbluegreen-4", - "brownbluegreen-5", - "brownbluegreen-6", - "brownbluegreen-7", - "brownbluegreen-8", - "brownbluegreen-9", - "brownbluegreen-10", - "brownbluegreen-11", - "purplegreen", - "purplegreen-3", - "purplegreen-4", - "purplegreen-5", - "purplegreen-6", - "purplegreen-7", - "purplegreen-8", - "purplegreen-9", - "purplegreen-10", - "purplegreen-11", - "pinkyellowgreen", - "pinkyellowgreen-3", - "pinkyellowgreen-4", - "pinkyellowgreen-5", - "pinkyellowgreen-6", - "pinkyellowgreen-7", - "pinkyellowgreen-8", - "pinkyellowgreen-9", - "pinkyellowgreen-10", - "pinkyellowgreen-11", - "purpleorange", - "purpleorange-3", - "purpleorange-4", - "purpleorange-5", - "purpleorange-6", - "purpleorange-7", - "purpleorange-8", - "purpleorange-9", - "purpleorange-10", - "purpleorange-11", - "redblue", - "redblue-3", - "redblue-4", - "redblue-5", - "redblue-6", - "redblue-7", - "redblue-8", - "redblue-9", - "redblue-10", - "redblue-11", - "redgrey", - "redgrey-3", - "redgrey-4", - "redgrey-5", - "redgrey-6", - "redgrey-7", - "redgrey-8", - "redgrey-9", - "redgrey-10", - "redgrey-11", - "redyellowblue", - "redyellowblue-3", - "redyellowblue-4", - "redyellowblue-5", - "redyellowblue-6", - "redyellowblue-7", - "redyellowblue-8", - "redyellowblue-9", - "redyellowblue-10", - "redyellowblue-11", - "redyellowgreen", - "redyellowgreen-3", - "redyellowgreen-4", - "redyellowgreen-5", - "redyellowgreen-6", - "redyellowgreen-7", - "redyellowgreen-8", - "redyellowgreen-9", - "redyellowgreen-10", - "redyellowgreen-11", - "spectral", - "spectral-3", - "spectral-4", - "spectral-5", - "spectral-6", - "spectral-7", - "spectral-8", - "spectral-9", - "spectral-10", - "spectral-11", - ], - core.Diverging, - ], - Union[ - Literal[ - "blues", - "tealblues", - "teals", - "greens", - "browns", - "greys", - "purples", - "warmgreys", - "reds", - "oranges", - ], - core.SequentialSingleHue, - ], - Union[Literal["rainbow", "sinebow"], core.Cyclical], - Union[ - Literal[ - "turbo", - "viridis", - "inferno", - "magma", - "plasma", - "cividis", - "bluegreen", - "bluegreen-3", - "bluegreen-4", - "bluegreen-5", - "bluegreen-6", - "bluegreen-7", - "bluegreen-8", - "bluegreen-9", - "bluepurple", - "bluepurple-3", - "bluepurple-4", - "bluepurple-5", - "bluepurple-6", - "bluepurple-7", - "bluepurple-8", - "bluepurple-9", - "goldgreen", - "goldgreen-3", - "goldgreen-4", - "goldgreen-5", - "goldgreen-6", - "goldgreen-7", - "goldgreen-8", - "goldgreen-9", - "goldorange", - "goldorange-3", - "goldorange-4", - "goldorange-5", - "goldorange-6", - "goldorange-7", - "goldorange-8", - "goldorange-9", - "goldred", - "goldred-3", - "goldred-4", - "goldred-5", - "goldred-6", - "goldred-7", - "goldred-8", - "goldred-9", - "greenblue", - "greenblue-3", - "greenblue-4", - "greenblue-5", - "greenblue-6", - "greenblue-7", - "greenblue-8", - "greenblue-9", - "orangered", - "orangered-3", - "orangered-4", - "orangered-5", - "orangered-6", - "orangered-7", - "orangered-8", - "orangered-9", - "purplebluegreen", - "purplebluegreen-3", - "purplebluegreen-4", - "purplebluegreen-5", - "purplebluegreen-6", - "purplebluegreen-7", - "purplebluegreen-8", - "purplebluegreen-9", - "purpleblue", - "purpleblue-3", - "purpleblue-4", - "purpleblue-5", - "purpleblue-6", - "purpleblue-7", - "purpleblue-8", - "purpleblue-9", - "purplered", - "purplered-3", - "purplered-4", - "purplered-5", - "purplered-6", - "purplered-7", - "purplered-8", - "purplered-9", - "redpurple", - "redpurple-3", - "redpurple-4", - "redpurple-5", - "redpurple-6", - "redpurple-7", - "redpurple-8", - "redpurple-9", - "yellowgreenblue", - "yellowgreenblue-3", - "yellowgreenblue-4", - "yellowgreenblue-5", - "yellowgreenblue-6", - "yellowgreenblue-7", - "yellowgreenblue-8", - "yellowgreenblue-9", - "yellowgreen", - "yellowgreen-3", - "yellowgreen-4", - "yellowgreen-5", - "yellowgreen-6", - "yellowgreen-7", - "yellowgreen-8", - "yellowgreen-9", - "yelloworangebrown", - "yelloworangebrown-3", - "yelloworangebrown-4", - "yelloworangebrown-5", - "yelloworangebrown-6", - "yelloworangebrown-7", - "yelloworangebrown-8", - "yelloworangebrown-9", - "yelloworangered", - "yelloworangered-3", - "yelloworangered-4", - "yelloworangered-5", - "yelloworangered-6", - "yelloworangered-7", - "yelloworangered-8", - "yelloworangered-9", - "darkblue", - "darkblue-3", - "darkblue-4", - "darkblue-5", - "darkblue-6", - "darkblue-7", - "darkblue-8", - "darkblue-9", - "darkgold", - "darkgold-3", - "darkgold-4", - "darkgold-5", - "darkgold-6", - "darkgold-7", - "darkgold-8", - "darkgold-9", - "darkgreen", - "darkgreen-3", - "darkgreen-4", - "darkgreen-5", - "darkgreen-6", - "darkgreen-7", - "darkgreen-8", - "darkgreen-9", - "darkmulti", - "darkmulti-3", - "darkmulti-4", - "darkmulti-5", - "darkmulti-6", - "darkmulti-7", - "darkmulti-8", - "darkmulti-9", - "darkred", - "darkred-3", - "darkred-4", - "darkred-5", - "darkred-6", - "darkred-7", - "darkred-8", - "darkred-9", - "lightgreyred", - "lightgreyred-3", - "lightgreyred-4", - "lightgreyred-5", - "lightgreyred-6", - "lightgreyred-7", - "lightgreyred-8", - "lightgreyred-9", - "lightgreyteal", - "lightgreyteal-3", - "lightgreyteal-4", - "lightgreyteal-5", - "lightgreyteal-6", - "lightgreyteal-7", - "lightgreyteal-8", - "lightgreyteal-9", - "lightmulti", - "lightmulti-3", - "lightmulti-4", - "lightmulti-5", - "lightmulti-6", - "lightmulti-7", - "lightmulti-8", - "lightmulti-9", - "lightorange", - "lightorange-3", - "lightorange-4", - "lightorange-5", - "lightorange-6", - "lightorange-7", - "lightorange-8", - "lightorange-9", - "lighttealblue", - "lighttealblue-3", - "lighttealblue-4", - "lighttealblue-5", - "lighttealblue-6", - "lighttealblue-7", - "lighttealblue-8", - "lighttealblue-9", - ], - core.SequentialMultiHue, - ], - core.ColorScheme, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.SchemeParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal["rainbow", "sinebow"], + Literal[ + "blues", + "tealblues", + "teals", + "greens", + "browns", + "greys", + "purples", + "warmgreys", + "reds", + "oranges", + ], + Literal[ + "accent", + "category10", + "category20", + "category20b", + "category20c", + "dark2", + "paired", + "pastel1", + "pastel2", + "set1", + "set2", + "set3", + "tableau10", + "tableau20", + ], + Literal[ + "blueorange", + "blueorange-3", + "blueorange-4", + "blueorange-5", + "blueorange-6", + "blueorange-7", + "blueorange-8", + "blueorange-9", + "blueorange-10", + "blueorange-11", + "brownbluegreen", + "brownbluegreen-3", + "brownbluegreen-4", + "brownbluegreen-5", + "brownbluegreen-6", + "brownbluegreen-7", + "brownbluegreen-8", + "brownbluegreen-9", + "brownbluegreen-10", + "brownbluegreen-11", + "purplegreen", + "purplegreen-3", + "purplegreen-4", + "purplegreen-5", + "purplegreen-6", + "purplegreen-7", + "purplegreen-8", + "purplegreen-9", + "purplegreen-10", + "purplegreen-11", + "pinkyellowgreen", + "pinkyellowgreen-3", + "pinkyellowgreen-4", + "pinkyellowgreen-5", + "pinkyellowgreen-6", + "pinkyellowgreen-7", + "pinkyellowgreen-8", + "pinkyellowgreen-9", + "pinkyellowgreen-10", + "pinkyellowgreen-11", + "purpleorange", + "purpleorange-3", + "purpleorange-4", + "purpleorange-5", + "purpleorange-6", + "purpleorange-7", + "purpleorange-8", + "purpleorange-9", + "purpleorange-10", + "purpleorange-11", + "redblue", + "redblue-3", + "redblue-4", + "redblue-5", + "redblue-6", + "redblue-7", + "redblue-8", + "redblue-9", + "redblue-10", + "redblue-11", + "redgrey", + "redgrey-3", + "redgrey-4", + "redgrey-5", + "redgrey-6", + "redgrey-7", + "redgrey-8", + "redgrey-9", + "redgrey-10", + "redgrey-11", + "redyellowblue", + "redyellowblue-3", + "redyellowblue-4", + "redyellowblue-5", + "redyellowblue-6", + "redyellowblue-7", + "redyellowblue-8", + "redyellowblue-9", + "redyellowblue-10", + "redyellowblue-11", + "redyellowgreen", + "redyellowgreen-3", + "redyellowgreen-4", + "redyellowgreen-5", + "redyellowgreen-6", + "redyellowgreen-7", + "redyellowgreen-8", + "redyellowgreen-9", + "redyellowgreen-10", + "redyellowgreen-11", + "spectral", + "spectral-3", + "spectral-4", + "spectral-5", + "spectral-6", + "spectral-7", + "spectral-8", + "spectral-9", + "spectral-10", + "spectral-11", + ], + Literal[ + "turbo", + "viridis", + "inferno", + "magma", + "plasma", + "cividis", + "bluegreen", + "bluegreen-3", + "bluegreen-4", + "bluegreen-5", + "bluegreen-6", + "bluegreen-7", + "bluegreen-8", + "bluegreen-9", + "bluepurple", + "bluepurple-3", + "bluepurple-4", + "bluepurple-5", + "bluepurple-6", + "bluepurple-7", + "bluepurple-8", + "bluepurple-9", + "goldgreen", + "goldgreen-3", + "goldgreen-4", + "goldgreen-5", + "goldgreen-6", + "goldgreen-7", + "goldgreen-8", + "goldgreen-9", + "goldorange", + "goldorange-3", + "goldorange-4", + "goldorange-5", + "goldorange-6", + "goldorange-7", + "goldorange-8", + "goldorange-9", + "goldred", + "goldred-3", + "goldred-4", + "goldred-5", + "goldred-6", + "goldred-7", + "goldred-8", + "goldred-9", + "greenblue", + "greenblue-3", + "greenblue-4", + "greenblue-5", + "greenblue-6", + "greenblue-7", + "greenblue-8", + "greenblue-9", + "orangered", + "orangered-3", + "orangered-4", + "orangered-5", + "orangered-6", + "orangered-7", + "orangered-8", + "orangered-9", + "purplebluegreen", + "purplebluegreen-3", + "purplebluegreen-4", + "purplebluegreen-5", + "purplebluegreen-6", + "purplebluegreen-7", + "purplebluegreen-8", + "purplebluegreen-9", + "purpleblue", + "purpleblue-3", + "purpleblue-4", + "purpleblue-5", + "purpleblue-6", + "purpleblue-7", + "purpleblue-8", + "purpleblue-9", + "purplered", + "purplered-3", + "purplered-4", + "purplered-5", + "purplered-6", + "purplered-7", + "purplered-8", + "purplered-9", + "redpurple", + "redpurple-3", + "redpurple-4", + "redpurple-5", + "redpurple-6", + "redpurple-7", + "redpurple-8", + "redpurple-9", + "yellowgreenblue", + "yellowgreenblue-3", + "yellowgreenblue-4", + "yellowgreenblue-5", + "yellowgreenblue-6", + "yellowgreenblue-7", + "yellowgreenblue-8", + "yellowgreenblue-9", + "yellowgreen", + "yellowgreen-3", + "yellowgreen-4", + "yellowgreen-5", + "yellowgreen-6", + "yellowgreen-7", + "yellowgreen-8", + "yellowgreen-9", + "yelloworangebrown", + "yelloworangebrown-3", + "yelloworangebrown-4", + "yelloworangebrown-5", + "yelloworangebrown-6", + "yelloworangebrown-7", + "yelloworangebrown-8", + "yelloworangebrown-9", + "yelloworangered", + "yelloworangered-3", + "yelloworangered-4", + "yelloworangered-5", + "yelloworangered-6", + "yelloworangered-7", + "yelloworangered-8", + "yelloworangered-9", + "darkblue", + "darkblue-3", + "darkblue-4", + "darkblue-5", + "darkblue-6", + "darkblue-7", + "darkblue-8", + "darkblue-9", + "darkgold", + "darkgold-3", + "darkgold-4", + "darkgold-5", + "darkgold-6", + "darkgold-7", + "darkgold-8", + "darkgold-9", + "darkgreen", + "darkgreen-3", + "darkgreen-4", + "darkgreen-5", + "darkgreen-6", + "darkgreen-7", + "darkgreen-8", + "darkgreen-9", + "darkmulti", + "darkmulti-3", + "darkmulti-4", + "darkmulti-5", + "darkmulti-6", + "darkmulti-7", + "darkmulti-8", + "darkmulti-9", + "darkred", + "darkred-3", + "darkred-4", + "darkred-5", + "darkred-6", + "darkred-7", + "darkred-8", + "darkred-9", + "lightgreyred", + "lightgreyred-3", + "lightgreyred-4", + "lightgreyred-5", + "lightgreyred-6", + "lightgreyred-7", + "lightgreyred-8", + "lightgreyred-9", + "lightgreyteal", + "lightgreyteal-3", + "lightgreyteal-4", + "lightgreyteal-5", + "lightgreyteal-6", + "lightgreyteal-7", + "lightgreyteal-8", + "lightgreyteal-9", + "lightmulti", + "lightmulti-3", + "lightmulti-4", + "lightmulti-5", + "lightmulti-6", + "lightmulti-7", + "lightmulti-8", + "lightmulti-9", + "lightorange", + "lightorange-3", + "lightorange-4", + "lightorange-5", + "lightorange-6", + "lightorange-7", + "lightorange-8", + "lightorange-9", + "lighttealblue", + "lighttealblue-3", + "lighttealblue-4", + "lighttealblue-5", + "lighttealblue-6", + "lighttealblue-7", + "lighttealblue-8", + "lighttealblue-9", ], UndefinedType, ] = Undefined, type: Union[ - Union[ - Literal[ - "linear", - "log", - "pow", - "sqrt", - "symlog", - "identity", - "sequential", - "time", - "utc", - "quantile", - "quantize", - "threshold", - "bin-ordinal", - "ordinal", - "point", - "band", - ], - core.ScaleType, + core.SchemaBase, + Literal[ + "linear", + "log", + "pow", + "sqrt", + "symlog", + "identity", + "sequential", + "time", + "utc", + "quantile", + "quantize", + "threshold", + "bin-ordinal", + "ordinal", + "point", + "band", ], UndefinedType, ] = Undefined, zero: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "FillOpacity": @@ -20549,42 +18047,36 @@ def sort( @overload def sort( self, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, op: Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "FillOpacity": @@ -20594,28 +18086,25 @@ def sort( def sort( self, encoding: Union[ - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, + core.SchemaBase, + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "FillOpacity": @@ -20794,114 +18283,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -20931,281 +18400,214 @@ def type( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -21233,8 +18635,6 @@ class FillOpacityDatum( ): """FillOpacityDatum schema wrapper - :class:`FieldOrDatumDefWithConditionDatumDefnumber`, Dict - Parameters ---------- @@ -21242,16 +18642,16 @@ class FillOpacityDatum( Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - condition : :class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`, Sequence[:class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`] + condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -21352,30 +18752,9 @@ def bandPosition(self, _: float, **kwds) -> "FillOpacityDatum": @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "FillOpacityDatum": @@ -21385,9 +18764,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "FillOpacityDatum": @@ -21424,30 +18803,14 @@ def __init__( datum, bandPosition: Union[float, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -21468,14 +18831,12 @@ class FillOpacityValue( ): """FillOpacityValue schema wrapper - :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber`, Dict - Parameters ---------- - condition : :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, Dict[required=[param]], :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Dict[required=[test]], :class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`, Sequence[:class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`] + condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : :class:`ExprRef`, Dict[required=[expr]], float + value : dict, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -21488,283 +18849,209 @@ class FillOpacityValue( def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, - ], - UndefinedType, - ] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", + ], + UndefinedType, + ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -21776,46 +19063,24 @@ def condition( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union[None, bool, core.PrimitiveValue, float, str], - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.RepeatRef, dict], - ], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, + UndefinedType, + ] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -21826,263 +19091,210 @@ def condition( def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -22094,26 +19306,25 @@ def condition( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union[None, bool, core.PrimitiveValue, float, str], - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.RepeatRef, dict], - ], + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, UndefinedType, ] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -22123,30 +19334,9 @@ def condition( @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "FillOpacityValue": @@ -22156,9 +19346,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "FillOpacityValue": @@ -22174,26 +19364,7 @@ def __init__( self, value, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterMarkPropFieldOrDatumDef, dict], - Union[core.ConditionalPredicateMarkPropFieldOrDatumDef, dict], - core.ConditionalMarkPropFieldOrDatumDef, - ], - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, **kwds, ): @@ -22204,14 +19375,12 @@ def __init__( class Href(FieldChannelMixin, core.StringFieldDefWithCondition): """Href schema wrapper - :class:`StringFieldDefWithCondition`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -22223,7 +19392,7 @@ class Href(FieldChannelMixin, core.StringFieldDefWithCondition): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool, str + bin : str, bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -22244,14 +19413,14 @@ class Href(FieldChannelMixin, core.StringFieldDefWithCondition): **See also:** `bin `__ documentation. - condition : :class:`ConditionalParameterValueDefstringExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringExprRef`, Sequence[:class:`ConditionalParameterValueDefstringExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringExprRef`] + condition : dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`, Sequence[dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -22266,7 +19435,7 @@ class Href(FieldChannelMixin, core.StringFieldDefWithCondition): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - format : :class:`Dict`, Dict, str + format : str, dict, :class:`Dict` When used with the default ``"number"`` and ``"time"`` format type, the text formatting pattern for labels of guides (axes, legends, headers) and text marks. @@ -22300,7 +19469,7 @@ class Href(FieldChannelMixin, core.StringFieldDefWithCondition): * ``"time"`` for temporal fields and ordinal and nominal fields with ``timeUnit``. * ``"number"`` for quantitative fields as well as ordinal and nominal fields without ``timeUnit``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -22309,7 +19478,7 @@ class Href(FieldChannelMixin, core.StringFieldDefWithCondition): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -22435,17 +19604,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Href": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Href": ... @@ -22465,12 +19630,7 @@ def bin( binned: Union[bool, UndefinedType] = Undefined, divide: Union[Sequence[float], UndefinedType] = Undefined, extent: Union[ - Union[ - Sequence[float], - Union[core.ParameterExtent, core._Parameter, dict], - core.BinExtent, - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, maxbins: Union[float, UndefinedType] = Undefined, minstep: Union[float, UndefinedType] = Undefined, @@ -22492,30 +19652,9 @@ def bin(self, _: None, **kwds) -> "Href": @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Href": @@ -22525,9 +19664,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Href": @@ -22734,114 +19873,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -22871,227 +19990,175 @@ def type( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool, str], UndefinedType - ] = Undefined, + bin: Union[str, bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefstringExprRef, dict], - Union[core.ConditionalPredicateValueDefstringExprRef, dict], - core.ConditionalValueDefstringExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterValueDefstringExprRef, dict], - Union[core.ConditionalPredicateValueDefstringExprRef, dict], - core.ConditionalValueDefstringExprRef, - ], - ], - UndefinedType, - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, - format: Union[Union[Union[core.Dict, dict], str], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + format: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -23116,14 +20183,12 @@ def __init__( class HrefValue(ValueChannelMixin, core.StringValueDefWithCondition): """HrefValue schema wrapper - :class:`StringValueDefWithCondition`, Dict - Parameters ---------- - condition : :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, Dict[required=[param]], :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Dict[required=[test]], :class:`ConditionalParameterValueDefstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringnullExprRef`, Sequence[:class:`ConditionalParameterValueDefstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringnullExprRef`] + condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : :class:`ExprRef`, Dict[required=[expr]], None, str + value : str, dict, None, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -23136,283 +20201,209 @@ class HrefValue(ValueChannelMixin, core.StringValueDefWithCondition): def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, - ], - UndefinedType, - ] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", + ], + UndefinedType, + ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -23424,46 +20415,24 @@ def condition( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union[None, bool, core.PrimitiveValue, float, str], - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.RepeatRef, dict], - ], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, + UndefinedType, + ] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -23474,263 +20443,210 @@ def condition( def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -23742,26 +20658,25 @@ def condition( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union[None, bool, core.PrimitiveValue, float, str], - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.RepeatRef, dict], - ], + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, UndefinedType, ] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -23771,30 +20686,9 @@ def condition( @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[None, Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "HrefValue": @@ -23804,9 +20698,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[None, Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "HrefValue": @@ -23822,26 +20716,7 @@ def __init__( self, value, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefstringnullExprRef, dict], - Union[core.ConditionalPredicateValueDefstringnullExprRef, dict], - core.ConditionalValueDefstringnullExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterMarkPropFieldOrDatumDef, dict], - Union[core.ConditionalPredicateMarkPropFieldOrDatumDef, dict], - core.ConditionalMarkPropFieldOrDatumDef, - ], - Union[ - Union[core.ConditionalParameterValueDefstringnullExprRef, dict], - Union[core.ConditionalPredicateValueDefstringnullExprRef, dict], - core.ConditionalValueDefstringnullExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, **kwds, ): @@ -23851,16 +20726,14 @@ def __init__( @with_property_setters class Key(FieldChannelMixin, core.FieldDefWithoutScale): """Key schema wrapper - - :class:`FieldDefWithoutScale`, Dict[required=[shorthand]] Definition object for a data field, its type and transformation of an encoding channel. Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -23872,7 +20745,7 @@ class Key(FieldChannelMixin, core.FieldDefWithoutScale): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool, str + bin : str, bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -23893,7 +20766,7 @@ class Key(FieldChannelMixin, core.FieldDefWithoutScale): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -23908,7 +20781,7 @@ class Key(FieldChannelMixin, core.FieldDefWithoutScale): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -23917,7 +20790,7 @@ class Key(FieldChannelMixin, core.FieldDefWithoutScale): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -24043,17 +20916,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Key": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Key": ... @@ -24073,12 +20942,7 @@ def bin( binned: Union[bool, UndefinedType] = Undefined, divide: Union[Sequence[float], UndefinedType] = Undefined, extent: Union[ - Union[ - Sequence[float], - Union[core.ParameterExtent, core._Parameter, dict], - core.BinExtent, - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, maxbins: Union[float, UndefinedType] = Undefined, minstep: Union[float, UndefinedType] = Undefined, @@ -24280,114 +21144,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -24417,208 +21261,170 @@ def type( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool, str], UndefinedType - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + bin: Union[str, bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -24640,14 +21446,12 @@ def __init__( class Latitude(FieldChannelMixin, core.LatLongFieldDef): """Latitude schema wrapper - :class:`LatLongFieldDef`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -24680,7 +21484,7 @@ class Latitude(FieldChannelMixin, core.LatLongFieldDef): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -24695,7 +21499,7 @@ class Latitude(FieldChannelMixin, core.LatLongFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -24704,7 +21508,7 @@ class Latitude(FieldChannelMixin, core.LatLongFieldDef): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -24830,17 +21634,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Latitude": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Latitude": ... @@ -25035,114 +21835,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -25170,200 +21950,166 @@ def type(self, _: str, **kwds) -> "Latitude": def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, bin: Union[None, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[str, UndefinedType] = Undefined, **kwds, @@ -25385,8 +22131,6 @@ def __init__( class LatitudeDatum(DatumChannelMixin, core.DatumDef): """LatitudeDatum schema wrapper - :class:`DatumDef`, Dict - Parameters ---------- @@ -25394,9 +22138,9 @@ class LatitudeDatum(DatumChannelMixin, core.DatumDef): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -25519,13 +22263,11 @@ def __init__( datum, bandPosition: Union[float, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -25538,17 +22280,15 @@ def __init__( @with_property_setters class Latitude2(FieldChannelMixin, core.SecondaryFieldDef): """Latitude2 schema wrapper - - :class:`SecondaryFieldDef`, Dict[required=[shorthand]] A field definition of a secondary channel that shares a scale with another primary channel. For example, ``x2``, ``xError`` and ``xError2`` share the same scale with ``x``. Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -25581,7 +22321,7 @@ class Latitude2(FieldChannelMixin, core.SecondaryFieldDef): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -25596,7 +22336,7 @@ class Latitude2(FieldChannelMixin, core.SecondaryFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -25605,7 +22345,7 @@ class Latitude2(FieldChannelMixin, core.SecondaryFieldDef): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -25662,17 +22402,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Latitude2": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Latitude2": ... @@ -25867,114 +22603,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -25998,200 +22714,166 @@ def title(self, _: None, **kwds) -> "Latitude2": def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, bin: Union[None, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, **kwds, ): @@ -26211,8 +22893,6 @@ def __init__( class Latitude2Datum(DatumChannelMixin, core.DatumDef): """Latitude2Datum schema wrapper - :class:`DatumDef`, Dict - Parameters ---------- @@ -26220,9 +22900,9 @@ class Latitude2Datum(DatumChannelMixin, core.DatumDef): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -26345,13 +23025,11 @@ def __init__( datum, bandPosition: Union[float, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -26364,15 +23042,13 @@ def __init__( @with_property_setters class Latitude2Value(ValueChannelMixin, core.PositionValueDef): """Latitude2Value schema wrapper - - :class:`PositionValueDef`, Dict[required=[value]] Definition object for a constant value (primitive value or gradient definition) of an encoding channel. Parameters ---------- - value : :class:`ExprRef`, Dict[required=[expr]], float, str + value : str, dict, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -26389,14 +23065,12 @@ def __init__(self, value, **kwds): class Longitude(FieldChannelMixin, core.LatLongFieldDef): """Longitude schema wrapper - :class:`LatLongFieldDef`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -26429,7 +23103,7 @@ class Longitude(FieldChannelMixin, core.LatLongFieldDef): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -26444,7 +23118,7 @@ class Longitude(FieldChannelMixin, core.LatLongFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -26453,7 +23127,7 @@ class Longitude(FieldChannelMixin, core.LatLongFieldDef): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -26579,17 +23253,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Longitude": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Longitude": ... @@ -26784,114 +23454,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -26919,200 +23569,166 @@ def type(self, _: str, **kwds) -> "Longitude": def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, bin: Union[None, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[str, UndefinedType] = Undefined, **kwds, @@ -27134,8 +23750,6 @@ def __init__( class LongitudeDatum(DatumChannelMixin, core.DatumDef): """LongitudeDatum schema wrapper - :class:`DatumDef`, Dict - Parameters ---------- @@ -27143,9 +23757,9 @@ class LongitudeDatum(DatumChannelMixin, core.DatumDef): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -27268,13 +23882,11 @@ def __init__( datum, bandPosition: Union[float, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -27287,17 +23899,15 @@ def __init__( @with_property_setters class Longitude2(FieldChannelMixin, core.SecondaryFieldDef): """Longitude2 schema wrapper - - :class:`SecondaryFieldDef`, Dict[required=[shorthand]] A field definition of a secondary channel that shares a scale with another primary channel. For example, ``x2``, ``xError`` and ``xError2`` share the same scale with ``x``. Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -27330,7 +23940,7 @@ class Longitude2(FieldChannelMixin, core.SecondaryFieldDef): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -27345,7 +23955,7 @@ class Longitude2(FieldChannelMixin, core.SecondaryFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -27354,7 +23964,7 @@ class Longitude2(FieldChannelMixin, core.SecondaryFieldDef): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -27411,17 +24021,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Longitude2": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Longitude2": ... @@ -27616,114 +24222,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -27747,200 +24333,166 @@ def title(self, _: None, **kwds) -> "Longitude2": def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, bin: Union[None, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, **kwds, ): @@ -27960,8 +24512,6 @@ def __init__( class Longitude2Datum(DatumChannelMixin, core.DatumDef): """Longitude2Datum schema wrapper - :class:`DatumDef`, Dict - Parameters ---------- @@ -27969,9 +24519,9 @@ class Longitude2Datum(DatumChannelMixin, core.DatumDef): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -28094,13 +24644,11 @@ def __init__( datum, bandPosition: Union[float, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -28113,15 +24661,13 @@ def __init__( @with_property_setters class Longitude2Value(ValueChannelMixin, core.PositionValueDef): """Longitude2Value schema wrapper - - :class:`PositionValueDef`, Dict[required=[value]] Definition object for a constant value (primitive value or gradient definition) of an encoding channel. Parameters ---------- - value : :class:`ExprRef`, Dict[required=[expr]], float, str + value : str, dict, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -28140,14 +24686,12 @@ class Opacity( ): """Opacity schema wrapper - :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -28159,7 +24703,7 @@ class Opacity( Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool + bin : bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -28180,14 +24724,14 @@ class Opacity( **See also:** `bin `__ documentation. - condition : :class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`, Sequence[:class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`] + condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -28202,7 +24746,7 @@ class Opacity( about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - legend : :class:`Legend`, Dict, None + legend : dict, None, :class:`Legend` An object defining properties of the legend. If ``null``, the legend for the encoding channel will be removed. @@ -28211,7 +24755,7 @@ class Opacity( **See also:** `legend `__ documentation. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -28224,7 +24768,7 @@ class Opacity( **See also:** `scale `__ documentation. - sort : :class:`AllSortString`, :class:`SortByChannelDesc`, Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'], :class:`SortByChannel`, Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], :class:`SortOrder`, Literal['ascending', 'descending'], :class:`EncodingSortField`, Dict, :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str], :class:`SortByEncoding`, Dict[required=[encoding]], :class:`Sort`, None + sort : dict, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'], Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -28263,7 +24807,7 @@ class Opacity( **See also:** `sort `__ documentation. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -28272,7 +24816,7 @@ class Opacity( **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -28398,17 +24942,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Opacity": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Opacity": ... @@ -28428,12 +24968,7 @@ def bin( binned: Union[bool, UndefinedType] = Undefined, divide: Union[Sequence[float], UndefinedType] = Undefined, extent: Union[ - Union[ - Sequence[float], - Union[core.ParameterExtent, core._Parameter, dict], - core.BinExtent, - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, maxbins: Union[float, UndefinedType] = Undefined, minstep: Union[float, UndefinedType] = Undefined, @@ -28451,30 +24986,9 @@ def bin(self, _: None, **kwds) -> "Opacity": @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Opacity": @@ -28484,9 +24998,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Opacity": @@ -28516,1472 +25030,1374 @@ def field( def legend( self, aria: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, clipHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, columnPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, columns: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, description: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, direction: Union[ - Union[Literal["horizontal", "vertical"], core.Orientation], UndefinedType + core.SchemaBase, Literal["horizontal", "vertical"], UndefinedType ] = Undefined, fillColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, - ] = Undefined, - format: Union[Union[Union[core.Dict, dict], str], UndefinedType] = Undefined, + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", + ], + UndefinedType, + ] = Undefined, + format: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, gradientLength: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientStrokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, gradientStrokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientThickness: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gridAlign: Union[ - Union[ - Union[Literal["all", "each", "none"], core.LayoutAlign], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["all", "each", "none"], UndefinedType, ] = Undefined, labelAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, labelBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, labelColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, labelExpr: Union[str, UndefinedType] = Undefined, labelFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, labelLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOverlap: Union[ - Union[ - Union[bool, core.LabelOverlap, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelSeparation: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, legendX: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, legendY: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, orient: Union[ - Union[ - Literal[ - "none", - "left", - "right", - "top", - "bottom", - "top-left", - "top-right", - "bottom-left", - "bottom-right", - ], - core.LegendOrient, + core.SchemaBase, + Literal[ + "none", + "left", + "right", + "top", + "bottom", + "top-left", + "top-right", + "bottom-left", + "bottom-right", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rowPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolDash: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, symbolDashOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolFillColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolStrokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolStrokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolType: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.SymbolShape, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickCount: Union[ - Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.TimeIntervalStep, dict], - core.TickCount, - float, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, tickMinStep: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, titleAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, titleAnchor: Union[ - Union[ - Union[Literal[None, "start", "middle", "end"], core.TitleAnchor], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal[None, "start", "middle", "end"], UndefinedType, ] = Undefined, titleBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, titleColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, titleFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, titleLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleLineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleOrient: Union[ - Union[ - Union[Literal["left", "right", "top", "bottom"], core.Orient], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "right", "top", "bottom"], UndefinedType, ] = Undefined, titlePadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, type: Union[Literal["symbol", "gradient"], UndefinedType] = Undefined, values: Union[ - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + Sequence[str], + Sequence[bool], + core._Parameter, + core.SchemaBase, + Sequence[float], + Sequence[Union[dict, core.SchemaBase]], UndefinedType, ] = Undefined, zindex: Union[float, UndefinedType] = Undefined, @@ -29997,542 +26413,487 @@ def legend(self, _: None, **kwds) -> "Opacity": def scale( self, align: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, base: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - bins: Union[ - Union[Sequence[float], Union[core.ScaleBinParams, dict], core.ScaleBins], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + bins: Union[dict, core.SchemaBase, Sequence[float], UndefinedType] = Undefined, clamp: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, constant: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domain: Union[ - Union[ - Sequence[ - Union[ - None, - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - bool, - float, - str, - ] - ], - Union[core.DomainUnionWith, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ParameterExtent, core._Parameter, dict], - str, + str, + dict, + core._Parameter, + core.SchemaBase, + Sequence[ + Union[str, bool, dict, None, float, core._Parameter, core.SchemaBase] ], UndefinedType, ] = Undefined, domainMax: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMid: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMin: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainRaw: Union[ - Union[core.ExprRef, core._Parameter, dict], UndefinedType + dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, exponent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "rgb", - "lab", - "hcl", - "hsl", - "hsl-long", - "hcl-long", - "cubehelix", - "cubehelix-long", - ], - core.ScaleInterpolateEnum, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ScaleInterpolateParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "rgb", + "lab", + "hcl", + "hsl", + "hsl-long", + "hcl-long", + "cubehelix", + "cubehelix-long", ], UndefinedType, ] = Undefined, nice: Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.TimeIntervalStep, dict], - bool, - float, + bool, + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingInner: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingOuter: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, range: Union[ - Union[ - Sequence[ - Union[ - Sequence[float], - Union[core.ExprRef, core._Parameter, dict], - float, - str, - ] - ], + dict, + core.SchemaBase, + Sequence[ Union[ - Literal[ - "width", - "height", - "symbol", - "category", - "ordinal", - "ramp", - "diverging", - "heatmap", - ], - core.RangeEnum, - ], - Union[core.FieldRange, dict], + str, dict, float, core._Parameter, core.SchemaBase, Sequence[float] + ] + ], + Literal[ + "width", + "height", + "symbol", + "category", + "ordinal", + "ramp", + "diverging", + "heatmap", ], UndefinedType, ] = Undefined, rangeMax: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rangeMin: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, reverse: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, round: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, scheme: Union[ - Union[ - Union[ - Union[ - Literal[ - "accent", - "category10", - "category20", - "category20b", - "category20c", - "dark2", - "paired", - "pastel1", - "pastel2", - "set1", - "set2", - "set3", - "tableau10", - "tableau20", - ], - core.Categorical, - ], - Union[ - Literal[ - "blueorange", - "blueorange-3", - "blueorange-4", - "blueorange-5", - "blueorange-6", - "blueorange-7", - "blueorange-8", - "blueorange-9", - "blueorange-10", - "blueorange-11", - "brownbluegreen", - "brownbluegreen-3", - "brownbluegreen-4", - "brownbluegreen-5", - "brownbluegreen-6", - "brownbluegreen-7", - "brownbluegreen-8", - "brownbluegreen-9", - "brownbluegreen-10", - "brownbluegreen-11", - "purplegreen", - "purplegreen-3", - "purplegreen-4", - "purplegreen-5", - "purplegreen-6", - "purplegreen-7", - "purplegreen-8", - "purplegreen-9", - "purplegreen-10", - "purplegreen-11", - "pinkyellowgreen", - "pinkyellowgreen-3", - "pinkyellowgreen-4", - "pinkyellowgreen-5", - "pinkyellowgreen-6", - "pinkyellowgreen-7", - "pinkyellowgreen-8", - "pinkyellowgreen-9", - "pinkyellowgreen-10", - "pinkyellowgreen-11", - "purpleorange", - "purpleorange-3", - "purpleorange-4", - "purpleorange-5", - "purpleorange-6", - "purpleorange-7", - "purpleorange-8", - "purpleorange-9", - "purpleorange-10", - "purpleorange-11", - "redblue", - "redblue-3", - "redblue-4", - "redblue-5", - "redblue-6", - "redblue-7", - "redblue-8", - "redblue-9", - "redblue-10", - "redblue-11", - "redgrey", - "redgrey-3", - "redgrey-4", - "redgrey-5", - "redgrey-6", - "redgrey-7", - "redgrey-8", - "redgrey-9", - "redgrey-10", - "redgrey-11", - "redyellowblue", - "redyellowblue-3", - "redyellowblue-4", - "redyellowblue-5", - "redyellowblue-6", - "redyellowblue-7", - "redyellowblue-8", - "redyellowblue-9", - "redyellowblue-10", - "redyellowblue-11", - "redyellowgreen", - "redyellowgreen-3", - "redyellowgreen-4", - "redyellowgreen-5", - "redyellowgreen-6", - "redyellowgreen-7", - "redyellowgreen-8", - "redyellowgreen-9", - "redyellowgreen-10", - "redyellowgreen-11", - "spectral", - "spectral-3", - "spectral-4", - "spectral-5", - "spectral-6", - "spectral-7", - "spectral-8", - "spectral-9", - "spectral-10", - "spectral-11", - ], - core.Diverging, - ], - Union[ - Literal[ - "blues", - "tealblues", - "teals", - "greens", - "browns", - "greys", - "purples", - "warmgreys", - "reds", - "oranges", - ], - core.SequentialSingleHue, - ], - Union[Literal["rainbow", "sinebow"], core.Cyclical], - Union[ - Literal[ - "turbo", - "viridis", - "inferno", - "magma", - "plasma", - "cividis", - "bluegreen", - "bluegreen-3", - "bluegreen-4", - "bluegreen-5", - "bluegreen-6", - "bluegreen-7", - "bluegreen-8", - "bluegreen-9", - "bluepurple", - "bluepurple-3", - "bluepurple-4", - "bluepurple-5", - "bluepurple-6", - "bluepurple-7", - "bluepurple-8", - "bluepurple-9", - "goldgreen", - "goldgreen-3", - "goldgreen-4", - "goldgreen-5", - "goldgreen-6", - "goldgreen-7", - "goldgreen-8", - "goldgreen-9", - "goldorange", - "goldorange-3", - "goldorange-4", - "goldorange-5", - "goldorange-6", - "goldorange-7", - "goldorange-8", - "goldorange-9", - "goldred", - "goldred-3", - "goldred-4", - "goldred-5", - "goldred-6", - "goldred-7", - "goldred-8", - "goldred-9", - "greenblue", - "greenblue-3", - "greenblue-4", - "greenblue-5", - "greenblue-6", - "greenblue-7", - "greenblue-8", - "greenblue-9", - "orangered", - "orangered-3", - "orangered-4", - "orangered-5", - "orangered-6", - "orangered-7", - "orangered-8", - "orangered-9", - "purplebluegreen", - "purplebluegreen-3", - "purplebluegreen-4", - "purplebluegreen-5", - "purplebluegreen-6", - "purplebluegreen-7", - "purplebluegreen-8", - "purplebluegreen-9", - "purpleblue", - "purpleblue-3", - "purpleblue-4", - "purpleblue-5", - "purpleblue-6", - "purpleblue-7", - "purpleblue-8", - "purpleblue-9", - "purplered", - "purplered-3", - "purplered-4", - "purplered-5", - "purplered-6", - "purplered-7", - "purplered-8", - "purplered-9", - "redpurple", - "redpurple-3", - "redpurple-4", - "redpurple-5", - "redpurple-6", - "redpurple-7", - "redpurple-8", - "redpurple-9", - "yellowgreenblue", - "yellowgreenblue-3", - "yellowgreenblue-4", - "yellowgreenblue-5", - "yellowgreenblue-6", - "yellowgreenblue-7", - "yellowgreenblue-8", - "yellowgreenblue-9", - "yellowgreen", - "yellowgreen-3", - "yellowgreen-4", - "yellowgreen-5", - "yellowgreen-6", - "yellowgreen-7", - "yellowgreen-8", - "yellowgreen-9", - "yelloworangebrown", - "yelloworangebrown-3", - "yelloworangebrown-4", - "yelloworangebrown-5", - "yelloworangebrown-6", - "yelloworangebrown-7", - "yelloworangebrown-8", - "yelloworangebrown-9", - "yelloworangered", - "yelloworangered-3", - "yelloworangered-4", - "yelloworangered-5", - "yelloworangered-6", - "yelloworangered-7", - "yelloworangered-8", - "yelloworangered-9", - "darkblue", - "darkblue-3", - "darkblue-4", - "darkblue-5", - "darkblue-6", - "darkblue-7", - "darkblue-8", - "darkblue-9", - "darkgold", - "darkgold-3", - "darkgold-4", - "darkgold-5", - "darkgold-6", - "darkgold-7", - "darkgold-8", - "darkgold-9", - "darkgreen", - "darkgreen-3", - "darkgreen-4", - "darkgreen-5", - "darkgreen-6", - "darkgreen-7", - "darkgreen-8", - "darkgreen-9", - "darkmulti", - "darkmulti-3", - "darkmulti-4", - "darkmulti-5", - "darkmulti-6", - "darkmulti-7", - "darkmulti-8", - "darkmulti-9", - "darkred", - "darkred-3", - "darkred-4", - "darkred-5", - "darkred-6", - "darkred-7", - "darkred-8", - "darkred-9", - "lightgreyred", - "lightgreyred-3", - "lightgreyred-4", - "lightgreyred-5", - "lightgreyred-6", - "lightgreyred-7", - "lightgreyred-8", - "lightgreyred-9", - "lightgreyteal", - "lightgreyteal-3", - "lightgreyteal-4", - "lightgreyteal-5", - "lightgreyteal-6", - "lightgreyteal-7", - "lightgreyteal-8", - "lightgreyteal-9", - "lightmulti", - "lightmulti-3", - "lightmulti-4", - "lightmulti-5", - "lightmulti-6", - "lightmulti-7", - "lightmulti-8", - "lightmulti-9", - "lightorange", - "lightorange-3", - "lightorange-4", - "lightorange-5", - "lightorange-6", - "lightorange-7", - "lightorange-8", - "lightorange-9", - "lighttealblue", - "lighttealblue-3", - "lighttealblue-4", - "lighttealblue-5", - "lighttealblue-6", - "lighttealblue-7", - "lighttealblue-8", - "lighttealblue-9", - ], - core.SequentialMultiHue, - ], - core.ColorScheme, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.SchemeParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal["rainbow", "sinebow"], + Literal[ + "blues", + "tealblues", + "teals", + "greens", + "browns", + "greys", + "purples", + "warmgreys", + "reds", + "oranges", + ], + Literal[ + "accent", + "category10", + "category20", + "category20b", + "category20c", + "dark2", + "paired", + "pastel1", + "pastel2", + "set1", + "set2", + "set3", + "tableau10", + "tableau20", + ], + Literal[ + "blueorange", + "blueorange-3", + "blueorange-4", + "blueorange-5", + "blueorange-6", + "blueorange-7", + "blueorange-8", + "blueorange-9", + "blueorange-10", + "blueorange-11", + "brownbluegreen", + "brownbluegreen-3", + "brownbluegreen-4", + "brownbluegreen-5", + "brownbluegreen-6", + "brownbluegreen-7", + "brownbluegreen-8", + "brownbluegreen-9", + "brownbluegreen-10", + "brownbluegreen-11", + "purplegreen", + "purplegreen-3", + "purplegreen-4", + "purplegreen-5", + "purplegreen-6", + "purplegreen-7", + "purplegreen-8", + "purplegreen-9", + "purplegreen-10", + "purplegreen-11", + "pinkyellowgreen", + "pinkyellowgreen-3", + "pinkyellowgreen-4", + "pinkyellowgreen-5", + "pinkyellowgreen-6", + "pinkyellowgreen-7", + "pinkyellowgreen-8", + "pinkyellowgreen-9", + "pinkyellowgreen-10", + "pinkyellowgreen-11", + "purpleorange", + "purpleorange-3", + "purpleorange-4", + "purpleorange-5", + "purpleorange-6", + "purpleorange-7", + "purpleorange-8", + "purpleorange-9", + "purpleorange-10", + "purpleorange-11", + "redblue", + "redblue-3", + "redblue-4", + "redblue-5", + "redblue-6", + "redblue-7", + "redblue-8", + "redblue-9", + "redblue-10", + "redblue-11", + "redgrey", + "redgrey-3", + "redgrey-4", + "redgrey-5", + "redgrey-6", + "redgrey-7", + "redgrey-8", + "redgrey-9", + "redgrey-10", + "redgrey-11", + "redyellowblue", + "redyellowblue-3", + "redyellowblue-4", + "redyellowblue-5", + "redyellowblue-6", + "redyellowblue-7", + "redyellowblue-8", + "redyellowblue-9", + "redyellowblue-10", + "redyellowblue-11", + "redyellowgreen", + "redyellowgreen-3", + "redyellowgreen-4", + "redyellowgreen-5", + "redyellowgreen-6", + "redyellowgreen-7", + "redyellowgreen-8", + "redyellowgreen-9", + "redyellowgreen-10", + "redyellowgreen-11", + "spectral", + "spectral-3", + "spectral-4", + "spectral-5", + "spectral-6", + "spectral-7", + "spectral-8", + "spectral-9", + "spectral-10", + "spectral-11", + ], + Literal[ + "turbo", + "viridis", + "inferno", + "magma", + "plasma", + "cividis", + "bluegreen", + "bluegreen-3", + "bluegreen-4", + "bluegreen-5", + "bluegreen-6", + "bluegreen-7", + "bluegreen-8", + "bluegreen-9", + "bluepurple", + "bluepurple-3", + "bluepurple-4", + "bluepurple-5", + "bluepurple-6", + "bluepurple-7", + "bluepurple-8", + "bluepurple-9", + "goldgreen", + "goldgreen-3", + "goldgreen-4", + "goldgreen-5", + "goldgreen-6", + "goldgreen-7", + "goldgreen-8", + "goldgreen-9", + "goldorange", + "goldorange-3", + "goldorange-4", + "goldorange-5", + "goldorange-6", + "goldorange-7", + "goldorange-8", + "goldorange-9", + "goldred", + "goldred-3", + "goldred-4", + "goldred-5", + "goldred-6", + "goldred-7", + "goldred-8", + "goldred-9", + "greenblue", + "greenblue-3", + "greenblue-4", + "greenblue-5", + "greenblue-6", + "greenblue-7", + "greenblue-8", + "greenblue-9", + "orangered", + "orangered-3", + "orangered-4", + "orangered-5", + "orangered-6", + "orangered-7", + "orangered-8", + "orangered-9", + "purplebluegreen", + "purplebluegreen-3", + "purplebluegreen-4", + "purplebluegreen-5", + "purplebluegreen-6", + "purplebluegreen-7", + "purplebluegreen-8", + "purplebluegreen-9", + "purpleblue", + "purpleblue-3", + "purpleblue-4", + "purpleblue-5", + "purpleblue-6", + "purpleblue-7", + "purpleblue-8", + "purpleblue-9", + "purplered", + "purplered-3", + "purplered-4", + "purplered-5", + "purplered-6", + "purplered-7", + "purplered-8", + "purplered-9", + "redpurple", + "redpurple-3", + "redpurple-4", + "redpurple-5", + "redpurple-6", + "redpurple-7", + "redpurple-8", + "redpurple-9", + "yellowgreenblue", + "yellowgreenblue-3", + "yellowgreenblue-4", + "yellowgreenblue-5", + "yellowgreenblue-6", + "yellowgreenblue-7", + "yellowgreenblue-8", + "yellowgreenblue-9", + "yellowgreen", + "yellowgreen-3", + "yellowgreen-4", + "yellowgreen-5", + "yellowgreen-6", + "yellowgreen-7", + "yellowgreen-8", + "yellowgreen-9", + "yelloworangebrown", + "yelloworangebrown-3", + "yelloworangebrown-4", + "yelloworangebrown-5", + "yelloworangebrown-6", + "yelloworangebrown-7", + "yelloworangebrown-8", + "yelloworangebrown-9", + "yelloworangered", + "yelloworangered-3", + "yelloworangered-4", + "yelloworangered-5", + "yelloworangered-6", + "yelloworangered-7", + "yelloworangered-8", + "yelloworangered-9", + "darkblue", + "darkblue-3", + "darkblue-4", + "darkblue-5", + "darkblue-6", + "darkblue-7", + "darkblue-8", + "darkblue-9", + "darkgold", + "darkgold-3", + "darkgold-4", + "darkgold-5", + "darkgold-6", + "darkgold-7", + "darkgold-8", + "darkgold-9", + "darkgreen", + "darkgreen-3", + "darkgreen-4", + "darkgreen-5", + "darkgreen-6", + "darkgreen-7", + "darkgreen-8", + "darkgreen-9", + "darkmulti", + "darkmulti-3", + "darkmulti-4", + "darkmulti-5", + "darkmulti-6", + "darkmulti-7", + "darkmulti-8", + "darkmulti-9", + "darkred", + "darkred-3", + "darkred-4", + "darkred-5", + "darkred-6", + "darkred-7", + "darkred-8", + "darkred-9", + "lightgreyred", + "lightgreyred-3", + "lightgreyred-4", + "lightgreyred-5", + "lightgreyred-6", + "lightgreyred-7", + "lightgreyred-8", + "lightgreyred-9", + "lightgreyteal", + "lightgreyteal-3", + "lightgreyteal-4", + "lightgreyteal-5", + "lightgreyteal-6", + "lightgreyteal-7", + "lightgreyteal-8", + "lightgreyteal-9", + "lightmulti", + "lightmulti-3", + "lightmulti-4", + "lightmulti-5", + "lightmulti-6", + "lightmulti-7", + "lightmulti-8", + "lightmulti-9", + "lightorange", + "lightorange-3", + "lightorange-4", + "lightorange-5", + "lightorange-6", + "lightorange-7", + "lightorange-8", + "lightorange-9", + "lighttealblue", + "lighttealblue-3", + "lighttealblue-4", + "lighttealblue-5", + "lighttealblue-6", + "lighttealblue-7", + "lighttealblue-8", + "lighttealblue-9", ], UndefinedType, ] = Undefined, type: Union[ - Union[ - Literal[ - "linear", - "log", - "pow", - "sqrt", - "symlog", - "identity", - "sequential", - "time", - "utc", - "quantile", - "quantize", - "threshold", - "bin-ordinal", - "ordinal", - "point", - "band", - ], - core.ScaleType, + core.SchemaBase, + Literal[ + "linear", + "log", + "pow", + "sqrt", + "symlog", + "identity", + "sequential", + "time", + "utc", + "quantile", + "quantize", + "threshold", + "bin-ordinal", + "ordinal", + "point", + "band", ], UndefinedType, ] = Undefined, zero: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Opacity": @@ -30607,42 +26968,36 @@ def sort( @overload def sort( self, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, op: Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "Opacity": @@ -30652,28 +27007,25 @@ def sort( def sort( self, encoding: Union[ - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, + core.SchemaBase, + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "Opacity": @@ -30852,114 +27204,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -30989,281 +27321,214 @@ def type( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ], - ], - UndefinedType, - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -31289,8 +27554,6 @@ def __init__( class OpacityDatum(DatumChannelMixin, core.FieldOrDatumDefWithConditionDatumDefnumber): """OpacityDatum schema wrapper - :class:`FieldOrDatumDefWithConditionDatumDefnumber`, Dict - Parameters ---------- @@ -31298,16 +27561,16 @@ class OpacityDatum(DatumChannelMixin, core.FieldOrDatumDefWithConditionDatumDefn Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - condition : :class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`, Sequence[:class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`] + condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -31408,30 +27671,9 @@ def bandPosition(self, _: float, **kwds) -> "OpacityDatum": @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "OpacityDatum": @@ -31441,9 +27683,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "OpacityDatum": @@ -31480,30 +27722,14 @@ def __init__( datum, bandPosition: Union[float, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -31524,14 +27750,12 @@ class OpacityValue( ): """OpacityValue schema wrapper - :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber`, Dict - Parameters ---------- - condition : :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, Dict[required=[param]], :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Dict[required=[test]], :class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`, Sequence[:class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`] + condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : :class:`ExprRef`, Dict[required=[expr]], float + value : dict, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -31544,283 +27768,209 @@ class OpacityValue( def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, - ], - UndefinedType, - ] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", + ], + UndefinedType, + ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -31832,46 +27982,24 @@ def condition( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union[None, bool, core.PrimitiveValue, float, str], - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.RepeatRef, dict], - ], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, + UndefinedType, + ] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -31882,263 +28010,210 @@ def condition( def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -32150,26 +28225,25 @@ def condition( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union[None, bool, core.PrimitiveValue, float, str], - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.RepeatRef, dict], - ], + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, UndefinedType, ] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -32179,30 +28253,9 @@ def condition( @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "OpacityValue": @@ -32212,9 +28265,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "OpacityValue": @@ -32230,26 +28283,7 @@ def __init__( self, value, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterMarkPropFieldOrDatumDef, dict], - Union[core.ConditionalPredicateMarkPropFieldOrDatumDef, dict], - core.ConditionalMarkPropFieldOrDatumDef, - ], - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, **kwds, ): @@ -32260,14 +28294,12 @@ def __init__( class Order(FieldChannelMixin, core.OrderFieldDef): """Order schema wrapper - :class:`OrderFieldDef`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -32279,7 +28311,7 @@ class Order(FieldChannelMixin, core.OrderFieldDef): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool, str + bin : str, bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -32300,7 +28332,7 @@ class Order(FieldChannelMixin, core.OrderFieldDef): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -32317,7 +28349,7 @@ class Order(FieldChannelMixin, core.OrderFieldDef): if ``aggregate`` is ``count``. sort : :class:`SortOrder`, Literal['ascending', 'descending'] The sort order. One of ``"ascending"`` (default) or ``"descending"``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -32326,7 +28358,7 @@ class Order(FieldChannelMixin, core.OrderFieldDef): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -32452,17 +28484,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Order": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Order": ... @@ -32482,12 +28510,7 @@ def bin( binned: Union[bool, UndefinedType] = Undefined, divide: Union[Sequence[float], UndefinedType] = Undefined, extent: Union[ - Union[ - Sequence[float], - Union[core.ParameterExtent, core._Parameter, dict], - core.BinExtent, - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, maxbins: Union[float, UndefinedType] = Undefined, minstep: Union[float, UndefinedType] = Undefined, @@ -32693,114 +28716,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -32830,211 +28833,173 @@ def type( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool, str], UndefinedType - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + bin: Union[str, bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[Literal["ascending", "descending"], core.SortOrder], UndefinedType + core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -33057,16 +29022,14 @@ def __init__( class OrderValue(ValueChannelMixin, core.OrderValueDef): """OrderValue schema wrapper - :class:`OrderValueDef`, Dict[required=[value]] - Parameters ---------- - value : :class:`ExprRef`, Dict[required=[expr]], float + value : dict, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). - condition : :class:`ConditionalParameterValueDefnumber`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumber`, Dict[required=[test, value]], :class:`ConditionalValueDefnumber`, Sequence[:class:`ConditionalParameterValueDefnumber`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumber`, Dict[required=[test, value]], :class:`ConditionalValueDefnumber`] + condition : dict, :class:`ConditionalValueDefnumber`, :class:`ConditionalParameterValueDefnumber`, :class:`ConditionalPredicateValueDefnumber`, Sequence[dict, :class:`ConditionalValueDefnumber`, :class:`ConditionalParameterValueDefnumber`, :class:`ConditionalPredicateValueDefnumber`] One or more value definition(s) with `a parameter or a test predicate `__. @@ -33081,28 +29044,7 @@ class OrderValue(ValueChannelMixin, core.OrderValueDef): @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[float, UndefinedType] = Undefined, **kwds, ) -> "OrderValue": @@ -33112,7 +29054,7 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[float, UndefinedType] = Undefined, **kwds, ) -> "OrderValue": @@ -33128,21 +29070,7 @@ def __init__( self, value, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefnumber, dict], - Union[core.ConditionalPredicateValueDefnumber, dict], - core.ConditionalValueDefnumber, - ] - ], - Union[ - Union[core.ConditionalParameterValueDefnumber, dict], - Union[core.ConditionalPredicateValueDefnumber, dict], - core.ConditionalValueDefnumber, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, **kwds, ): @@ -33153,14 +29081,12 @@ def __init__( class Radius(FieldChannelMixin, core.PositionFieldDefBase): """Radius schema wrapper - :class:`PositionFieldDefBase`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -33172,7 +29098,7 @@ class Radius(FieldChannelMixin, core.PositionFieldDefBase): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool, str + bin : str, bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -33193,7 +29119,7 @@ class Radius(FieldChannelMixin, core.PositionFieldDefBase): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -33208,7 +29134,7 @@ class Radius(FieldChannelMixin, core.PositionFieldDefBase): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -33221,7 +29147,7 @@ class Radius(FieldChannelMixin, core.PositionFieldDefBase): **See also:** `scale `__ documentation. - sort : :class:`AllSortString`, :class:`SortByChannelDesc`, Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'], :class:`SortByChannel`, Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], :class:`SortOrder`, Literal['ascending', 'descending'], :class:`EncodingSortField`, Dict, :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str], :class:`SortByEncoding`, Dict[required=[encoding]], :class:`Sort`, None + sort : dict, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'], Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -33260,7 +29186,7 @@ class Radius(FieldChannelMixin, core.PositionFieldDefBase): **See also:** `sort `__ documentation. - stack : :class:`StackOffset`, Literal['zero', 'center', 'normalize'], None, bool + stack : bool, None, :class:`StackOffset`, Literal['zero', 'center', 'normalize'] Type of stacking offset if the field should be stacked. ``stack`` is only applicable for ``x``, ``y``, ``theta``, and ``radius`` channels with continuous domains. For example, ``stack`` of ``y`` can be used to customize stacking for a vertical bar @@ -33291,7 +29217,7 @@ class Radius(FieldChannelMixin, core.PositionFieldDefBase): **See also:** `stack `__ documentation. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -33300,7 +29226,7 @@ class Radius(FieldChannelMixin, core.PositionFieldDefBase): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -33426,17 +29352,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Radius": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Radius": ... @@ -33456,12 +29378,7 @@ def bin( binned: Union[bool, UndefinedType] = Undefined, divide: Union[Sequence[float], UndefinedType] = Undefined, extent: Union[ - Union[ - Sequence[float], - Union[core.ParameterExtent, core._Parameter, dict], - core.BinExtent, - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, maxbins: Union[float, UndefinedType] = Undefined, minstep: Union[float, UndefinedType] = Undefined, @@ -33498,542 +29415,487 @@ def field( def scale( self, align: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, base: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - bins: Union[ - Union[Sequence[float], Union[core.ScaleBinParams, dict], core.ScaleBins], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + bins: Union[dict, core.SchemaBase, Sequence[float], UndefinedType] = Undefined, clamp: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, constant: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domain: Union[ - Union[ - Sequence[ - Union[ - None, - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - bool, - float, - str, - ] - ], - Union[core.DomainUnionWith, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ParameterExtent, core._Parameter, dict], - str, + str, + dict, + core._Parameter, + core.SchemaBase, + Sequence[ + Union[str, bool, dict, None, float, core._Parameter, core.SchemaBase] ], UndefinedType, ] = Undefined, domainMax: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMid: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMin: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainRaw: Union[ - Union[core.ExprRef, core._Parameter, dict], UndefinedType + dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, exponent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "rgb", - "lab", - "hcl", - "hsl", - "hsl-long", - "hcl-long", - "cubehelix", - "cubehelix-long", - ], - core.ScaleInterpolateEnum, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ScaleInterpolateParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "rgb", + "lab", + "hcl", + "hsl", + "hsl-long", + "hcl-long", + "cubehelix", + "cubehelix-long", ], UndefinedType, ] = Undefined, nice: Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.TimeIntervalStep, dict], - bool, - float, + bool, + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingInner: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingOuter: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, range: Union[ - Union[ - Sequence[ - Union[ - Sequence[float], - Union[core.ExprRef, core._Parameter, dict], - float, - str, - ] - ], + dict, + core.SchemaBase, + Sequence[ Union[ - Literal[ - "width", - "height", - "symbol", - "category", - "ordinal", - "ramp", - "diverging", - "heatmap", - ], - core.RangeEnum, - ], - Union[core.FieldRange, dict], + str, dict, float, core._Parameter, core.SchemaBase, Sequence[float] + ] + ], + Literal[ + "width", + "height", + "symbol", + "category", + "ordinal", + "ramp", + "diverging", + "heatmap", ], UndefinedType, ] = Undefined, rangeMax: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rangeMin: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, reverse: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, round: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, scheme: Union[ - Union[ - Union[ - Union[ - Literal[ - "accent", - "category10", - "category20", - "category20b", - "category20c", - "dark2", - "paired", - "pastel1", - "pastel2", - "set1", - "set2", - "set3", - "tableau10", - "tableau20", - ], - core.Categorical, - ], - Union[ - Literal[ - "blueorange", - "blueorange-3", - "blueorange-4", - "blueorange-5", - "blueorange-6", - "blueorange-7", - "blueorange-8", - "blueorange-9", - "blueorange-10", - "blueorange-11", - "brownbluegreen", - "brownbluegreen-3", - "brownbluegreen-4", - "brownbluegreen-5", - "brownbluegreen-6", - "brownbluegreen-7", - "brownbluegreen-8", - "brownbluegreen-9", - "brownbluegreen-10", - "brownbluegreen-11", - "purplegreen", - "purplegreen-3", - "purplegreen-4", - "purplegreen-5", - "purplegreen-6", - "purplegreen-7", - "purplegreen-8", - "purplegreen-9", - "purplegreen-10", - "purplegreen-11", - "pinkyellowgreen", - "pinkyellowgreen-3", - "pinkyellowgreen-4", - "pinkyellowgreen-5", - "pinkyellowgreen-6", - "pinkyellowgreen-7", - "pinkyellowgreen-8", - "pinkyellowgreen-9", - "pinkyellowgreen-10", - "pinkyellowgreen-11", - "purpleorange", - "purpleorange-3", - "purpleorange-4", - "purpleorange-5", - "purpleorange-6", - "purpleorange-7", - "purpleorange-8", - "purpleorange-9", - "purpleorange-10", - "purpleorange-11", - "redblue", - "redblue-3", - "redblue-4", - "redblue-5", - "redblue-6", - "redblue-7", - "redblue-8", - "redblue-9", - "redblue-10", - "redblue-11", - "redgrey", - "redgrey-3", - "redgrey-4", - "redgrey-5", - "redgrey-6", - "redgrey-7", - "redgrey-8", - "redgrey-9", - "redgrey-10", - "redgrey-11", - "redyellowblue", - "redyellowblue-3", - "redyellowblue-4", - "redyellowblue-5", - "redyellowblue-6", - "redyellowblue-7", - "redyellowblue-8", - "redyellowblue-9", - "redyellowblue-10", - "redyellowblue-11", - "redyellowgreen", - "redyellowgreen-3", - "redyellowgreen-4", - "redyellowgreen-5", - "redyellowgreen-6", - "redyellowgreen-7", - "redyellowgreen-8", - "redyellowgreen-9", - "redyellowgreen-10", - "redyellowgreen-11", - "spectral", - "spectral-3", - "spectral-4", - "spectral-5", - "spectral-6", - "spectral-7", - "spectral-8", - "spectral-9", - "spectral-10", - "spectral-11", - ], - core.Diverging, - ], - Union[ - Literal[ - "blues", - "tealblues", - "teals", - "greens", - "browns", - "greys", - "purples", - "warmgreys", - "reds", - "oranges", - ], - core.SequentialSingleHue, - ], - Union[Literal["rainbow", "sinebow"], core.Cyclical], - Union[ - Literal[ - "turbo", - "viridis", - "inferno", - "magma", - "plasma", - "cividis", - "bluegreen", - "bluegreen-3", - "bluegreen-4", - "bluegreen-5", - "bluegreen-6", - "bluegreen-7", - "bluegreen-8", - "bluegreen-9", - "bluepurple", - "bluepurple-3", - "bluepurple-4", - "bluepurple-5", - "bluepurple-6", - "bluepurple-7", - "bluepurple-8", - "bluepurple-9", - "goldgreen", - "goldgreen-3", - "goldgreen-4", - "goldgreen-5", - "goldgreen-6", - "goldgreen-7", - "goldgreen-8", - "goldgreen-9", - "goldorange", - "goldorange-3", - "goldorange-4", - "goldorange-5", - "goldorange-6", - "goldorange-7", - "goldorange-8", - "goldorange-9", - "goldred", - "goldred-3", - "goldred-4", - "goldred-5", - "goldred-6", - "goldred-7", - "goldred-8", - "goldred-9", - "greenblue", - "greenblue-3", - "greenblue-4", - "greenblue-5", - "greenblue-6", - "greenblue-7", - "greenblue-8", - "greenblue-9", - "orangered", - "orangered-3", - "orangered-4", - "orangered-5", - "orangered-6", - "orangered-7", - "orangered-8", - "orangered-9", - "purplebluegreen", - "purplebluegreen-3", - "purplebluegreen-4", - "purplebluegreen-5", - "purplebluegreen-6", - "purplebluegreen-7", - "purplebluegreen-8", - "purplebluegreen-9", - "purpleblue", - "purpleblue-3", - "purpleblue-4", - "purpleblue-5", - "purpleblue-6", - "purpleblue-7", - "purpleblue-8", - "purpleblue-9", - "purplered", - "purplered-3", - "purplered-4", - "purplered-5", - "purplered-6", - "purplered-7", - "purplered-8", - "purplered-9", - "redpurple", - "redpurple-3", - "redpurple-4", - "redpurple-5", - "redpurple-6", - "redpurple-7", - "redpurple-8", - "redpurple-9", - "yellowgreenblue", - "yellowgreenblue-3", - "yellowgreenblue-4", - "yellowgreenblue-5", - "yellowgreenblue-6", - "yellowgreenblue-7", - "yellowgreenblue-8", - "yellowgreenblue-9", - "yellowgreen", - "yellowgreen-3", - "yellowgreen-4", - "yellowgreen-5", - "yellowgreen-6", - "yellowgreen-7", - "yellowgreen-8", - "yellowgreen-9", - "yelloworangebrown", - "yelloworangebrown-3", - "yelloworangebrown-4", - "yelloworangebrown-5", - "yelloworangebrown-6", - "yelloworangebrown-7", - "yelloworangebrown-8", - "yelloworangebrown-9", - "yelloworangered", - "yelloworangered-3", - "yelloworangered-4", - "yelloworangered-5", - "yelloworangered-6", - "yelloworangered-7", - "yelloworangered-8", - "yelloworangered-9", - "darkblue", - "darkblue-3", - "darkblue-4", - "darkblue-5", - "darkblue-6", - "darkblue-7", - "darkblue-8", - "darkblue-9", - "darkgold", - "darkgold-3", - "darkgold-4", - "darkgold-5", - "darkgold-6", - "darkgold-7", - "darkgold-8", - "darkgold-9", - "darkgreen", - "darkgreen-3", - "darkgreen-4", - "darkgreen-5", - "darkgreen-6", - "darkgreen-7", - "darkgreen-8", - "darkgreen-9", - "darkmulti", - "darkmulti-3", - "darkmulti-4", - "darkmulti-5", - "darkmulti-6", - "darkmulti-7", - "darkmulti-8", - "darkmulti-9", - "darkred", - "darkred-3", - "darkred-4", - "darkred-5", - "darkred-6", - "darkred-7", - "darkred-8", - "darkred-9", - "lightgreyred", - "lightgreyred-3", - "lightgreyred-4", - "lightgreyred-5", - "lightgreyred-6", - "lightgreyred-7", - "lightgreyred-8", - "lightgreyred-9", - "lightgreyteal", - "lightgreyteal-3", - "lightgreyteal-4", - "lightgreyteal-5", - "lightgreyteal-6", - "lightgreyteal-7", - "lightgreyteal-8", - "lightgreyteal-9", - "lightmulti", - "lightmulti-3", - "lightmulti-4", - "lightmulti-5", - "lightmulti-6", - "lightmulti-7", - "lightmulti-8", - "lightmulti-9", - "lightorange", - "lightorange-3", - "lightorange-4", - "lightorange-5", - "lightorange-6", - "lightorange-7", - "lightorange-8", - "lightorange-9", - "lighttealblue", - "lighttealblue-3", - "lighttealblue-4", - "lighttealblue-5", - "lighttealblue-6", - "lighttealblue-7", - "lighttealblue-8", - "lighttealblue-9", - ], - core.SequentialMultiHue, - ], - core.ColorScheme, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.SchemeParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal["rainbow", "sinebow"], + Literal[ + "blues", + "tealblues", + "teals", + "greens", + "browns", + "greys", + "purples", + "warmgreys", + "reds", + "oranges", + ], + Literal[ + "accent", + "category10", + "category20", + "category20b", + "category20c", + "dark2", + "paired", + "pastel1", + "pastel2", + "set1", + "set2", + "set3", + "tableau10", + "tableau20", + ], + Literal[ + "blueorange", + "blueorange-3", + "blueorange-4", + "blueorange-5", + "blueorange-6", + "blueorange-7", + "blueorange-8", + "blueorange-9", + "blueorange-10", + "blueorange-11", + "brownbluegreen", + "brownbluegreen-3", + "brownbluegreen-4", + "brownbluegreen-5", + "brownbluegreen-6", + "brownbluegreen-7", + "brownbluegreen-8", + "brownbluegreen-9", + "brownbluegreen-10", + "brownbluegreen-11", + "purplegreen", + "purplegreen-3", + "purplegreen-4", + "purplegreen-5", + "purplegreen-6", + "purplegreen-7", + "purplegreen-8", + "purplegreen-9", + "purplegreen-10", + "purplegreen-11", + "pinkyellowgreen", + "pinkyellowgreen-3", + "pinkyellowgreen-4", + "pinkyellowgreen-5", + "pinkyellowgreen-6", + "pinkyellowgreen-7", + "pinkyellowgreen-8", + "pinkyellowgreen-9", + "pinkyellowgreen-10", + "pinkyellowgreen-11", + "purpleorange", + "purpleorange-3", + "purpleorange-4", + "purpleorange-5", + "purpleorange-6", + "purpleorange-7", + "purpleorange-8", + "purpleorange-9", + "purpleorange-10", + "purpleorange-11", + "redblue", + "redblue-3", + "redblue-4", + "redblue-5", + "redblue-6", + "redblue-7", + "redblue-8", + "redblue-9", + "redblue-10", + "redblue-11", + "redgrey", + "redgrey-3", + "redgrey-4", + "redgrey-5", + "redgrey-6", + "redgrey-7", + "redgrey-8", + "redgrey-9", + "redgrey-10", + "redgrey-11", + "redyellowblue", + "redyellowblue-3", + "redyellowblue-4", + "redyellowblue-5", + "redyellowblue-6", + "redyellowblue-7", + "redyellowblue-8", + "redyellowblue-9", + "redyellowblue-10", + "redyellowblue-11", + "redyellowgreen", + "redyellowgreen-3", + "redyellowgreen-4", + "redyellowgreen-5", + "redyellowgreen-6", + "redyellowgreen-7", + "redyellowgreen-8", + "redyellowgreen-9", + "redyellowgreen-10", + "redyellowgreen-11", + "spectral", + "spectral-3", + "spectral-4", + "spectral-5", + "spectral-6", + "spectral-7", + "spectral-8", + "spectral-9", + "spectral-10", + "spectral-11", + ], + Literal[ + "turbo", + "viridis", + "inferno", + "magma", + "plasma", + "cividis", + "bluegreen", + "bluegreen-3", + "bluegreen-4", + "bluegreen-5", + "bluegreen-6", + "bluegreen-7", + "bluegreen-8", + "bluegreen-9", + "bluepurple", + "bluepurple-3", + "bluepurple-4", + "bluepurple-5", + "bluepurple-6", + "bluepurple-7", + "bluepurple-8", + "bluepurple-9", + "goldgreen", + "goldgreen-3", + "goldgreen-4", + "goldgreen-5", + "goldgreen-6", + "goldgreen-7", + "goldgreen-8", + "goldgreen-9", + "goldorange", + "goldorange-3", + "goldorange-4", + "goldorange-5", + "goldorange-6", + "goldorange-7", + "goldorange-8", + "goldorange-9", + "goldred", + "goldred-3", + "goldred-4", + "goldred-5", + "goldred-6", + "goldred-7", + "goldred-8", + "goldred-9", + "greenblue", + "greenblue-3", + "greenblue-4", + "greenblue-5", + "greenblue-6", + "greenblue-7", + "greenblue-8", + "greenblue-9", + "orangered", + "orangered-3", + "orangered-4", + "orangered-5", + "orangered-6", + "orangered-7", + "orangered-8", + "orangered-9", + "purplebluegreen", + "purplebluegreen-3", + "purplebluegreen-4", + "purplebluegreen-5", + "purplebluegreen-6", + "purplebluegreen-7", + "purplebluegreen-8", + "purplebluegreen-9", + "purpleblue", + "purpleblue-3", + "purpleblue-4", + "purpleblue-5", + "purpleblue-6", + "purpleblue-7", + "purpleblue-8", + "purpleblue-9", + "purplered", + "purplered-3", + "purplered-4", + "purplered-5", + "purplered-6", + "purplered-7", + "purplered-8", + "purplered-9", + "redpurple", + "redpurple-3", + "redpurple-4", + "redpurple-5", + "redpurple-6", + "redpurple-7", + "redpurple-8", + "redpurple-9", + "yellowgreenblue", + "yellowgreenblue-3", + "yellowgreenblue-4", + "yellowgreenblue-5", + "yellowgreenblue-6", + "yellowgreenblue-7", + "yellowgreenblue-8", + "yellowgreenblue-9", + "yellowgreen", + "yellowgreen-3", + "yellowgreen-4", + "yellowgreen-5", + "yellowgreen-6", + "yellowgreen-7", + "yellowgreen-8", + "yellowgreen-9", + "yelloworangebrown", + "yelloworangebrown-3", + "yelloworangebrown-4", + "yelloworangebrown-5", + "yelloworangebrown-6", + "yelloworangebrown-7", + "yelloworangebrown-8", + "yelloworangebrown-9", + "yelloworangered", + "yelloworangered-3", + "yelloworangered-4", + "yelloworangered-5", + "yelloworangered-6", + "yelloworangered-7", + "yelloworangered-8", + "yelloworangered-9", + "darkblue", + "darkblue-3", + "darkblue-4", + "darkblue-5", + "darkblue-6", + "darkblue-7", + "darkblue-8", + "darkblue-9", + "darkgold", + "darkgold-3", + "darkgold-4", + "darkgold-5", + "darkgold-6", + "darkgold-7", + "darkgold-8", + "darkgold-9", + "darkgreen", + "darkgreen-3", + "darkgreen-4", + "darkgreen-5", + "darkgreen-6", + "darkgreen-7", + "darkgreen-8", + "darkgreen-9", + "darkmulti", + "darkmulti-3", + "darkmulti-4", + "darkmulti-5", + "darkmulti-6", + "darkmulti-7", + "darkmulti-8", + "darkmulti-9", + "darkred", + "darkred-3", + "darkred-4", + "darkred-5", + "darkred-6", + "darkred-7", + "darkred-8", + "darkred-9", + "lightgreyred", + "lightgreyred-3", + "lightgreyred-4", + "lightgreyred-5", + "lightgreyred-6", + "lightgreyred-7", + "lightgreyred-8", + "lightgreyred-9", + "lightgreyteal", + "lightgreyteal-3", + "lightgreyteal-4", + "lightgreyteal-5", + "lightgreyteal-6", + "lightgreyteal-7", + "lightgreyteal-8", + "lightgreyteal-9", + "lightmulti", + "lightmulti-3", + "lightmulti-4", + "lightmulti-5", + "lightmulti-6", + "lightmulti-7", + "lightmulti-8", + "lightmulti-9", + "lightorange", + "lightorange-3", + "lightorange-4", + "lightorange-5", + "lightorange-6", + "lightorange-7", + "lightorange-8", + "lightorange-9", + "lighttealblue", + "lighttealblue-3", + "lighttealblue-4", + "lighttealblue-5", + "lighttealblue-6", + "lighttealblue-7", + "lighttealblue-8", + "lighttealblue-9", ], UndefinedType, ] = Undefined, type: Union[ - Union[ - Literal[ - "linear", - "log", - "pow", - "sqrt", - "symlog", - "identity", - "sequential", - "time", - "utc", - "quantile", - "quantize", - "threshold", - "bin-ordinal", - "ordinal", - "point", - "band", - ], - core.ScaleType, + core.SchemaBase, + Literal[ + "linear", + "log", + "pow", + "sqrt", + "symlog", + "identity", + "sequential", + "time", + "utc", + "quantile", + "quantize", + "threshold", + "bin-ordinal", + "ordinal", + "point", + "band", ], UndefinedType, ] = Undefined, zero: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Radius": @@ -34108,42 +29970,36 @@ def sort( @overload def sort( self, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, op: Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "Radius": @@ -34153,28 +30009,25 @@ def sort( def sort( self, encoding: Union[ - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, + core.SchemaBase, + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "Radius": @@ -34365,114 +30218,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -34502,271 +30335,217 @@ def type( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool, str], UndefinedType - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + bin: Union[str, bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, stack: Union[ - Union[ - None, - Union[Literal["zero", "center", "normalize"], core.StackOffset], - bool, - ], + bool, + None, + core.SchemaBase, + Literal["zero", "center", "normalize"], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -34791,8 +30570,6 @@ def __init__( class RadiusDatum(DatumChannelMixin, core.PositionDatumDefBase): """RadiusDatum schema wrapper - :class:`PositionDatumDefBase`, Dict - Parameters ---------- @@ -34800,9 +30577,9 @@ class RadiusDatum(DatumChannelMixin, core.PositionDatumDefBase): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -34815,7 +30592,7 @@ class RadiusDatum(DatumChannelMixin, core.PositionDatumDefBase): **See also:** `scale `__ documentation. - stack : :class:`StackOffset`, Literal['zero', 'center', 'normalize'], None, bool + stack : bool, None, :class:`StackOffset`, Literal['zero', 'center', 'normalize'] Type of stacking offset if the field should be stacked. ``stack`` is only applicable for ``x``, ``y``, ``theta``, and ``radius`` channels with continuous domains. For example, ``stack`` of ``y`` can be used to customize stacking for a vertical bar @@ -34846,7 +30623,7 @@ class RadiusDatum(DatumChannelMixin, core.PositionDatumDefBase): **See also:** `stack `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -34948,542 +30725,487 @@ def bandPosition(self, _: float, **kwds) -> "RadiusDatum": def scale( self, align: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, base: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - bins: Union[ - Union[Sequence[float], Union[core.ScaleBinParams, dict], core.ScaleBins], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + bins: Union[dict, core.SchemaBase, Sequence[float], UndefinedType] = Undefined, clamp: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, constant: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domain: Union[ - Union[ - Sequence[ - Union[ - None, - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - bool, - float, - str, - ] - ], - Union[core.DomainUnionWith, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ParameterExtent, core._Parameter, dict], - str, + str, + dict, + core._Parameter, + core.SchemaBase, + Sequence[ + Union[str, bool, dict, None, float, core._Parameter, core.SchemaBase] ], UndefinedType, ] = Undefined, domainMax: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMid: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMin: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainRaw: Union[ - Union[core.ExprRef, core._Parameter, dict], UndefinedType + dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, exponent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "rgb", - "lab", - "hcl", - "hsl", - "hsl-long", - "hcl-long", - "cubehelix", - "cubehelix-long", - ], - core.ScaleInterpolateEnum, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ScaleInterpolateParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "rgb", + "lab", + "hcl", + "hsl", + "hsl-long", + "hcl-long", + "cubehelix", + "cubehelix-long", ], UndefinedType, ] = Undefined, nice: Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.TimeIntervalStep, dict], - bool, - float, + bool, + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingInner: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingOuter: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, range: Union[ - Union[ - Sequence[ - Union[ - Sequence[float], - Union[core.ExprRef, core._Parameter, dict], - float, - str, - ] - ], + dict, + core.SchemaBase, + Sequence[ Union[ - Literal[ - "width", - "height", - "symbol", - "category", - "ordinal", - "ramp", - "diverging", - "heatmap", - ], - core.RangeEnum, - ], - Union[core.FieldRange, dict], + str, dict, float, core._Parameter, core.SchemaBase, Sequence[float] + ] + ], + Literal[ + "width", + "height", + "symbol", + "category", + "ordinal", + "ramp", + "diverging", + "heatmap", ], UndefinedType, ] = Undefined, rangeMax: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rangeMin: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, reverse: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, round: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, scheme: Union[ - Union[ - Union[ - Union[ - Literal[ - "accent", - "category10", - "category20", - "category20b", - "category20c", - "dark2", - "paired", - "pastel1", - "pastel2", - "set1", - "set2", - "set3", - "tableau10", - "tableau20", - ], - core.Categorical, - ], - Union[ - Literal[ - "blueorange", - "blueorange-3", - "blueorange-4", - "blueorange-5", - "blueorange-6", - "blueorange-7", - "blueorange-8", - "blueorange-9", - "blueorange-10", - "blueorange-11", - "brownbluegreen", - "brownbluegreen-3", - "brownbluegreen-4", - "brownbluegreen-5", - "brownbluegreen-6", - "brownbluegreen-7", - "brownbluegreen-8", - "brownbluegreen-9", - "brownbluegreen-10", - "brownbluegreen-11", - "purplegreen", - "purplegreen-3", - "purplegreen-4", - "purplegreen-5", - "purplegreen-6", - "purplegreen-7", - "purplegreen-8", - "purplegreen-9", - "purplegreen-10", - "purplegreen-11", - "pinkyellowgreen", - "pinkyellowgreen-3", - "pinkyellowgreen-4", - "pinkyellowgreen-5", - "pinkyellowgreen-6", - "pinkyellowgreen-7", - "pinkyellowgreen-8", - "pinkyellowgreen-9", - "pinkyellowgreen-10", - "pinkyellowgreen-11", - "purpleorange", - "purpleorange-3", - "purpleorange-4", - "purpleorange-5", - "purpleorange-6", - "purpleorange-7", - "purpleorange-8", - "purpleorange-9", - "purpleorange-10", - "purpleorange-11", - "redblue", - "redblue-3", - "redblue-4", - "redblue-5", - "redblue-6", - "redblue-7", - "redblue-8", - "redblue-9", - "redblue-10", - "redblue-11", - "redgrey", - "redgrey-3", - "redgrey-4", - "redgrey-5", - "redgrey-6", - "redgrey-7", - "redgrey-8", - "redgrey-9", - "redgrey-10", - "redgrey-11", - "redyellowblue", - "redyellowblue-3", - "redyellowblue-4", - "redyellowblue-5", - "redyellowblue-6", - "redyellowblue-7", - "redyellowblue-8", - "redyellowblue-9", - "redyellowblue-10", - "redyellowblue-11", - "redyellowgreen", - "redyellowgreen-3", - "redyellowgreen-4", - "redyellowgreen-5", - "redyellowgreen-6", - "redyellowgreen-7", - "redyellowgreen-8", - "redyellowgreen-9", - "redyellowgreen-10", - "redyellowgreen-11", - "spectral", - "spectral-3", - "spectral-4", - "spectral-5", - "spectral-6", - "spectral-7", - "spectral-8", - "spectral-9", - "spectral-10", - "spectral-11", - ], - core.Diverging, - ], - Union[ - Literal[ - "blues", - "tealblues", - "teals", - "greens", - "browns", - "greys", - "purples", - "warmgreys", - "reds", - "oranges", - ], - core.SequentialSingleHue, - ], - Union[Literal["rainbow", "sinebow"], core.Cyclical], - Union[ - Literal[ - "turbo", - "viridis", - "inferno", - "magma", - "plasma", - "cividis", - "bluegreen", - "bluegreen-3", - "bluegreen-4", - "bluegreen-5", - "bluegreen-6", - "bluegreen-7", - "bluegreen-8", - "bluegreen-9", - "bluepurple", - "bluepurple-3", - "bluepurple-4", - "bluepurple-5", - "bluepurple-6", - "bluepurple-7", - "bluepurple-8", - "bluepurple-9", - "goldgreen", - "goldgreen-3", - "goldgreen-4", - "goldgreen-5", - "goldgreen-6", - "goldgreen-7", - "goldgreen-8", - "goldgreen-9", - "goldorange", - "goldorange-3", - "goldorange-4", - "goldorange-5", - "goldorange-6", - "goldorange-7", - "goldorange-8", - "goldorange-9", - "goldred", - "goldred-3", - "goldred-4", - "goldred-5", - "goldred-6", - "goldred-7", - "goldred-8", - "goldred-9", - "greenblue", - "greenblue-3", - "greenblue-4", - "greenblue-5", - "greenblue-6", - "greenblue-7", - "greenblue-8", - "greenblue-9", - "orangered", - "orangered-3", - "orangered-4", - "orangered-5", - "orangered-6", - "orangered-7", - "orangered-8", - "orangered-9", - "purplebluegreen", - "purplebluegreen-3", - "purplebluegreen-4", - "purplebluegreen-5", - "purplebluegreen-6", - "purplebluegreen-7", - "purplebluegreen-8", - "purplebluegreen-9", - "purpleblue", - "purpleblue-3", - "purpleblue-4", - "purpleblue-5", - "purpleblue-6", - "purpleblue-7", - "purpleblue-8", - "purpleblue-9", - "purplered", - "purplered-3", - "purplered-4", - "purplered-5", - "purplered-6", - "purplered-7", - "purplered-8", - "purplered-9", - "redpurple", - "redpurple-3", - "redpurple-4", - "redpurple-5", - "redpurple-6", - "redpurple-7", - "redpurple-8", - "redpurple-9", - "yellowgreenblue", - "yellowgreenblue-3", - "yellowgreenblue-4", - "yellowgreenblue-5", - "yellowgreenblue-6", - "yellowgreenblue-7", - "yellowgreenblue-8", - "yellowgreenblue-9", - "yellowgreen", - "yellowgreen-3", - "yellowgreen-4", - "yellowgreen-5", - "yellowgreen-6", - "yellowgreen-7", - "yellowgreen-8", - "yellowgreen-9", - "yelloworangebrown", - "yelloworangebrown-3", - "yelloworangebrown-4", - "yelloworangebrown-5", - "yelloworangebrown-6", - "yelloworangebrown-7", - "yelloworangebrown-8", - "yelloworangebrown-9", - "yelloworangered", - "yelloworangered-3", - "yelloworangered-4", - "yelloworangered-5", - "yelloworangered-6", - "yelloworangered-7", - "yelloworangered-8", - "yelloworangered-9", - "darkblue", - "darkblue-3", - "darkblue-4", - "darkblue-5", - "darkblue-6", - "darkblue-7", - "darkblue-8", - "darkblue-9", - "darkgold", - "darkgold-3", - "darkgold-4", - "darkgold-5", - "darkgold-6", - "darkgold-7", - "darkgold-8", - "darkgold-9", - "darkgreen", - "darkgreen-3", - "darkgreen-4", - "darkgreen-5", - "darkgreen-6", - "darkgreen-7", - "darkgreen-8", - "darkgreen-9", - "darkmulti", - "darkmulti-3", - "darkmulti-4", - "darkmulti-5", - "darkmulti-6", - "darkmulti-7", - "darkmulti-8", - "darkmulti-9", - "darkred", - "darkred-3", - "darkred-4", - "darkred-5", - "darkred-6", - "darkred-7", - "darkred-8", - "darkred-9", - "lightgreyred", - "lightgreyred-3", - "lightgreyred-4", - "lightgreyred-5", - "lightgreyred-6", - "lightgreyred-7", - "lightgreyred-8", - "lightgreyred-9", - "lightgreyteal", - "lightgreyteal-3", - "lightgreyteal-4", - "lightgreyteal-5", - "lightgreyteal-6", - "lightgreyteal-7", - "lightgreyteal-8", - "lightgreyteal-9", - "lightmulti", - "lightmulti-3", - "lightmulti-4", - "lightmulti-5", - "lightmulti-6", - "lightmulti-7", - "lightmulti-8", - "lightmulti-9", - "lightorange", - "lightorange-3", - "lightorange-4", - "lightorange-5", - "lightorange-6", - "lightorange-7", - "lightorange-8", - "lightorange-9", - "lighttealblue", - "lighttealblue-3", - "lighttealblue-4", - "lighttealblue-5", - "lighttealblue-6", - "lighttealblue-7", - "lighttealblue-8", - "lighttealblue-9", - ], - core.SequentialMultiHue, - ], - core.ColorScheme, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.SchemeParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal["rainbow", "sinebow"], + Literal[ + "blues", + "tealblues", + "teals", + "greens", + "browns", + "greys", + "purples", + "warmgreys", + "reds", + "oranges", + ], + Literal[ + "accent", + "category10", + "category20", + "category20b", + "category20c", + "dark2", + "paired", + "pastel1", + "pastel2", + "set1", + "set2", + "set3", + "tableau10", + "tableau20", + ], + Literal[ + "blueorange", + "blueorange-3", + "blueorange-4", + "blueorange-5", + "blueorange-6", + "blueorange-7", + "blueorange-8", + "blueorange-9", + "blueorange-10", + "blueorange-11", + "brownbluegreen", + "brownbluegreen-3", + "brownbluegreen-4", + "brownbluegreen-5", + "brownbluegreen-6", + "brownbluegreen-7", + "brownbluegreen-8", + "brownbluegreen-9", + "brownbluegreen-10", + "brownbluegreen-11", + "purplegreen", + "purplegreen-3", + "purplegreen-4", + "purplegreen-5", + "purplegreen-6", + "purplegreen-7", + "purplegreen-8", + "purplegreen-9", + "purplegreen-10", + "purplegreen-11", + "pinkyellowgreen", + "pinkyellowgreen-3", + "pinkyellowgreen-4", + "pinkyellowgreen-5", + "pinkyellowgreen-6", + "pinkyellowgreen-7", + "pinkyellowgreen-8", + "pinkyellowgreen-9", + "pinkyellowgreen-10", + "pinkyellowgreen-11", + "purpleorange", + "purpleorange-3", + "purpleorange-4", + "purpleorange-5", + "purpleorange-6", + "purpleorange-7", + "purpleorange-8", + "purpleorange-9", + "purpleorange-10", + "purpleorange-11", + "redblue", + "redblue-3", + "redblue-4", + "redblue-5", + "redblue-6", + "redblue-7", + "redblue-8", + "redblue-9", + "redblue-10", + "redblue-11", + "redgrey", + "redgrey-3", + "redgrey-4", + "redgrey-5", + "redgrey-6", + "redgrey-7", + "redgrey-8", + "redgrey-9", + "redgrey-10", + "redgrey-11", + "redyellowblue", + "redyellowblue-3", + "redyellowblue-4", + "redyellowblue-5", + "redyellowblue-6", + "redyellowblue-7", + "redyellowblue-8", + "redyellowblue-9", + "redyellowblue-10", + "redyellowblue-11", + "redyellowgreen", + "redyellowgreen-3", + "redyellowgreen-4", + "redyellowgreen-5", + "redyellowgreen-6", + "redyellowgreen-7", + "redyellowgreen-8", + "redyellowgreen-9", + "redyellowgreen-10", + "redyellowgreen-11", + "spectral", + "spectral-3", + "spectral-4", + "spectral-5", + "spectral-6", + "spectral-7", + "spectral-8", + "spectral-9", + "spectral-10", + "spectral-11", + ], + Literal[ + "turbo", + "viridis", + "inferno", + "magma", + "plasma", + "cividis", + "bluegreen", + "bluegreen-3", + "bluegreen-4", + "bluegreen-5", + "bluegreen-6", + "bluegreen-7", + "bluegreen-8", + "bluegreen-9", + "bluepurple", + "bluepurple-3", + "bluepurple-4", + "bluepurple-5", + "bluepurple-6", + "bluepurple-7", + "bluepurple-8", + "bluepurple-9", + "goldgreen", + "goldgreen-3", + "goldgreen-4", + "goldgreen-5", + "goldgreen-6", + "goldgreen-7", + "goldgreen-8", + "goldgreen-9", + "goldorange", + "goldorange-3", + "goldorange-4", + "goldorange-5", + "goldorange-6", + "goldorange-7", + "goldorange-8", + "goldorange-9", + "goldred", + "goldred-3", + "goldred-4", + "goldred-5", + "goldred-6", + "goldred-7", + "goldred-8", + "goldred-9", + "greenblue", + "greenblue-3", + "greenblue-4", + "greenblue-5", + "greenblue-6", + "greenblue-7", + "greenblue-8", + "greenblue-9", + "orangered", + "orangered-3", + "orangered-4", + "orangered-5", + "orangered-6", + "orangered-7", + "orangered-8", + "orangered-9", + "purplebluegreen", + "purplebluegreen-3", + "purplebluegreen-4", + "purplebluegreen-5", + "purplebluegreen-6", + "purplebluegreen-7", + "purplebluegreen-8", + "purplebluegreen-9", + "purpleblue", + "purpleblue-3", + "purpleblue-4", + "purpleblue-5", + "purpleblue-6", + "purpleblue-7", + "purpleblue-8", + "purpleblue-9", + "purplered", + "purplered-3", + "purplered-4", + "purplered-5", + "purplered-6", + "purplered-7", + "purplered-8", + "purplered-9", + "redpurple", + "redpurple-3", + "redpurple-4", + "redpurple-5", + "redpurple-6", + "redpurple-7", + "redpurple-8", + "redpurple-9", + "yellowgreenblue", + "yellowgreenblue-3", + "yellowgreenblue-4", + "yellowgreenblue-5", + "yellowgreenblue-6", + "yellowgreenblue-7", + "yellowgreenblue-8", + "yellowgreenblue-9", + "yellowgreen", + "yellowgreen-3", + "yellowgreen-4", + "yellowgreen-5", + "yellowgreen-6", + "yellowgreen-7", + "yellowgreen-8", + "yellowgreen-9", + "yelloworangebrown", + "yelloworangebrown-3", + "yelloworangebrown-4", + "yelloworangebrown-5", + "yelloworangebrown-6", + "yelloworangebrown-7", + "yelloworangebrown-8", + "yelloworangebrown-9", + "yelloworangered", + "yelloworangered-3", + "yelloworangered-4", + "yelloworangered-5", + "yelloworangered-6", + "yelloworangered-7", + "yelloworangered-8", + "yelloworangered-9", + "darkblue", + "darkblue-3", + "darkblue-4", + "darkblue-5", + "darkblue-6", + "darkblue-7", + "darkblue-8", + "darkblue-9", + "darkgold", + "darkgold-3", + "darkgold-4", + "darkgold-5", + "darkgold-6", + "darkgold-7", + "darkgold-8", + "darkgold-9", + "darkgreen", + "darkgreen-3", + "darkgreen-4", + "darkgreen-5", + "darkgreen-6", + "darkgreen-7", + "darkgreen-8", + "darkgreen-9", + "darkmulti", + "darkmulti-3", + "darkmulti-4", + "darkmulti-5", + "darkmulti-6", + "darkmulti-7", + "darkmulti-8", + "darkmulti-9", + "darkred", + "darkred-3", + "darkred-4", + "darkred-5", + "darkred-6", + "darkred-7", + "darkred-8", + "darkred-9", + "lightgreyred", + "lightgreyred-3", + "lightgreyred-4", + "lightgreyred-5", + "lightgreyred-6", + "lightgreyred-7", + "lightgreyred-8", + "lightgreyred-9", + "lightgreyteal", + "lightgreyteal-3", + "lightgreyteal-4", + "lightgreyteal-5", + "lightgreyteal-6", + "lightgreyteal-7", + "lightgreyteal-8", + "lightgreyteal-9", + "lightmulti", + "lightmulti-3", + "lightmulti-4", + "lightmulti-5", + "lightmulti-6", + "lightmulti-7", + "lightmulti-8", + "lightmulti-9", + "lightorange", + "lightorange-3", + "lightorange-4", + "lightorange-5", + "lightorange-6", + "lightorange-7", + "lightorange-8", + "lightorange-9", + "lighttealblue", + "lighttealblue-3", + "lighttealblue-4", + "lighttealblue-5", + "lighttealblue-6", + "lighttealblue-7", + "lighttealblue-8", + "lighttealblue-9", ], UndefinedType, ] = Undefined, type: Union[ - Union[ - Literal[ - "linear", - "log", - "pow", - "sqrt", - "symlog", - "identity", - "sequential", - "time", - "utc", - "quantile", - "quantize", - "threshold", - "bin-ordinal", - "ordinal", - "point", - "band", - ], - core.ScaleType, + core.SchemaBase, + Literal[ + "linear", + "log", + "pow", + "sqrt", + "symlog", + "identity", + "sequential", + "time", + "utc", + "quantile", + "quantize", + "threshold", + "bin-ordinal", + "ordinal", + "point", + "band", ], UndefinedType, ] = Undefined, zero: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "RadiusDatum": @@ -35529,23 +31251,20 @@ def __init__( self, datum, bandPosition: Union[float, UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, stack: Union[ - Union[ - None, - Union[Literal["zero", "center", "normalize"], core.StackOffset], - bool, - ], + bool, + None, + core.SchemaBase, + Literal["zero", "center", "normalize"], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -35564,15 +31283,13 @@ def __init__( @with_property_setters class RadiusValue(ValueChannelMixin, core.PositionValueDef): """RadiusValue schema wrapper - - :class:`PositionValueDef`, Dict[required=[value]] Definition object for a constant value (primitive value or gradient definition) of an encoding channel. Parameters ---------- - value : :class:`ExprRef`, Dict[required=[expr]], float, str + value : str, dict, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -35588,17 +31305,15 @@ def __init__(self, value, **kwds): @with_property_setters class Radius2(FieldChannelMixin, core.SecondaryFieldDef): """Radius2 schema wrapper - - :class:`SecondaryFieldDef`, Dict[required=[shorthand]] A field definition of a secondary channel that shares a scale with another primary channel. For example, ``x2``, ``xError`` and ``xError2`` share the same scale with ``x``. Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -35631,7 +31346,7 @@ class Radius2(FieldChannelMixin, core.SecondaryFieldDef): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -35646,7 +31361,7 @@ class Radius2(FieldChannelMixin, core.SecondaryFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -35655,7 +31370,7 @@ class Radius2(FieldChannelMixin, core.SecondaryFieldDef): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -35712,17 +31427,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Radius2": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Radius2": ... @@ -35917,114 +31628,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -36048,200 +31739,166 @@ def title(self, _: None, **kwds) -> "Radius2": def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, bin: Union[None, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, **kwds, ): @@ -36261,8 +31918,6 @@ def __init__( class Radius2Datum(DatumChannelMixin, core.DatumDef): """Radius2Datum schema wrapper - :class:`DatumDef`, Dict - Parameters ---------- @@ -36270,9 +31925,9 @@ class Radius2Datum(DatumChannelMixin, core.DatumDef): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -36395,13 +32050,11 @@ def __init__( datum, bandPosition: Union[float, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -36414,15 +32067,13 @@ def __init__( @with_property_setters class Radius2Value(ValueChannelMixin, core.PositionValueDef): """Radius2Value schema wrapper - - :class:`PositionValueDef`, Dict[required=[value]] Definition object for a constant value (primitive value or gradient definition) of an encoding channel. Parameters ---------- - value : :class:`ExprRef`, Dict[required=[expr]], float, str + value : str, dict, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -36439,14 +32090,12 @@ def __init__(self, value, **kwds): class Row(FieldChannelMixin, core.RowColumnEncodingFieldDef): """Row schema wrapper - :class:`RowColumnEncodingFieldDef`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -36472,7 +32121,7 @@ class Row(FieldChannelMixin, core.RowColumnEncodingFieldDef): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool + bin : bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -36498,7 +32147,7 @@ class Row(FieldChannelMixin, core.RowColumnEncodingFieldDef): respective rows or columns. **Default value:** ``false`` - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -36513,9 +32162,9 @@ class Row(FieldChannelMixin, core.RowColumnEncodingFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - header : :class:`Header`, Dict, None + header : dict, None, :class:`Header` An object defining properties of a facet's header. - sort : :class:`EncodingSortField`, Dict, :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str], :class:`SortOrder`, Literal['ascending', 'descending'], None + sort : dict, None, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`EncodingSortField`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -36548,7 +32197,7 @@ class Row(FieldChannelMixin, core.RowColumnEncodingFieldDef): **Default value** : Depends on ``"spacing"`` property of `the view composition configuration `__ ( ``20`` by default) - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -36557,7 +32206,7 @@ class Row(FieldChannelMixin, core.RowColumnEncodingFieldDef): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -36683,17 +32332,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Row": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Row": ... @@ -36717,12 +32362,7 @@ def bin( binned: Union[bool, UndefinedType] = Undefined, divide: Union[Sequence[float], UndefinedType] = Undefined, extent: Union[ - Union[ - Sequence[float], - Union[core.ParameterExtent, core._Parameter, dict], - core.BinExtent, - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, maxbins: Union[float, UndefinedType] = Undefined, minstep: Union[float, UndefinedType] = Undefined, @@ -36758,485 +32398,451 @@ def field( @overload def header( self, - format: Union[Union[Union[core.Dict, dict], str], UndefinedType] = Undefined, + format: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, labelAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, labelAnchor: Union[ - Union[Literal[None, "start", "middle", "end"], core.TitleAnchor], - UndefinedType, + core.SchemaBase, Literal[None, "start", "middle", "end"], UndefinedType ] = Undefined, labelAngle: Union[float, UndefinedType] = Undefined, labelBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, labelColor: Union[ - Union[ - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, labelExpr: Union[str, UndefinedType] = Undefined, labelFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, labelLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelLineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOrient: Union[ - Union[Literal["left", "right", "top", "bottom"], core.Orient], UndefinedType + core.SchemaBase, Literal["left", "right", "top", "bottom"], UndefinedType ] = Undefined, labelPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labels: Union[bool, UndefinedType] = Undefined, orient: Union[ - Union[Literal["left", "right", "top", "bottom"], core.Orient], UndefinedType + core.SchemaBase, Literal["left", "right", "top", "bottom"], UndefinedType ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, titleAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, titleAnchor: Union[ - Union[Literal[None, "start", "middle", "end"], core.TitleAnchor], - UndefinedType, + core.SchemaBase, Literal[None, "start", "middle", "end"], UndefinedType ] = Undefined, titleAngle: Union[float, UndefinedType] = Undefined, titleBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, titleColor: Union[ - Union[ - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, titleFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, titleLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleLineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleOrient: Union[ - Union[Literal["left", "right", "top", "bottom"], core.Orient], UndefinedType + core.SchemaBase, Literal["left", "right", "top", "bottom"], UndefinedType ] = Undefined, titlePadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Row": @@ -37269,42 +32875,36 @@ def sort(self, _: Literal["ascending", "descending"], **kwds) -> "Row": @overload def sort( self, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, op: Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "Row": @@ -37487,114 +33087,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -37624,229 +33204,187 @@ def type( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, align: Union[ - Union[Literal["all", "each", "none"], core.LayoutAlign], UndefinedType + core.SchemaBase, Literal["all", "each", "none"], UndefinedType ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, center: Union[bool, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - header: Union[Union[None, Union[core.Header, dict]], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + header: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[core.EncodingSortField, dict], - ], + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], UndefinedType, ] = Undefined, spacing: Union[float, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -37876,15 +33414,12 @@ class Shape( ): """Shape schema wrapper - :class:`FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull`, - Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -37896,7 +33431,7 @@ class Shape( Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool + bin : bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -37917,14 +33452,14 @@ class Shape( **See also:** `bin `__ documentation. - condition : :class:`ConditionalParameterValueDefstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringnullExprRef`, Sequence[:class:`ConditionalParameterValueDefstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringnullExprRef`] + condition : dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -37939,7 +33474,7 @@ class Shape( about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - legend : :class:`Legend`, Dict, None + legend : dict, None, :class:`Legend` An object defining properties of the legend. If ``null``, the legend for the encoding channel will be removed. @@ -37948,7 +33483,7 @@ class Shape( **See also:** `legend `__ documentation. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -37961,7 +33496,7 @@ class Shape( **See also:** `scale `__ documentation. - sort : :class:`AllSortString`, :class:`SortByChannelDesc`, Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'], :class:`SortByChannel`, Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], :class:`SortOrder`, Literal['ascending', 'descending'], :class:`EncodingSortField`, Dict, :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str], :class:`SortByEncoding`, Dict[required=[encoding]], :class:`Sort`, None + sort : dict, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'], Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -38000,7 +33535,7 @@ class Shape( **See also:** `sort `__ documentation. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -38009,7 +33544,7 @@ class Shape( **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -38135,17 +33670,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Shape": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Shape": ... @@ -38165,12 +33696,7 @@ def bin( binned: Union[bool, UndefinedType] = Undefined, divide: Union[Sequence[float], UndefinedType] = Undefined, extent: Union[ - Union[ - Sequence[float], - Union[core.ParameterExtent, core._Parameter, dict], - core.BinExtent, - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, maxbins: Union[float, UndefinedType] = Undefined, minstep: Union[float, UndefinedType] = Undefined, @@ -38188,30 +33714,9 @@ def bin(self, _: None, **kwds) -> "Shape": @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[None, Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Shape": @@ -38221,9 +33726,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[None, Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Shape": @@ -38253,1472 +33758,1374 @@ def field( def legend( self, aria: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, clipHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, columnPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, columns: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, description: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, direction: Union[ - Union[Literal["horizontal", "vertical"], core.Orientation], UndefinedType + core.SchemaBase, Literal["horizontal", "vertical"], UndefinedType ] = Undefined, fillColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, - ] = Undefined, - format: Union[Union[Union[core.Dict, dict], str], UndefinedType] = Undefined, + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", + ], + UndefinedType, + ] = Undefined, + format: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, gradientLength: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientStrokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, gradientStrokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientThickness: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gridAlign: Union[ - Union[ - Union[Literal["all", "each", "none"], core.LayoutAlign], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["all", "each", "none"], UndefinedType, ] = Undefined, labelAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, labelBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, labelColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, labelExpr: Union[str, UndefinedType] = Undefined, labelFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, labelLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOverlap: Union[ - Union[ - Union[bool, core.LabelOverlap, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelSeparation: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, legendX: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, legendY: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, orient: Union[ - Union[ - Literal[ - "none", - "left", - "right", - "top", - "bottom", - "top-left", - "top-right", - "bottom-left", - "bottom-right", - ], - core.LegendOrient, + core.SchemaBase, + Literal[ + "none", + "left", + "right", + "top", + "bottom", + "top-left", + "top-right", + "bottom-left", + "bottom-right", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rowPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolDash: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, symbolDashOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolFillColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolStrokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolStrokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolType: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.SymbolShape, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickCount: Union[ - Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.TimeIntervalStep, dict], - core.TickCount, - float, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, tickMinStep: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, titleAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, titleAnchor: Union[ - Union[ - Union[Literal[None, "start", "middle", "end"], core.TitleAnchor], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal[None, "start", "middle", "end"], UndefinedType, ] = Undefined, titleBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, titleColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, titleFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, titleLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleLineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleOrient: Union[ - Union[ - Union[Literal["left", "right", "top", "bottom"], core.Orient], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "right", "top", "bottom"], UndefinedType, ] = Undefined, titlePadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, type: Union[Literal["symbol", "gradient"], UndefinedType] = Undefined, values: Union[ - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + Sequence[str], + Sequence[bool], + core._Parameter, + core.SchemaBase, + Sequence[float], + Sequence[Union[dict, core.SchemaBase]], UndefinedType, ] = Undefined, zindex: Union[float, UndefinedType] = Undefined, @@ -39734,542 +35141,487 @@ def legend(self, _: None, **kwds) -> "Shape": def scale( self, align: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, base: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - bins: Union[ - Union[Sequence[float], Union[core.ScaleBinParams, dict], core.ScaleBins], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + bins: Union[dict, core.SchemaBase, Sequence[float], UndefinedType] = Undefined, clamp: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, constant: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domain: Union[ - Union[ - Sequence[ - Union[ - None, - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - bool, - float, - str, - ] - ], - Union[core.DomainUnionWith, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ParameterExtent, core._Parameter, dict], - str, + str, + dict, + core._Parameter, + core.SchemaBase, + Sequence[ + Union[str, bool, dict, None, float, core._Parameter, core.SchemaBase] ], UndefinedType, ] = Undefined, domainMax: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMid: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMin: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainRaw: Union[ - Union[core.ExprRef, core._Parameter, dict], UndefinedType + dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, exponent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "rgb", - "lab", - "hcl", - "hsl", - "hsl-long", - "hcl-long", - "cubehelix", - "cubehelix-long", - ], - core.ScaleInterpolateEnum, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ScaleInterpolateParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "rgb", + "lab", + "hcl", + "hsl", + "hsl-long", + "hcl-long", + "cubehelix", + "cubehelix-long", ], UndefinedType, ] = Undefined, nice: Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.TimeIntervalStep, dict], - bool, - float, + bool, + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingInner: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingOuter: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, range: Union[ - Union[ - Sequence[ - Union[ - Sequence[float], - Union[core.ExprRef, core._Parameter, dict], - float, - str, - ] - ], + dict, + core.SchemaBase, + Sequence[ Union[ - Literal[ - "width", - "height", - "symbol", - "category", - "ordinal", - "ramp", - "diverging", - "heatmap", - ], - core.RangeEnum, - ], - Union[core.FieldRange, dict], + str, dict, float, core._Parameter, core.SchemaBase, Sequence[float] + ] + ], + Literal[ + "width", + "height", + "symbol", + "category", + "ordinal", + "ramp", + "diverging", + "heatmap", ], UndefinedType, ] = Undefined, rangeMax: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rangeMin: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, reverse: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, round: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, scheme: Union[ - Union[ - Union[ - Union[ - Literal[ - "accent", - "category10", - "category20", - "category20b", - "category20c", - "dark2", - "paired", - "pastel1", - "pastel2", - "set1", - "set2", - "set3", - "tableau10", - "tableau20", - ], - core.Categorical, - ], - Union[ - Literal[ - "blueorange", - "blueorange-3", - "blueorange-4", - "blueorange-5", - "blueorange-6", - "blueorange-7", - "blueorange-8", - "blueorange-9", - "blueorange-10", - "blueorange-11", - "brownbluegreen", - "brownbluegreen-3", - "brownbluegreen-4", - "brownbluegreen-5", - "brownbluegreen-6", - "brownbluegreen-7", - "brownbluegreen-8", - "brownbluegreen-9", - "brownbluegreen-10", - "brownbluegreen-11", - "purplegreen", - "purplegreen-3", - "purplegreen-4", - "purplegreen-5", - "purplegreen-6", - "purplegreen-7", - "purplegreen-8", - "purplegreen-9", - "purplegreen-10", - "purplegreen-11", - "pinkyellowgreen", - "pinkyellowgreen-3", - "pinkyellowgreen-4", - "pinkyellowgreen-5", - "pinkyellowgreen-6", - "pinkyellowgreen-7", - "pinkyellowgreen-8", - "pinkyellowgreen-9", - "pinkyellowgreen-10", - "pinkyellowgreen-11", - "purpleorange", - "purpleorange-3", - "purpleorange-4", - "purpleorange-5", - "purpleorange-6", - "purpleorange-7", - "purpleorange-8", - "purpleorange-9", - "purpleorange-10", - "purpleorange-11", - "redblue", - "redblue-3", - "redblue-4", - "redblue-5", - "redblue-6", - "redblue-7", - "redblue-8", - "redblue-9", - "redblue-10", - "redblue-11", - "redgrey", - "redgrey-3", - "redgrey-4", - "redgrey-5", - "redgrey-6", - "redgrey-7", - "redgrey-8", - "redgrey-9", - "redgrey-10", - "redgrey-11", - "redyellowblue", - "redyellowblue-3", - "redyellowblue-4", - "redyellowblue-5", - "redyellowblue-6", - "redyellowblue-7", - "redyellowblue-8", - "redyellowblue-9", - "redyellowblue-10", - "redyellowblue-11", - "redyellowgreen", - "redyellowgreen-3", - "redyellowgreen-4", - "redyellowgreen-5", - "redyellowgreen-6", - "redyellowgreen-7", - "redyellowgreen-8", - "redyellowgreen-9", - "redyellowgreen-10", - "redyellowgreen-11", - "spectral", - "spectral-3", - "spectral-4", - "spectral-5", - "spectral-6", - "spectral-7", - "spectral-8", - "spectral-9", - "spectral-10", - "spectral-11", - ], - core.Diverging, - ], - Union[ - Literal[ - "blues", - "tealblues", - "teals", - "greens", - "browns", - "greys", - "purples", - "warmgreys", - "reds", - "oranges", - ], - core.SequentialSingleHue, - ], - Union[Literal["rainbow", "sinebow"], core.Cyclical], - Union[ - Literal[ - "turbo", - "viridis", - "inferno", - "magma", - "plasma", - "cividis", - "bluegreen", - "bluegreen-3", - "bluegreen-4", - "bluegreen-5", - "bluegreen-6", - "bluegreen-7", - "bluegreen-8", - "bluegreen-9", - "bluepurple", - "bluepurple-3", - "bluepurple-4", - "bluepurple-5", - "bluepurple-6", - "bluepurple-7", - "bluepurple-8", - "bluepurple-9", - "goldgreen", - "goldgreen-3", - "goldgreen-4", - "goldgreen-5", - "goldgreen-6", - "goldgreen-7", - "goldgreen-8", - "goldgreen-9", - "goldorange", - "goldorange-3", - "goldorange-4", - "goldorange-5", - "goldorange-6", - "goldorange-7", - "goldorange-8", - "goldorange-9", - "goldred", - "goldred-3", - "goldred-4", - "goldred-5", - "goldred-6", - "goldred-7", - "goldred-8", - "goldred-9", - "greenblue", - "greenblue-3", - "greenblue-4", - "greenblue-5", - "greenblue-6", - "greenblue-7", - "greenblue-8", - "greenblue-9", - "orangered", - "orangered-3", - "orangered-4", - "orangered-5", - "orangered-6", - "orangered-7", - "orangered-8", - "orangered-9", - "purplebluegreen", - "purplebluegreen-3", - "purplebluegreen-4", - "purplebluegreen-5", - "purplebluegreen-6", - "purplebluegreen-7", - "purplebluegreen-8", - "purplebluegreen-9", - "purpleblue", - "purpleblue-3", - "purpleblue-4", - "purpleblue-5", - "purpleblue-6", - "purpleblue-7", - "purpleblue-8", - "purpleblue-9", - "purplered", - "purplered-3", - "purplered-4", - "purplered-5", - "purplered-6", - "purplered-7", - "purplered-8", - "purplered-9", - "redpurple", - "redpurple-3", - "redpurple-4", - "redpurple-5", - "redpurple-6", - "redpurple-7", - "redpurple-8", - "redpurple-9", - "yellowgreenblue", - "yellowgreenblue-3", - "yellowgreenblue-4", - "yellowgreenblue-5", - "yellowgreenblue-6", - "yellowgreenblue-7", - "yellowgreenblue-8", - "yellowgreenblue-9", - "yellowgreen", - "yellowgreen-3", - "yellowgreen-4", - "yellowgreen-5", - "yellowgreen-6", - "yellowgreen-7", - "yellowgreen-8", - "yellowgreen-9", - "yelloworangebrown", - "yelloworangebrown-3", - "yelloworangebrown-4", - "yelloworangebrown-5", - "yelloworangebrown-6", - "yelloworangebrown-7", - "yelloworangebrown-8", - "yelloworangebrown-9", - "yelloworangered", - "yelloworangered-3", - "yelloworangered-4", - "yelloworangered-5", - "yelloworangered-6", - "yelloworangered-7", - "yelloworangered-8", - "yelloworangered-9", - "darkblue", - "darkblue-3", - "darkblue-4", - "darkblue-5", - "darkblue-6", - "darkblue-7", - "darkblue-8", - "darkblue-9", - "darkgold", - "darkgold-3", - "darkgold-4", - "darkgold-5", - "darkgold-6", - "darkgold-7", - "darkgold-8", - "darkgold-9", - "darkgreen", - "darkgreen-3", - "darkgreen-4", - "darkgreen-5", - "darkgreen-6", - "darkgreen-7", - "darkgreen-8", - "darkgreen-9", - "darkmulti", - "darkmulti-3", - "darkmulti-4", - "darkmulti-5", - "darkmulti-6", - "darkmulti-7", - "darkmulti-8", - "darkmulti-9", - "darkred", - "darkred-3", - "darkred-4", - "darkred-5", - "darkred-6", - "darkred-7", - "darkred-8", - "darkred-9", - "lightgreyred", - "lightgreyred-3", - "lightgreyred-4", - "lightgreyred-5", - "lightgreyred-6", - "lightgreyred-7", - "lightgreyred-8", - "lightgreyred-9", - "lightgreyteal", - "lightgreyteal-3", - "lightgreyteal-4", - "lightgreyteal-5", - "lightgreyteal-6", - "lightgreyteal-7", - "lightgreyteal-8", - "lightgreyteal-9", - "lightmulti", - "lightmulti-3", - "lightmulti-4", - "lightmulti-5", - "lightmulti-6", - "lightmulti-7", - "lightmulti-8", - "lightmulti-9", - "lightorange", - "lightorange-3", - "lightorange-4", - "lightorange-5", - "lightorange-6", - "lightorange-7", - "lightorange-8", - "lightorange-9", - "lighttealblue", - "lighttealblue-3", - "lighttealblue-4", - "lighttealblue-5", - "lighttealblue-6", - "lighttealblue-7", - "lighttealblue-8", - "lighttealblue-9", - ], - core.SequentialMultiHue, - ], - core.ColorScheme, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.SchemeParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal["rainbow", "sinebow"], + Literal[ + "blues", + "tealblues", + "teals", + "greens", + "browns", + "greys", + "purples", + "warmgreys", + "reds", + "oranges", + ], + Literal[ + "accent", + "category10", + "category20", + "category20b", + "category20c", + "dark2", + "paired", + "pastel1", + "pastel2", + "set1", + "set2", + "set3", + "tableau10", + "tableau20", + ], + Literal[ + "blueorange", + "blueorange-3", + "blueorange-4", + "blueorange-5", + "blueorange-6", + "blueorange-7", + "blueorange-8", + "blueorange-9", + "blueorange-10", + "blueorange-11", + "brownbluegreen", + "brownbluegreen-3", + "brownbluegreen-4", + "brownbluegreen-5", + "brownbluegreen-6", + "brownbluegreen-7", + "brownbluegreen-8", + "brownbluegreen-9", + "brownbluegreen-10", + "brownbluegreen-11", + "purplegreen", + "purplegreen-3", + "purplegreen-4", + "purplegreen-5", + "purplegreen-6", + "purplegreen-7", + "purplegreen-8", + "purplegreen-9", + "purplegreen-10", + "purplegreen-11", + "pinkyellowgreen", + "pinkyellowgreen-3", + "pinkyellowgreen-4", + "pinkyellowgreen-5", + "pinkyellowgreen-6", + "pinkyellowgreen-7", + "pinkyellowgreen-8", + "pinkyellowgreen-9", + "pinkyellowgreen-10", + "pinkyellowgreen-11", + "purpleorange", + "purpleorange-3", + "purpleorange-4", + "purpleorange-5", + "purpleorange-6", + "purpleorange-7", + "purpleorange-8", + "purpleorange-9", + "purpleorange-10", + "purpleorange-11", + "redblue", + "redblue-3", + "redblue-4", + "redblue-5", + "redblue-6", + "redblue-7", + "redblue-8", + "redblue-9", + "redblue-10", + "redblue-11", + "redgrey", + "redgrey-3", + "redgrey-4", + "redgrey-5", + "redgrey-6", + "redgrey-7", + "redgrey-8", + "redgrey-9", + "redgrey-10", + "redgrey-11", + "redyellowblue", + "redyellowblue-3", + "redyellowblue-4", + "redyellowblue-5", + "redyellowblue-6", + "redyellowblue-7", + "redyellowblue-8", + "redyellowblue-9", + "redyellowblue-10", + "redyellowblue-11", + "redyellowgreen", + "redyellowgreen-3", + "redyellowgreen-4", + "redyellowgreen-5", + "redyellowgreen-6", + "redyellowgreen-7", + "redyellowgreen-8", + "redyellowgreen-9", + "redyellowgreen-10", + "redyellowgreen-11", + "spectral", + "spectral-3", + "spectral-4", + "spectral-5", + "spectral-6", + "spectral-7", + "spectral-8", + "spectral-9", + "spectral-10", + "spectral-11", + ], + Literal[ + "turbo", + "viridis", + "inferno", + "magma", + "plasma", + "cividis", + "bluegreen", + "bluegreen-3", + "bluegreen-4", + "bluegreen-5", + "bluegreen-6", + "bluegreen-7", + "bluegreen-8", + "bluegreen-9", + "bluepurple", + "bluepurple-3", + "bluepurple-4", + "bluepurple-5", + "bluepurple-6", + "bluepurple-7", + "bluepurple-8", + "bluepurple-9", + "goldgreen", + "goldgreen-3", + "goldgreen-4", + "goldgreen-5", + "goldgreen-6", + "goldgreen-7", + "goldgreen-8", + "goldgreen-9", + "goldorange", + "goldorange-3", + "goldorange-4", + "goldorange-5", + "goldorange-6", + "goldorange-7", + "goldorange-8", + "goldorange-9", + "goldred", + "goldred-3", + "goldred-4", + "goldred-5", + "goldred-6", + "goldred-7", + "goldred-8", + "goldred-9", + "greenblue", + "greenblue-3", + "greenblue-4", + "greenblue-5", + "greenblue-6", + "greenblue-7", + "greenblue-8", + "greenblue-9", + "orangered", + "orangered-3", + "orangered-4", + "orangered-5", + "orangered-6", + "orangered-7", + "orangered-8", + "orangered-9", + "purplebluegreen", + "purplebluegreen-3", + "purplebluegreen-4", + "purplebluegreen-5", + "purplebluegreen-6", + "purplebluegreen-7", + "purplebluegreen-8", + "purplebluegreen-9", + "purpleblue", + "purpleblue-3", + "purpleblue-4", + "purpleblue-5", + "purpleblue-6", + "purpleblue-7", + "purpleblue-8", + "purpleblue-9", + "purplered", + "purplered-3", + "purplered-4", + "purplered-5", + "purplered-6", + "purplered-7", + "purplered-8", + "purplered-9", + "redpurple", + "redpurple-3", + "redpurple-4", + "redpurple-5", + "redpurple-6", + "redpurple-7", + "redpurple-8", + "redpurple-9", + "yellowgreenblue", + "yellowgreenblue-3", + "yellowgreenblue-4", + "yellowgreenblue-5", + "yellowgreenblue-6", + "yellowgreenblue-7", + "yellowgreenblue-8", + "yellowgreenblue-9", + "yellowgreen", + "yellowgreen-3", + "yellowgreen-4", + "yellowgreen-5", + "yellowgreen-6", + "yellowgreen-7", + "yellowgreen-8", + "yellowgreen-9", + "yelloworangebrown", + "yelloworangebrown-3", + "yelloworangebrown-4", + "yelloworangebrown-5", + "yelloworangebrown-6", + "yelloworangebrown-7", + "yelloworangebrown-8", + "yelloworangebrown-9", + "yelloworangered", + "yelloworangered-3", + "yelloworangered-4", + "yelloworangered-5", + "yelloworangered-6", + "yelloworangered-7", + "yelloworangered-8", + "yelloworangered-9", + "darkblue", + "darkblue-3", + "darkblue-4", + "darkblue-5", + "darkblue-6", + "darkblue-7", + "darkblue-8", + "darkblue-9", + "darkgold", + "darkgold-3", + "darkgold-4", + "darkgold-5", + "darkgold-6", + "darkgold-7", + "darkgold-8", + "darkgold-9", + "darkgreen", + "darkgreen-3", + "darkgreen-4", + "darkgreen-5", + "darkgreen-6", + "darkgreen-7", + "darkgreen-8", + "darkgreen-9", + "darkmulti", + "darkmulti-3", + "darkmulti-4", + "darkmulti-5", + "darkmulti-6", + "darkmulti-7", + "darkmulti-8", + "darkmulti-9", + "darkred", + "darkred-3", + "darkred-4", + "darkred-5", + "darkred-6", + "darkred-7", + "darkred-8", + "darkred-9", + "lightgreyred", + "lightgreyred-3", + "lightgreyred-4", + "lightgreyred-5", + "lightgreyred-6", + "lightgreyred-7", + "lightgreyred-8", + "lightgreyred-9", + "lightgreyteal", + "lightgreyteal-3", + "lightgreyteal-4", + "lightgreyteal-5", + "lightgreyteal-6", + "lightgreyteal-7", + "lightgreyteal-8", + "lightgreyteal-9", + "lightmulti", + "lightmulti-3", + "lightmulti-4", + "lightmulti-5", + "lightmulti-6", + "lightmulti-7", + "lightmulti-8", + "lightmulti-9", + "lightorange", + "lightorange-3", + "lightorange-4", + "lightorange-5", + "lightorange-6", + "lightorange-7", + "lightorange-8", + "lightorange-9", + "lighttealblue", + "lighttealblue-3", + "lighttealblue-4", + "lighttealblue-5", + "lighttealblue-6", + "lighttealblue-7", + "lighttealblue-8", + "lighttealblue-9", ], UndefinedType, ] = Undefined, type: Union[ - Union[ - Literal[ - "linear", - "log", - "pow", - "sqrt", - "symlog", - "identity", - "sequential", - "time", - "utc", - "quantile", - "quantize", - "threshold", - "bin-ordinal", - "ordinal", - "point", - "band", - ], - core.ScaleType, + core.SchemaBase, + Literal[ + "linear", + "log", + "pow", + "sqrt", + "symlog", + "identity", + "sequential", + "time", + "utc", + "quantile", + "quantize", + "threshold", + "bin-ordinal", + "ordinal", + "point", + "band", ], UndefinedType, ] = Undefined, zero: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Shape": @@ -40344,42 +35696,36 @@ def sort( @overload def sort( self, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, op: Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "Shape": @@ -40389,28 +35735,25 @@ def sort( def sort( self, encoding: Union[ - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, + core.SchemaBase, + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "Shape": @@ -40589,114 +35932,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -40724,279 +36047,213 @@ def type(self, _: Literal["nominal", "ordinal", "geojson"], **kwds) -> "Shape": def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefstringnullExprRef, dict], - Union[core.ConditionalPredicateValueDefstringnullExprRef, dict], - core.ConditionalValueDefstringnullExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterValueDefstringnullExprRef, dict], - Union[core.ConditionalPredicateValueDefstringnullExprRef, dict], - core.ConditionalValueDefstringnullExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[Literal["nominal", "ordinal", "geojson"], core.TypeForShape], - UndefinedType, + core.SchemaBase, Literal["nominal", "ordinal", "geojson"], UndefinedType ] = Undefined, **kwds, ): @@ -41023,8 +36280,6 @@ class ShapeDatum( ): """ShapeDatum schema wrapper - :class:`FieldOrDatumDefWithConditionDatumDefstringnull`, Dict - Parameters ---------- @@ -41032,16 +36287,16 @@ class ShapeDatum( Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - condition : :class:`ConditionalParameterValueDefstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringnullExprRef`, Sequence[:class:`ConditionalParameterValueDefstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringnullExprRef`] + condition : dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -41142,30 +36397,9 @@ def bandPosition(self, _: float, **kwds) -> "ShapeDatum": @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[None, Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "ShapeDatum": @@ -41175,9 +36409,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[None, Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "ShapeDatum": @@ -41214,30 +36448,14 @@ def __init__( datum, bandPosition: Union[float, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefstringnullExprRef, dict], - Union[core.ConditionalPredicateValueDefstringnullExprRef, dict], - core.ConditionalValueDefstringnullExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterValueDefstringnullExprRef, dict], - Union[core.ConditionalPredicateValueDefstringnullExprRef, dict], - core.ConditionalValueDefstringnullExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -41259,14 +36477,12 @@ class ShapeValue( ): """ShapeValue schema wrapper - :class:`ValueDefWithConditionMarkPropFieldOrDatumDefTypeForShapestringnull`, Dict - Parameters ---------- - condition : :class:`ConditionalMarkPropFieldOrDatumDefTypeForShape`, :class:`ConditionalParameterMarkPropFieldOrDatumDefTypeForShape`, Dict[required=[param]], :class:`ConditionalPredicateMarkPropFieldOrDatumDefTypeForShape`, Dict[required=[test]], :class:`ConditionalParameterValueDefstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringnullExprRef`, Sequence[:class:`ConditionalParameterValueDefstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringnullExprRef`] + condition : dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, :class:`ConditionalMarkPropFieldOrDatumDefTypeForShape`, :class:`ConditionalParameterMarkPropFieldOrDatumDefTypeForShape`, :class:`ConditionalPredicateMarkPropFieldOrDatumDefTypeForShape`, Sequence[dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : :class:`ExprRef`, Dict[required=[expr]], None, str + value : str, dict, None, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -41279,281 +36495,208 @@ class ShapeValue( def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, - ], - UndefinedType, - ] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", + ], + UndefinedType, + ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[Literal["nominal", "ordinal", "geojson"], core.TypeForShape], - UndefinedType, + core.SchemaBase, Literal["nominal", "ordinal", "geojson"], UndefinedType ] = Undefined, **kwds, ) -> "ShapeValue": @@ -41564,46 +36707,24 @@ def condition( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union[None, bool, core.PrimitiveValue, float, str], - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.RepeatRef, dict], - ], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, + UndefinedType, + ] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -41614,261 +36735,209 @@ def condition( def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[Literal["nominal", "ordinal", "geojson"], core.TypeForShape], - UndefinedType, + core.SchemaBase, Literal["nominal", "ordinal", "geojson"], UndefinedType ] = Undefined, **kwds, ) -> "ShapeValue": @@ -41879,26 +36948,25 @@ def condition( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union[None, bool, core.PrimitiveValue, float, str], - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.RepeatRef, dict], - ], + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, UndefinedType, ] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -41908,30 +36976,9 @@ def condition( @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[None, Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "ShapeValue": @@ -41941,9 +36988,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[None, Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "ShapeValue": @@ -41959,32 +37006,7 @@ def __init__( self, value, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefstringnullExprRef, dict], - Union[core.ConditionalPredicateValueDefstringnullExprRef, dict], - core.ConditionalValueDefstringnullExprRef, - ] - ], - Union[ - Union[ - core.ConditionalParameterMarkPropFieldOrDatumDefTypeForShape, - dict, - ], - Union[ - core.ConditionalPredicateMarkPropFieldOrDatumDefTypeForShape, - dict, - ], - core.ConditionalMarkPropFieldOrDatumDefTypeForShape, - ], - Union[ - Union[core.ConditionalParameterValueDefstringnullExprRef, dict], - Union[core.ConditionalPredicateValueDefstringnullExprRef, dict], - core.ConditionalValueDefstringnullExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, **kwds, ): @@ -41995,14 +37017,12 @@ def __init__( class Size(FieldChannelMixin, core.FieldOrDatumDefWithConditionMarkPropFieldDefnumber): """Size schema wrapper - :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -42014,7 +37034,7 @@ class Size(FieldChannelMixin, core.FieldOrDatumDefWithConditionMarkPropFieldDefn Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool + bin : bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -42035,14 +37055,14 @@ class Size(FieldChannelMixin, core.FieldOrDatumDefWithConditionMarkPropFieldDefn **See also:** `bin `__ documentation. - condition : :class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`, Sequence[:class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`] + condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -42057,7 +37077,7 @@ class Size(FieldChannelMixin, core.FieldOrDatumDefWithConditionMarkPropFieldDefn about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - legend : :class:`Legend`, Dict, None + legend : dict, None, :class:`Legend` An object defining properties of the legend. If ``null``, the legend for the encoding channel will be removed. @@ -42066,7 +37086,7 @@ class Size(FieldChannelMixin, core.FieldOrDatumDefWithConditionMarkPropFieldDefn **See also:** `legend `__ documentation. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -42079,7 +37099,7 @@ class Size(FieldChannelMixin, core.FieldOrDatumDefWithConditionMarkPropFieldDefn **See also:** `scale `__ documentation. - sort : :class:`AllSortString`, :class:`SortByChannelDesc`, Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'], :class:`SortByChannel`, Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], :class:`SortOrder`, Literal['ascending', 'descending'], :class:`EncodingSortField`, Dict, :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str], :class:`SortByEncoding`, Dict[required=[encoding]], :class:`Sort`, None + sort : dict, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'], Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -42118,7 +37138,7 @@ class Size(FieldChannelMixin, core.FieldOrDatumDefWithConditionMarkPropFieldDefn **See also:** `sort `__ documentation. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -42127,7 +37147,7 @@ class Size(FieldChannelMixin, core.FieldOrDatumDefWithConditionMarkPropFieldDefn **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -42253,17 +37273,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Size": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Size": ... @@ -42283,12 +37299,7 @@ def bin( binned: Union[bool, UndefinedType] = Undefined, divide: Union[Sequence[float], UndefinedType] = Undefined, extent: Union[ - Union[ - Sequence[float], - Union[core.ParameterExtent, core._Parameter, dict], - core.BinExtent, - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, maxbins: Union[float, UndefinedType] = Undefined, minstep: Union[float, UndefinedType] = Undefined, @@ -42306,30 +37317,9 @@ def bin(self, _: None, **kwds) -> "Size": @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Size": @@ -42339,9 +37329,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Size": @@ -42371,1472 +37361,1374 @@ def field( def legend( self, aria: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, clipHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, columnPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, columns: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, description: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, direction: Union[ - Union[Literal["horizontal", "vertical"], core.Orientation], UndefinedType + core.SchemaBase, Literal["horizontal", "vertical"], UndefinedType ] = Undefined, fillColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, - ] = Undefined, - format: Union[Union[Union[core.Dict, dict], str], UndefinedType] = Undefined, + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", + ], + UndefinedType, + ] = Undefined, + format: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, gradientLength: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientStrokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, gradientStrokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientThickness: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gridAlign: Union[ - Union[ - Union[Literal["all", "each", "none"], core.LayoutAlign], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["all", "each", "none"], UndefinedType, ] = Undefined, labelAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, labelBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, labelColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, labelExpr: Union[str, UndefinedType] = Undefined, labelFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, labelLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOverlap: Union[ - Union[ - Union[bool, core.LabelOverlap, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelSeparation: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, legendX: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, legendY: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, orient: Union[ - Union[ - Literal[ - "none", - "left", - "right", - "top", - "bottom", - "top-left", - "top-right", - "bottom-left", - "bottom-right", - ], - core.LegendOrient, + core.SchemaBase, + Literal[ + "none", + "left", + "right", + "top", + "bottom", + "top-left", + "top-right", + "bottom-left", + "bottom-right", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rowPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolDash: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, symbolDashOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolFillColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolStrokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolStrokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolType: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.SymbolShape, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickCount: Union[ - Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.TimeIntervalStep, dict], - core.TickCount, - float, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, tickMinStep: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, titleAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, titleAnchor: Union[ - Union[ - Union[Literal[None, "start", "middle", "end"], core.TitleAnchor], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal[None, "start", "middle", "end"], UndefinedType, ] = Undefined, titleBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, titleColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, titleFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, titleLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleLineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleOrient: Union[ - Union[ - Union[Literal["left", "right", "top", "bottom"], core.Orient], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "right", "top", "bottom"], UndefinedType, ] = Undefined, titlePadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, type: Union[Literal["symbol", "gradient"], UndefinedType] = Undefined, values: Union[ - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + Sequence[str], + Sequence[bool], + core._Parameter, + core.SchemaBase, + Sequence[float], + Sequence[Union[dict, core.SchemaBase]], UndefinedType, ] = Undefined, zindex: Union[float, UndefinedType] = Undefined, @@ -43852,542 +38744,487 @@ def legend(self, _: None, **kwds) -> "Size": def scale( self, align: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, base: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - bins: Union[ - Union[Sequence[float], Union[core.ScaleBinParams, dict], core.ScaleBins], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + bins: Union[dict, core.SchemaBase, Sequence[float], UndefinedType] = Undefined, clamp: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, constant: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domain: Union[ - Union[ - Sequence[ - Union[ - None, - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - bool, - float, - str, - ] - ], - Union[core.DomainUnionWith, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ParameterExtent, core._Parameter, dict], - str, + str, + dict, + core._Parameter, + core.SchemaBase, + Sequence[ + Union[str, bool, dict, None, float, core._Parameter, core.SchemaBase] ], UndefinedType, ] = Undefined, domainMax: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMid: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMin: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainRaw: Union[ - Union[core.ExprRef, core._Parameter, dict], UndefinedType + dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, exponent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "rgb", - "lab", - "hcl", - "hsl", - "hsl-long", - "hcl-long", - "cubehelix", - "cubehelix-long", - ], - core.ScaleInterpolateEnum, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ScaleInterpolateParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "rgb", + "lab", + "hcl", + "hsl", + "hsl-long", + "hcl-long", + "cubehelix", + "cubehelix-long", ], UndefinedType, ] = Undefined, nice: Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.TimeIntervalStep, dict], - bool, - float, + bool, + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingInner: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingOuter: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, range: Union[ - Union[ - Sequence[ - Union[ - Sequence[float], - Union[core.ExprRef, core._Parameter, dict], - float, - str, - ] - ], + dict, + core.SchemaBase, + Sequence[ Union[ - Literal[ - "width", - "height", - "symbol", - "category", - "ordinal", - "ramp", - "diverging", - "heatmap", - ], - core.RangeEnum, - ], - Union[core.FieldRange, dict], + str, dict, float, core._Parameter, core.SchemaBase, Sequence[float] + ] + ], + Literal[ + "width", + "height", + "symbol", + "category", + "ordinal", + "ramp", + "diverging", + "heatmap", ], UndefinedType, ] = Undefined, rangeMax: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rangeMin: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, reverse: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, round: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, scheme: Union[ - Union[ - Union[ - Union[ - Literal[ - "accent", - "category10", - "category20", - "category20b", - "category20c", - "dark2", - "paired", - "pastel1", - "pastel2", - "set1", - "set2", - "set3", - "tableau10", - "tableau20", - ], - core.Categorical, - ], - Union[ - Literal[ - "blueorange", - "blueorange-3", - "blueorange-4", - "blueorange-5", - "blueorange-6", - "blueorange-7", - "blueorange-8", - "blueorange-9", - "blueorange-10", - "blueorange-11", - "brownbluegreen", - "brownbluegreen-3", - "brownbluegreen-4", - "brownbluegreen-5", - "brownbluegreen-6", - "brownbluegreen-7", - "brownbluegreen-8", - "brownbluegreen-9", - "brownbluegreen-10", - "brownbluegreen-11", - "purplegreen", - "purplegreen-3", - "purplegreen-4", - "purplegreen-5", - "purplegreen-6", - "purplegreen-7", - "purplegreen-8", - "purplegreen-9", - "purplegreen-10", - "purplegreen-11", - "pinkyellowgreen", - "pinkyellowgreen-3", - "pinkyellowgreen-4", - "pinkyellowgreen-5", - "pinkyellowgreen-6", - "pinkyellowgreen-7", - "pinkyellowgreen-8", - "pinkyellowgreen-9", - "pinkyellowgreen-10", - "pinkyellowgreen-11", - "purpleorange", - "purpleorange-3", - "purpleorange-4", - "purpleorange-5", - "purpleorange-6", - "purpleorange-7", - "purpleorange-8", - "purpleorange-9", - "purpleorange-10", - "purpleorange-11", - "redblue", - "redblue-3", - "redblue-4", - "redblue-5", - "redblue-6", - "redblue-7", - "redblue-8", - "redblue-9", - "redblue-10", - "redblue-11", - "redgrey", - "redgrey-3", - "redgrey-4", - "redgrey-5", - "redgrey-6", - "redgrey-7", - "redgrey-8", - "redgrey-9", - "redgrey-10", - "redgrey-11", - "redyellowblue", - "redyellowblue-3", - "redyellowblue-4", - "redyellowblue-5", - "redyellowblue-6", - "redyellowblue-7", - "redyellowblue-8", - "redyellowblue-9", - "redyellowblue-10", - "redyellowblue-11", - "redyellowgreen", - "redyellowgreen-3", - "redyellowgreen-4", - "redyellowgreen-5", - "redyellowgreen-6", - "redyellowgreen-7", - "redyellowgreen-8", - "redyellowgreen-9", - "redyellowgreen-10", - "redyellowgreen-11", - "spectral", - "spectral-3", - "spectral-4", - "spectral-5", - "spectral-6", - "spectral-7", - "spectral-8", - "spectral-9", - "spectral-10", - "spectral-11", - ], - core.Diverging, - ], - Union[ - Literal[ - "blues", - "tealblues", - "teals", - "greens", - "browns", - "greys", - "purples", - "warmgreys", - "reds", - "oranges", - ], - core.SequentialSingleHue, - ], - Union[Literal["rainbow", "sinebow"], core.Cyclical], - Union[ - Literal[ - "turbo", - "viridis", - "inferno", - "magma", - "plasma", - "cividis", - "bluegreen", - "bluegreen-3", - "bluegreen-4", - "bluegreen-5", - "bluegreen-6", - "bluegreen-7", - "bluegreen-8", - "bluegreen-9", - "bluepurple", - "bluepurple-3", - "bluepurple-4", - "bluepurple-5", - "bluepurple-6", - "bluepurple-7", - "bluepurple-8", - "bluepurple-9", - "goldgreen", - "goldgreen-3", - "goldgreen-4", - "goldgreen-5", - "goldgreen-6", - "goldgreen-7", - "goldgreen-8", - "goldgreen-9", - "goldorange", - "goldorange-3", - "goldorange-4", - "goldorange-5", - "goldorange-6", - "goldorange-7", - "goldorange-8", - "goldorange-9", - "goldred", - "goldred-3", - "goldred-4", - "goldred-5", - "goldred-6", - "goldred-7", - "goldred-8", - "goldred-9", - "greenblue", - "greenblue-3", - "greenblue-4", - "greenblue-5", - "greenblue-6", - "greenblue-7", - "greenblue-8", - "greenblue-9", - "orangered", - "orangered-3", - "orangered-4", - "orangered-5", - "orangered-6", - "orangered-7", - "orangered-8", - "orangered-9", - "purplebluegreen", - "purplebluegreen-3", - "purplebluegreen-4", - "purplebluegreen-5", - "purplebluegreen-6", - "purplebluegreen-7", - "purplebluegreen-8", - "purplebluegreen-9", - "purpleblue", - "purpleblue-3", - "purpleblue-4", - "purpleblue-5", - "purpleblue-6", - "purpleblue-7", - "purpleblue-8", - "purpleblue-9", - "purplered", - "purplered-3", - "purplered-4", - "purplered-5", - "purplered-6", - "purplered-7", - "purplered-8", - "purplered-9", - "redpurple", - "redpurple-3", - "redpurple-4", - "redpurple-5", - "redpurple-6", - "redpurple-7", - "redpurple-8", - "redpurple-9", - "yellowgreenblue", - "yellowgreenblue-3", - "yellowgreenblue-4", - "yellowgreenblue-5", - "yellowgreenblue-6", - "yellowgreenblue-7", - "yellowgreenblue-8", - "yellowgreenblue-9", - "yellowgreen", - "yellowgreen-3", - "yellowgreen-4", - "yellowgreen-5", - "yellowgreen-6", - "yellowgreen-7", - "yellowgreen-8", - "yellowgreen-9", - "yelloworangebrown", - "yelloworangebrown-3", - "yelloworangebrown-4", - "yelloworangebrown-5", - "yelloworangebrown-6", - "yelloworangebrown-7", - "yelloworangebrown-8", - "yelloworangebrown-9", - "yelloworangered", - "yelloworangered-3", - "yelloworangered-4", - "yelloworangered-5", - "yelloworangered-6", - "yelloworangered-7", - "yelloworangered-8", - "yelloworangered-9", - "darkblue", - "darkblue-3", - "darkblue-4", - "darkblue-5", - "darkblue-6", - "darkblue-7", - "darkblue-8", - "darkblue-9", - "darkgold", - "darkgold-3", - "darkgold-4", - "darkgold-5", - "darkgold-6", - "darkgold-7", - "darkgold-8", - "darkgold-9", - "darkgreen", - "darkgreen-3", - "darkgreen-4", - "darkgreen-5", - "darkgreen-6", - "darkgreen-7", - "darkgreen-8", - "darkgreen-9", - "darkmulti", - "darkmulti-3", - "darkmulti-4", - "darkmulti-5", - "darkmulti-6", - "darkmulti-7", - "darkmulti-8", - "darkmulti-9", - "darkred", - "darkred-3", - "darkred-4", - "darkred-5", - "darkred-6", - "darkred-7", - "darkred-8", - "darkred-9", - "lightgreyred", - "lightgreyred-3", - "lightgreyred-4", - "lightgreyred-5", - "lightgreyred-6", - "lightgreyred-7", - "lightgreyred-8", - "lightgreyred-9", - "lightgreyteal", - "lightgreyteal-3", - "lightgreyteal-4", - "lightgreyteal-5", - "lightgreyteal-6", - "lightgreyteal-7", - "lightgreyteal-8", - "lightgreyteal-9", - "lightmulti", - "lightmulti-3", - "lightmulti-4", - "lightmulti-5", - "lightmulti-6", - "lightmulti-7", - "lightmulti-8", - "lightmulti-9", - "lightorange", - "lightorange-3", - "lightorange-4", - "lightorange-5", - "lightorange-6", - "lightorange-7", - "lightorange-8", - "lightorange-9", - "lighttealblue", - "lighttealblue-3", - "lighttealblue-4", - "lighttealblue-5", - "lighttealblue-6", - "lighttealblue-7", - "lighttealblue-8", - "lighttealblue-9", - ], - core.SequentialMultiHue, - ], - core.ColorScheme, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.SchemeParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal["rainbow", "sinebow"], + Literal[ + "blues", + "tealblues", + "teals", + "greens", + "browns", + "greys", + "purples", + "warmgreys", + "reds", + "oranges", + ], + Literal[ + "accent", + "category10", + "category20", + "category20b", + "category20c", + "dark2", + "paired", + "pastel1", + "pastel2", + "set1", + "set2", + "set3", + "tableau10", + "tableau20", + ], + Literal[ + "blueorange", + "blueorange-3", + "blueorange-4", + "blueorange-5", + "blueorange-6", + "blueorange-7", + "blueorange-8", + "blueorange-9", + "blueorange-10", + "blueorange-11", + "brownbluegreen", + "brownbluegreen-3", + "brownbluegreen-4", + "brownbluegreen-5", + "brownbluegreen-6", + "brownbluegreen-7", + "brownbluegreen-8", + "brownbluegreen-9", + "brownbluegreen-10", + "brownbluegreen-11", + "purplegreen", + "purplegreen-3", + "purplegreen-4", + "purplegreen-5", + "purplegreen-6", + "purplegreen-7", + "purplegreen-8", + "purplegreen-9", + "purplegreen-10", + "purplegreen-11", + "pinkyellowgreen", + "pinkyellowgreen-3", + "pinkyellowgreen-4", + "pinkyellowgreen-5", + "pinkyellowgreen-6", + "pinkyellowgreen-7", + "pinkyellowgreen-8", + "pinkyellowgreen-9", + "pinkyellowgreen-10", + "pinkyellowgreen-11", + "purpleorange", + "purpleorange-3", + "purpleorange-4", + "purpleorange-5", + "purpleorange-6", + "purpleorange-7", + "purpleorange-8", + "purpleorange-9", + "purpleorange-10", + "purpleorange-11", + "redblue", + "redblue-3", + "redblue-4", + "redblue-5", + "redblue-6", + "redblue-7", + "redblue-8", + "redblue-9", + "redblue-10", + "redblue-11", + "redgrey", + "redgrey-3", + "redgrey-4", + "redgrey-5", + "redgrey-6", + "redgrey-7", + "redgrey-8", + "redgrey-9", + "redgrey-10", + "redgrey-11", + "redyellowblue", + "redyellowblue-3", + "redyellowblue-4", + "redyellowblue-5", + "redyellowblue-6", + "redyellowblue-7", + "redyellowblue-8", + "redyellowblue-9", + "redyellowblue-10", + "redyellowblue-11", + "redyellowgreen", + "redyellowgreen-3", + "redyellowgreen-4", + "redyellowgreen-5", + "redyellowgreen-6", + "redyellowgreen-7", + "redyellowgreen-8", + "redyellowgreen-9", + "redyellowgreen-10", + "redyellowgreen-11", + "spectral", + "spectral-3", + "spectral-4", + "spectral-5", + "spectral-6", + "spectral-7", + "spectral-8", + "spectral-9", + "spectral-10", + "spectral-11", + ], + Literal[ + "turbo", + "viridis", + "inferno", + "magma", + "plasma", + "cividis", + "bluegreen", + "bluegreen-3", + "bluegreen-4", + "bluegreen-5", + "bluegreen-6", + "bluegreen-7", + "bluegreen-8", + "bluegreen-9", + "bluepurple", + "bluepurple-3", + "bluepurple-4", + "bluepurple-5", + "bluepurple-6", + "bluepurple-7", + "bluepurple-8", + "bluepurple-9", + "goldgreen", + "goldgreen-3", + "goldgreen-4", + "goldgreen-5", + "goldgreen-6", + "goldgreen-7", + "goldgreen-8", + "goldgreen-9", + "goldorange", + "goldorange-3", + "goldorange-4", + "goldorange-5", + "goldorange-6", + "goldorange-7", + "goldorange-8", + "goldorange-9", + "goldred", + "goldred-3", + "goldred-4", + "goldred-5", + "goldred-6", + "goldred-7", + "goldred-8", + "goldred-9", + "greenblue", + "greenblue-3", + "greenblue-4", + "greenblue-5", + "greenblue-6", + "greenblue-7", + "greenblue-8", + "greenblue-9", + "orangered", + "orangered-3", + "orangered-4", + "orangered-5", + "orangered-6", + "orangered-7", + "orangered-8", + "orangered-9", + "purplebluegreen", + "purplebluegreen-3", + "purplebluegreen-4", + "purplebluegreen-5", + "purplebluegreen-6", + "purplebluegreen-7", + "purplebluegreen-8", + "purplebluegreen-9", + "purpleblue", + "purpleblue-3", + "purpleblue-4", + "purpleblue-5", + "purpleblue-6", + "purpleblue-7", + "purpleblue-8", + "purpleblue-9", + "purplered", + "purplered-3", + "purplered-4", + "purplered-5", + "purplered-6", + "purplered-7", + "purplered-8", + "purplered-9", + "redpurple", + "redpurple-3", + "redpurple-4", + "redpurple-5", + "redpurple-6", + "redpurple-7", + "redpurple-8", + "redpurple-9", + "yellowgreenblue", + "yellowgreenblue-3", + "yellowgreenblue-4", + "yellowgreenblue-5", + "yellowgreenblue-6", + "yellowgreenblue-7", + "yellowgreenblue-8", + "yellowgreenblue-9", + "yellowgreen", + "yellowgreen-3", + "yellowgreen-4", + "yellowgreen-5", + "yellowgreen-6", + "yellowgreen-7", + "yellowgreen-8", + "yellowgreen-9", + "yelloworangebrown", + "yelloworangebrown-3", + "yelloworangebrown-4", + "yelloworangebrown-5", + "yelloworangebrown-6", + "yelloworangebrown-7", + "yelloworangebrown-8", + "yelloworangebrown-9", + "yelloworangered", + "yelloworangered-3", + "yelloworangered-4", + "yelloworangered-5", + "yelloworangered-6", + "yelloworangered-7", + "yelloworangered-8", + "yelloworangered-9", + "darkblue", + "darkblue-3", + "darkblue-4", + "darkblue-5", + "darkblue-6", + "darkblue-7", + "darkblue-8", + "darkblue-9", + "darkgold", + "darkgold-3", + "darkgold-4", + "darkgold-5", + "darkgold-6", + "darkgold-7", + "darkgold-8", + "darkgold-9", + "darkgreen", + "darkgreen-3", + "darkgreen-4", + "darkgreen-5", + "darkgreen-6", + "darkgreen-7", + "darkgreen-8", + "darkgreen-9", + "darkmulti", + "darkmulti-3", + "darkmulti-4", + "darkmulti-5", + "darkmulti-6", + "darkmulti-7", + "darkmulti-8", + "darkmulti-9", + "darkred", + "darkred-3", + "darkred-4", + "darkred-5", + "darkred-6", + "darkred-7", + "darkred-8", + "darkred-9", + "lightgreyred", + "lightgreyred-3", + "lightgreyred-4", + "lightgreyred-5", + "lightgreyred-6", + "lightgreyred-7", + "lightgreyred-8", + "lightgreyred-9", + "lightgreyteal", + "lightgreyteal-3", + "lightgreyteal-4", + "lightgreyteal-5", + "lightgreyteal-6", + "lightgreyteal-7", + "lightgreyteal-8", + "lightgreyteal-9", + "lightmulti", + "lightmulti-3", + "lightmulti-4", + "lightmulti-5", + "lightmulti-6", + "lightmulti-7", + "lightmulti-8", + "lightmulti-9", + "lightorange", + "lightorange-3", + "lightorange-4", + "lightorange-5", + "lightorange-6", + "lightorange-7", + "lightorange-8", + "lightorange-9", + "lighttealblue", + "lighttealblue-3", + "lighttealblue-4", + "lighttealblue-5", + "lighttealblue-6", + "lighttealblue-7", + "lighttealblue-8", + "lighttealblue-9", ], UndefinedType, ] = Undefined, type: Union[ - Union[ - Literal[ - "linear", - "log", - "pow", - "sqrt", - "symlog", - "identity", - "sequential", - "time", - "utc", - "quantile", - "quantize", - "threshold", - "bin-ordinal", - "ordinal", - "point", - "band", - ], - core.ScaleType, + core.SchemaBase, + Literal[ + "linear", + "log", + "pow", + "sqrt", + "symlog", + "identity", + "sequential", + "time", + "utc", + "quantile", + "quantize", + "threshold", + "bin-ordinal", + "ordinal", + "point", + "band", ], UndefinedType, ] = Undefined, zero: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Size": @@ -44462,42 +39299,36 @@ def sort( @overload def sort( self, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, op: Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "Size": @@ -44507,28 +39338,25 @@ def sort( def sort( self, encoding: Union[ - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, + core.SchemaBase, + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "Size": @@ -44707,114 +39535,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -44844,281 +39652,214 @@ def type( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ], - ], - UndefinedType, - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -45144,8 +39885,6 @@ def __init__( class SizeDatum(DatumChannelMixin, core.FieldOrDatumDefWithConditionDatumDefnumber): """SizeDatum schema wrapper - :class:`FieldOrDatumDefWithConditionDatumDefnumber`, Dict - Parameters ---------- @@ -45153,16 +39892,16 @@ class SizeDatum(DatumChannelMixin, core.FieldOrDatumDefWithConditionDatumDefnumb Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - condition : :class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`, Sequence[:class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`] + condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -45263,30 +40002,9 @@ def bandPosition(self, _: float, **kwds) -> "SizeDatum": @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "SizeDatum": @@ -45296,9 +40014,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "SizeDatum": @@ -45335,30 +40053,14 @@ def __init__( datum, bandPosition: Union[float, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -45379,14 +40081,12 @@ class SizeValue( ): """SizeValue schema wrapper - :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber`, Dict - Parameters ---------- - condition : :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, Dict[required=[param]], :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Dict[required=[test]], :class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`, Sequence[:class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`] + condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : :class:`ExprRef`, Dict[required=[expr]], float + value : dict, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -45399,283 +40099,209 @@ class SizeValue( def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, - ], - UndefinedType, - ] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", + ], + UndefinedType, + ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -45687,46 +40313,24 @@ def condition( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union[None, bool, core.PrimitiveValue, float, str], - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.RepeatRef, dict], - ], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, + UndefinedType, + ] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -45737,263 +40341,210 @@ def condition( def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -46005,26 +40556,25 @@ def condition( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union[None, bool, core.PrimitiveValue, float, str], - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.RepeatRef, dict], - ], + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, UndefinedType, ] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -46034,30 +40584,9 @@ def condition( @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "SizeValue": @@ -46067,9 +40596,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "SizeValue": @@ -46085,26 +40614,7 @@ def __init__( self, value, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterMarkPropFieldOrDatumDef, dict], - Union[core.ConditionalPredicateMarkPropFieldOrDatumDef, dict], - core.ConditionalMarkPropFieldOrDatumDef, - ], - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, **kwds, ): @@ -46118,15 +40628,12 @@ class Stroke( ): """Stroke schema wrapper - :class:`FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull`, - Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -46138,7 +40645,7 @@ class Stroke( Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool + bin : bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -46159,14 +40666,14 @@ class Stroke( **See also:** `bin `__ documentation. - condition : :class:`ConditionalParameterValueDefGradientstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefGradientstringnullExprRef`, Sequence[:class:`ConditionalParameterValueDefGradientstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefGradientstringnullExprRef`] + condition : dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -46181,7 +40688,7 @@ class Stroke( about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - legend : :class:`Legend`, Dict, None + legend : dict, None, :class:`Legend` An object defining properties of the legend. If ``null``, the legend for the encoding channel will be removed. @@ -46190,7 +40697,7 @@ class Stroke( **See also:** `legend `__ documentation. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -46203,7 +40710,7 @@ class Stroke( **See also:** `scale `__ documentation. - sort : :class:`AllSortString`, :class:`SortByChannelDesc`, Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'], :class:`SortByChannel`, Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], :class:`SortOrder`, Literal['ascending', 'descending'], :class:`EncodingSortField`, Dict, :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str], :class:`SortByEncoding`, Dict[required=[encoding]], :class:`Sort`, None + sort : dict, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'], Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -46242,7 +40749,7 @@ class Stroke( **See also:** `sort `__ documentation. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -46251,7 +40758,7 @@ class Stroke( **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -46377,17 +40884,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Stroke": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Stroke": ... @@ -46407,12 +40910,7 @@ def bin( binned: Union[bool, UndefinedType] = Undefined, divide: Union[Sequence[float], UndefinedType] = Undefined, extent: Union[ - Union[ - Sequence[float], - Union[core.ParameterExtent, core._Parameter, dict], - core.BinExtent, - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, maxbins: Union[float, UndefinedType] = Undefined, minstep: Union[float, UndefinedType] = Undefined, @@ -46430,40 +40928,9 @@ def bin(self, _: None, **kwds) -> "Stroke": @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[ - None, - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], - str, - ], - UndefinedType, + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Stroke": @@ -46473,19 +40940,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[ - None, - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], - str, - ], - UndefinedType, + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Stroke": @@ -46515,1472 +40972,1374 @@ def field( def legend( self, aria: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, clipHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, columnPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, columns: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, description: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, direction: Union[ - Union[Literal["horizontal", "vertical"], core.Orientation], UndefinedType + core.SchemaBase, Literal["horizontal", "vertical"], UndefinedType ] = Undefined, fillColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, - ] = Undefined, - format: Union[Union[Union[core.Dict, dict], str], UndefinedType] = Undefined, + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", + ], + UndefinedType, + ] = Undefined, + format: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, gradientLength: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientStrokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, gradientStrokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientThickness: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gridAlign: Union[ - Union[ - Union[Literal["all", "each", "none"], core.LayoutAlign], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["all", "each", "none"], UndefinedType, ] = Undefined, labelAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, labelBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, labelColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, labelExpr: Union[str, UndefinedType] = Undefined, labelFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, labelLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOverlap: Union[ - Union[ - Union[bool, core.LabelOverlap, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelSeparation: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, legendX: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, legendY: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, orient: Union[ - Union[ - Literal[ - "none", - "left", - "right", - "top", - "bottom", - "top-left", - "top-right", - "bottom-left", - "bottom-right", - ], - core.LegendOrient, + core.SchemaBase, + Literal[ + "none", + "left", + "right", + "top", + "bottom", + "top-left", + "top-right", + "bottom-left", + "bottom-right", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rowPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolDash: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, symbolDashOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolFillColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolStrokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolStrokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolType: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.SymbolShape, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickCount: Union[ - Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.TimeIntervalStep, dict], - core.TickCount, - float, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, tickMinStep: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, titleAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, titleAnchor: Union[ - Union[ - Union[Literal[None, "start", "middle", "end"], core.TitleAnchor], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal[None, "start", "middle", "end"], UndefinedType, ] = Undefined, titleBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, titleColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, titleFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, titleLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleLineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleOrient: Union[ - Union[ - Union[Literal["left", "right", "top", "bottom"], core.Orient], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "right", "top", "bottom"], UndefinedType, ] = Undefined, titlePadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, type: Union[Literal["symbol", "gradient"], UndefinedType] = Undefined, values: Union[ - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + Sequence[str], + Sequence[bool], + core._Parameter, + core.SchemaBase, + Sequence[float], + Sequence[Union[dict, core.SchemaBase]], UndefinedType, ] = Undefined, zindex: Union[float, UndefinedType] = Undefined, @@ -47996,542 +42355,487 @@ def legend(self, _: None, **kwds) -> "Stroke": def scale( self, align: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, base: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - bins: Union[ - Union[Sequence[float], Union[core.ScaleBinParams, dict], core.ScaleBins], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + bins: Union[dict, core.SchemaBase, Sequence[float], UndefinedType] = Undefined, clamp: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, constant: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domain: Union[ - Union[ - Sequence[ - Union[ - None, - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - bool, - float, - str, - ] - ], - Union[core.DomainUnionWith, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ParameterExtent, core._Parameter, dict], - str, + str, + dict, + core._Parameter, + core.SchemaBase, + Sequence[ + Union[str, bool, dict, None, float, core._Parameter, core.SchemaBase] ], UndefinedType, ] = Undefined, domainMax: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMid: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMin: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainRaw: Union[ - Union[core.ExprRef, core._Parameter, dict], UndefinedType + dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, exponent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "rgb", - "lab", - "hcl", - "hsl", - "hsl-long", - "hcl-long", - "cubehelix", - "cubehelix-long", - ], - core.ScaleInterpolateEnum, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ScaleInterpolateParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "rgb", + "lab", + "hcl", + "hsl", + "hsl-long", + "hcl-long", + "cubehelix", + "cubehelix-long", ], UndefinedType, ] = Undefined, nice: Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.TimeIntervalStep, dict], - bool, - float, + bool, + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingInner: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingOuter: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, range: Union[ - Union[ - Sequence[ - Union[ - Sequence[float], - Union[core.ExprRef, core._Parameter, dict], - float, - str, - ] - ], + dict, + core.SchemaBase, + Sequence[ Union[ - Literal[ - "width", - "height", - "symbol", - "category", - "ordinal", - "ramp", - "diverging", - "heatmap", - ], - core.RangeEnum, - ], - Union[core.FieldRange, dict], + str, dict, float, core._Parameter, core.SchemaBase, Sequence[float] + ] + ], + Literal[ + "width", + "height", + "symbol", + "category", + "ordinal", + "ramp", + "diverging", + "heatmap", ], UndefinedType, ] = Undefined, rangeMax: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rangeMin: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, reverse: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, round: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, scheme: Union[ - Union[ - Union[ - Union[ - Literal[ - "accent", - "category10", - "category20", - "category20b", - "category20c", - "dark2", - "paired", - "pastel1", - "pastel2", - "set1", - "set2", - "set3", - "tableau10", - "tableau20", - ], - core.Categorical, - ], - Union[ - Literal[ - "blueorange", - "blueorange-3", - "blueorange-4", - "blueorange-5", - "blueorange-6", - "blueorange-7", - "blueorange-8", - "blueorange-9", - "blueorange-10", - "blueorange-11", - "brownbluegreen", - "brownbluegreen-3", - "brownbluegreen-4", - "brownbluegreen-5", - "brownbluegreen-6", - "brownbluegreen-7", - "brownbluegreen-8", - "brownbluegreen-9", - "brownbluegreen-10", - "brownbluegreen-11", - "purplegreen", - "purplegreen-3", - "purplegreen-4", - "purplegreen-5", - "purplegreen-6", - "purplegreen-7", - "purplegreen-8", - "purplegreen-9", - "purplegreen-10", - "purplegreen-11", - "pinkyellowgreen", - "pinkyellowgreen-3", - "pinkyellowgreen-4", - "pinkyellowgreen-5", - "pinkyellowgreen-6", - "pinkyellowgreen-7", - "pinkyellowgreen-8", - "pinkyellowgreen-9", - "pinkyellowgreen-10", - "pinkyellowgreen-11", - "purpleorange", - "purpleorange-3", - "purpleorange-4", - "purpleorange-5", - "purpleorange-6", - "purpleorange-7", - "purpleorange-8", - "purpleorange-9", - "purpleorange-10", - "purpleorange-11", - "redblue", - "redblue-3", - "redblue-4", - "redblue-5", - "redblue-6", - "redblue-7", - "redblue-8", - "redblue-9", - "redblue-10", - "redblue-11", - "redgrey", - "redgrey-3", - "redgrey-4", - "redgrey-5", - "redgrey-6", - "redgrey-7", - "redgrey-8", - "redgrey-9", - "redgrey-10", - "redgrey-11", - "redyellowblue", - "redyellowblue-3", - "redyellowblue-4", - "redyellowblue-5", - "redyellowblue-6", - "redyellowblue-7", - "redyellowblue-8", - "redyellowblue-9", - "redyellowblue-10", - "redyellowblue-11", - "redyellowgreen", - "redyellowgreen-3", - "redyellowgreen-4", - "redyellowgreen-5", - "redyellowgreen-6", - "redyellowgreen-7", - "redyellowgreen-8", - "redyellowgreen-9", - "redyellowgreen-10", - "redyellowgreen-11", - "spectral", - "spectral-3", - "spectral-4", - "spectral-5", - "spectral-6", - "spectral-7", - "spectral-8", - "spectral-9", - "spectral-10", - "spectral-11", - ], - core.Diverging, - ], - Union[ - Literal[ - "blues", - "tealblues", - "teals", - "greens", - "browns", - "greys", - "purples", - "warmgreys", - "reds", - "oranges", - ], - core.SequentialSingleHue, - ], - Union[Literal["rainbow", "sinebow"], core.Cyclical], - Union[ - Literal[ - "turbo", - "viridis", - "inferno", - "magma", - "plasma", - "cividis", - "bluegreen", - "bluegreen-3", - "bluegreen-4", - "bluegreen-5", - "bluegreen-6", - "bluegreen-7", - "bluegreen-8", - "bluegreen-9", - "bluepurple", - "bluepurple-3", - "bluepurple-4", - "bluepurple-5", - "bluepurple-6", - "bluepurple-7", - "bluepurple-8", - "bluepurple-9", - "goldgreen", - "goldgreen-3", - "goldgreen-4", - "goldgreen-5", - "goldgreen-6", - "goldgreen-7", - "goldgreen-8", - "goldgreen-9", - "goldorange", - "goldorange-3", - "goldorange-4", - "goldorange-5", - "goldorange-6", - "goldorange-7", - "goldorange-8", - "goldorange-9", - "goldred", - "goldred-3", - "goldred-4", - "goldred-5", - "goldred-6", - "goldred-7", - "goldred-8", - "goldred-9", - "greenblue", - "greenblue-3", - "greenblue-4", - "greenblue-5", - "greenblue-6", - "greenblue-7", - "greenblue-8", - "greenblue-9", - "orangered", - "orangered-3", - "orangered-4", - "orangered-5", - "orangered-6", - "orangered-7", - "orangered-8", - "orangered-9", - "purplebluegreen", - "purplebluegreen-3", - "purplebluegreen-4", - "purplebluegreen-5", - "purplebluegreen-6", - "purplebluegreen-7", - "purplebluegreen-8", - "purplebluegreen-9", - "purpleblue", - "purpleblue-3", - "purpleblue-4", - "purpleblue-5", - "purpleblue-6", - "purpleblue-7", - "purpleblue-8", - "purpleblue-9", - "purplered", - "purplered-3", - "purplered-4", - "purplered-5", - "purplered-6", - "purplered-7", - "purplered-8", - "purplered-9", - "redpurple", - "redpurple-3", - "redpurple-4", - "redpurple-5", - "redpurple-6", - "redpurple-7", - "redpurple-8", - "redpurple-9", - "yellowgreenblue", - "yellowgreenblue-3", - "yellowgreenblue-4", - "yellowgreenblue-5", - "yellowgreenblue-6", - "yellowgreenblue-7", - "yellowgreenblue-8", - "yellowgreenblue-9", - "yellowgreen", - "yellowgreen-3", - "yellowgreen-4", - "yellowgreen-5", - "yellowgreen-6", - "yellowgreen-7", - "yellowgreen-8", - "yellowgreen-9", - "yelloworangebrown", - "yelloworangebrown-3", - "yelloworangebrown-4", - "yelloworangebrown-5", - "yelloworangebrown-6", - "yelloworangebrown-7", - "yelloworangebrown-8", - "yelloworangebrown-9", - "yelloworangered", - "yelloworangered-3", - "yelloworangered-4", - "yelloworangered-5", - "yelloworangered-6", - "yelloworangered-7", - "yelloworangered-8", - "yelloworangered-9", - "darkblue", - "darkblue-3", - "darkblue-4", - "darkblue-5", - "darkblue-6", - "darkblue-7", - "darkblue-8", - "darkblue-9", - "darkgold", - "darkgold-3", - "darkgold-4", - "darkgold-5", - "darkgold-6", - "darkgold-7", - "darkgold-8", - "darkgold-9", - "darkgreen", - "darkgreen-3", - "darkgreen-4", - "darkgreen-5", - "darkgreen-6", - "darkgreen-7", - "darkgreen-8", - "darkgreen-9", - "darkmulti", - "darkmulti-3", - "darkmulti-4", - "darkmulti-5", - "darkmulti-6", - "darkmulti-7", - "darkmulti-8", - "darkmulti-9", - "darkred", - "darkred-3", - "darkred-4", - "darkred-5", - "darkred-6", - "darkred-7", - "darkred-8", - "darkred-9", - "lightgreyred", - "lightgreyred-3", - "lightgreyred-4", - "lightgreyred-5", - "lightgreyred-6", - "lightgreyred-7", - "lightgreyred-8", - "lightgreyred-9", - "lightgreyteal", - "lightgreyteal-3", - "lightgreyteal-4", - "lightgreyteal-5", - "lightgreyteal-6", - "lightgreyteal-7", - "lightgreyteal-8", - "lightgreyteal-9", - "lightmulti", - "lightmulti-3", - "lightmulti-4", - "lightmulti-5", - "lightmulti-6", - "lightmulti-7", - "lightmulti-8", - "lightmulti-9", - "lightorange", - "lightorange-3", - "lightorange-4", - "lightorange-5", - "lightorange-6", - "lightorange-7", - "lightorange-8", - "lightorange-9", - "lighttealblue", - "lighttealblue-3", - "lighttealblue-4", - "lighttealblue-5", - "lighttealblue-6", - "lighttealblue-7", - "lighttealblue-8", - "lighttealblue-9", - ], - core.SequentialMultiHue, - ], - core.ColorScheme, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.SchemeParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal["rainbow", "sinebow"], + Literal[ + "blues", + "tealblues", + "teals", + "greens", + "browns", + "greys", + "purples", + "warmgreys", + "reds", + "oranges", + ], + Literal[ + "accent", + "category10", + "category20", + "category20b", + "category20c", + "dark2", + "paired", + "pastel1", + "pastel2", + "set1", + "set2", + "set3", + "tableau10", + "tableau20", + ], + Literal[ + "blueorange", + "blueorange-3", + "blueorange-4", + "blueorange-5", + "blueorange-6", + "blueorange-7", + "blueorange-8", + "blueorange-9", + "blueorange-10", + "blueorange-11", + "brownbluegreen", + "brownbluegreen-3", + "brownbluegreen-4", + "brownbluegreen-5", + "brownbluegreen-6", + "brownbluegreen-7", + "brownbluegreen-8", + "brownbluegreen-9", + "brownbluegreen-10", + "brownbluegreen-11", + "purplegreen", + "purplegreen-3", + "purplegreen-4", + "purplegreen-5", + "purplegreen-6", + "purplegreen-7", + "purplegreen-8", + "purplegreen-9", + "purplegreen-10", + "purplegreen-11", + "pinkyellowgreen", + "pinkyellowgreen-3", + "pinkyellowgreen-4", + "pinkyellowgreen-5", + "pinkyellowgreen-6", + "pinkyellowgreen-7", + "pinkyellowgreen-8", + "pinkyellowgreen-9", + "pinkyellowgreen-10", + "pinkyellowgreen-11", + "purpleorange", + "purpleorange-3", + "purpleorange-4", + "purpleorange-5", + "purpleorange-6", + "purpleorange-7", + "purpleorange-8", + "purpleorange-9", + "purpleorange-10", + "purpleorange-11", + "redblue", + "redblue-3", + "redblue-4", + "redblue-5", + "redblue-6", + "redblue-7", + "redblue-8", + "redblue-9", + "redblue-10", + "redblue-11", + "redgrey", + "redgrey-3", + "redgrey-4", + "redgrey-5", + "redgrey-6", + "redgrey-7", + "redgrey-8", + "redgrey-9", + "redgrey-10", + "redgrey-11", + "redyellowblue", + "redyellowblue-3", + "redyellowblue-4", + "redyellowblue-5", + "redyellowblue-6", + "redyellowblue-7", + "redyellowblue-8", + "redyellowblue-9", + "redyellowblue-10", + "redyellowblue-11", + "redyellowgreen", + "redyellowgreen-3", + "redyellowgreen-4", + "redyellowgreen-5", + "redyellowgreen-6", + "redyellowgreen-7", + "redyellowgreen-8", + "redyellowgreen-9", + "redyellowgreen-10", + "redyellowgreen-11", + "spectral", + "spectral-3", + "spectral-4", + "spectral-5", + "spectral-6", + "spectral-7", + "spectral-8", + "spectral-9", + "spectral-10", + "spectral-11", + ], + Literal[ + "turbo", + "viridis", + "inferno", + "magma", + "plasma", + "cividis", + "bluegreen", + "bluegreen-3", + "bluegreen-4", + "bluegreen-5", + "bluegreen-6", + "bluegreen-7", + "bluegreen-8", + "bluegreen-9", + "bluepurple", + "bluepurple-3", + "bluepurple-4", + "bluepurple-5", + "bluepurple-6", + "bluepurple-7", + "bluepurple-8", + "bluepurple-9", + "goldgreen", + "goldgreen-3", + "goldgreen-4", + "goldgreen-5", + "goldgreen-6", + "goldgreen-7", + "goldgreen-8", + "goldgreen-9", + "goldorange", + "goldorange-3", + "goldorange-4", + "goldorange-5", + "goldorange-6", + "goldorange-7", + "goldorange-8", + "goldorange-9", + "goldred", + "goldred-3", + "goldred-4", + "goldred-5", + "goldred-6", + "goldred-7", + "goldred-8", + "goldred-9", + "greenblue", + "greenblue-3", + "greenblue-4", + "greenblue-5", + "greenblue-6", + "greenblue-7", + "greenblue-8", + "greenblue-9", + "orangered", + "orangered-3", + "orangered-4", + "orangered-5", + "orangered-6", + "orangered-7", + "orangered-8", + "orangered-9", + "purplebluegreen", + "purplebluegreen-3", + "purplebluegreen-4", + "purplebluegreen-5", + "purplebluegreen-6", + "purplebluegreen-7", + "purplebluegreen-8", + "purplebluegreen-9", + "purpleblue", + "purpleblue-3", + "purpleblue-4", + "purpleblue-5", + "purpleblue-6", + "purpleblue-7", + "purpleblue-8", + "purpleblue-9", + "purplered", + "purplered-3", + "purplered-4", + "purplered-5", + "purplered-6", + "purplered-7", + "purplered-8", + "purplered-9", + "redpurple", + "redpurple-3", + "redpurple-4", + "redpurple-5", + "redpurple-6", + "redpurple-7", + "redpurple-8", + "redpurple-9", + "yellowgreenblue", + "yellowgreenblue-3", + "yellowgreenblue-4", + "yellowgreenblue-5", + "yellowgreenblue-6", + "yellowgreenblue-7", + "yellowgreenblue-8", + "yellowgreenblue-9", + "yellowgreen", + "yellowgreen-3", + "yellowgreen-4", + "yellowgreen-5", + "yellowgreen-6", + "yellowgreen-7", + "yellowgreen-8", + "yellowgreen-9", + "yelloworangebrown", + "yelloworangebrown-3", + "yelloworangebrown-4", + "yelloworangebrown-5", + "yelloworangebrown-6", + "yelloworangebrown-7", + "yelloworangebrown-8", + "yelloworangebrown-9", + "yelloworangered", + "yelloworangered-3", + "yelloworangered-4", + "yelloworangered-5", + "yelloworangered-6", + "yelloworangered-7", + "yelloworangered-8", + "yelloworangered-9", + "darkblue", + "darkblue-3", + "darkblue-4", + "darkblue-5", + "darkblue-6", + "darkblue-7", + "darkblue-8", + "darkblue-9", + "darkgold", + "darkgold-3", + "darkgold-4", + "darkgold-5", + "darkgold-6", + "darkgold-7", + "darkgold-8", + "darkgold-9", + "darkgreen", + "darkgreen-3", + "darkgreen-4", + "darkgreen-5", + "darkgreen-6", + "darkgreen-7", + "darkgreen-8", + "darkgreen-9", + "darkmulti", + "darkmulti-3", + "darkmulti-4", + "darkmulti-5", + "darkmulti-6", + "darkmulti-7", + "darkmulti-8", + "darkmulti-9", + "darkred", + "darkred-3", + "darkred-4", + "darkred-5", + "darkred-6", + "darkred-7", + "darkred-8", + "darkred-9", + "lightgreyred", + "lightgreyred-3", + "lightgreyred-4", + "lightgreyred-5", + "lightgreyred-6", + "lightgreyred-7", + "lightgreyred-8", + "lightgreyred-9", + "lightgreyteal", + "lightgreyteal-3", + "lightgreyteal-4", + "lightgreyteal-5", + "lightgreyteal-6", + "lightgreyteal-7", + "lightgreyteal-8", + "lightgreyteal-9", + "lightmulti", + "lightmulti-3", + "lightmulti-4", + "lightmulti-5", + "lightmulti-6", + "lightmulti-7", + "lightmulti-8", + "lightmulti-9", + "lightorange", + "lightorange-3", + "lightorange-4", + "lightorange-5", + "lightorange-6", + "lightorange-7", + "lightorange-8", + "lightorange-9", + "lighttealblue", + "lighttealblue-3", + "lighttealblue-4", + "lighttealblue-5", + "lighttealblue-6", + "lighttealblue-7", + "lighttealblue-8", + "lighttealblue-9", ], UndefinedType, ] = Undefined, type: Union[ - Union[ - Literal[ - "linear", - "log", - "pow", - "sqrt", - "symlog", - "identity", - "sequential", - "time", - "utc", - "quantile", - "quantize", - "threshold", - "bin-ordinal", - "ordinal", - "point", - "band", - ], - core.ScaleType, + core.SchemaBase, + Literal[ + "linear", + "log", + "pow", + "sqrt", + "symlog", + "identity", + "sequential", + "time", + "utc", + "quantile", + "quantize", + "threshold", + "bin-ordinal", + "ordinal", + "point", + "band", ], UndefinedType, ] = Undefined, zero: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Stroke": @@ -48606,42 +42910,36 @@ def sort( @overload def sort( self, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, op: Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "Stroke": @@ -48651,28 +42949,25 @@ def sort( def sort( self, encoding: Union[ - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, + core.SchemaBase, + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "Stroke": @@ -48851,114 +43146,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -48988,291 +43263,214 @@ def type( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - Union[ - core.ConditionalParameterValueDefGradientstringnullExprRef, - dict, - ], - Union[ - core.ConditionalPredicateValueDefGradientstringnullExprRef, - dict, - ], - core.ConditionalValueDefGradientstringnullExprRef, - ] - ], - Union[ - Union[ - core.ConditionalParameterValueDefGradientstringnullExprRef, dict - ], - Union[ - core.ConditionalPredicateValueDefGradientstringnullExprRef, dict - ], - core.ConditionalValueDefGradientstringnullExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -49300,8 +43498,6 @@ class StrokeDatum( ): """StrokeDatum schema wrapper - :class:`FieldOrDatumDefWithConditionDatumDefGradientstringnull`, Dict - Parameters ---------- @@ -49309,16 +43505,16 @@ class StrokeDatum( Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - condition : :class:`ConditionalParameterValueDefGradientstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefGradientstringnullExprRef`, Sequence[:class:`ConditionalParameterValueDefGradientstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefGradientstringnullExprRef`] + condition : dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -49419,40 +43615,9 @@ def bandPosition(self, _: float, **kwds) -> "StrokeDatum": @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[ - None, - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], - str, - ], - UndefinedType, + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "StrokeDatum": @@ -49462,19 +43627,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[ - None, - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], - str, - ], - UndefinedType, + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "StrokeDatum": @@ -49511,40 +43666,14 @@ def __init__( datum, bandPosition: Union[float, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - Union[ - core.ConditionalParameterValueDefGradientstringnullExprRef, - dict, - ], - Union[ - core.ConditionalPredicateValueDefGradientstringnullExprRef, - dict, - ], - core.ConditionalValueDefGradientstringnullExprRef, - ] - ], - Union[ - Union[ - core.ConditionalParameterValueDefGradientstringnullExprRef, dict - ], - Union[ - core.ConditionalPredicateValueDefGradientstringnullExprRef, dict - ], - core.ConditionalValueDefGradientstringnullExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -49566,14 +43695,12 @@ class StrokeValue( ): """StrokeValue schema wrapper - :class:`ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull`, Dict - Parameters ---------- - condition : :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, Dict[required=[param]], :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Dict[required=[test]], :class:`ConditionalParameterValueDefGradientstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefGradientstringnullExprRef`, Sequence[:class:`ConditionalParameterValueDefGradientstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefGradientstringnullExprRef`] + condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]], None, str + value : str, dict, None, :class:`ExprRef`, :class:`Gradient`, :class:`LinearGradient`, :class:`RadialGradient` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -49586,283 +43713,209 @@ class StrokeValue( def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, - ], - UndefinedType, - ] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", + ], + UndefinedType, + ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -49874,46 +43927,24 @@ def condition( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union[None, bool, core.PrimitiveValue, float, str], - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.RepeatRef, dict], - ], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, + UndefinedType, + ] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -49924,263 +43955,210 @@ def condition( def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -50192,26 +44170,25 @@ def condition( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union[None, bool, core.PrimitiveValue, float, str], - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.RepeatRef, dict], - ], + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, UndefinedType, ] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -50221,40 +44198,9 @@ def condition( @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[ - None, - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], - str, - ], - UndefinedType, + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "StrokeValue": @@ -50264,19 +44210,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[ - None, - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], - str, - ], - UndefinedType, + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "StrokeValue": @@ -50292,36 +44228,7 @@ def __init__( self, value, condition: Union[ - Union[ - Sequence[ - Union[ - Union[ - core.ConditionalParameterValueDefGradientstringnullExprRef, - dict, - ], - Union[ - core.ConditionalPredicateValueDefGradientstringnullExprRef, - dict, - ], - core.ConditionalValueDefGradientstringnullExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterMarkPropFieldOrDatumDef, dict], - Union[core.ConditionalPredicateMarkPropFieldOrDatumDef, dict], - core.ConditionalMarkPropFieldOrDatumDef, - ], - Union[ - Union[ - core.ConditionalParameterValueDefGradientstringnullExprRef, dict - ], - Union[ - core.ConditionalPredicateValueDefGradientstringnullExprRef, dict - ], - core.ConditionalValueDefGradientstringnullExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, **kwds, ): @@ -50334,14 +44241,12 @@ class StrokeDash( ): """StrokeDash schema wrapper - :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -50353,7 +44258,7 @@ class StrokeDash( Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool + bin : bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -50374,14 +44279,14 @@ class StrokeDash( **See also:** `bin `__ documentation. - condition : :class:`ConditionalParameterValueDefnumberArrayExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberArrayExprRef`, Sequence[:class:`ConditionalParameterValueDefnumberArrayExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberArrayExprRef`] + condition : dict, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -50396,7 +44301,7 @@ class StrokeDash( about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - legend : :class:`Legend`, Dict, None + legend : dict, None, :class:`Legend` An object defining properties of the legend. If ``null``, the legend for the encoding channel will be removed. @@ -50405,7 +44310,7 @@ class StrokeDash( **See also:** `legend `__ documentation. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -50418,7 +44323,7 @@ class StrokeDash( **See also:** `scale `__ documentation. - sort : :class:`AllSortString`, :class:`SortByChannelDesc`, Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'], :class:`SortByChannel`, Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], :class:`SortOrder`, Literal['ascending', 'descending'], :class:`EncodingSortField`, Dict, :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str], :class:`SortByEncoding`, Dict[required=[encoding]], :class:`Sort`, None + sort : dict, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'], Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -50457,7 +44362,7 @@ class StrokeDash( **See also:** `sort `__ documentation. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -50466,7 +44371,7 @@ class StrokeDash( **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -50592,17 +44497,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "StrokeDash": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "StrokeDash": ... @@ -50622,12 +44523,7 @@ def bin( binned: Union[bool, UndefinedType] = Undefined, divide: Union[Sequence[float], UndefinedType] = Undefined, extent: Union[ - Union[ - Sequence[float], - Union[core.ParameterExtent, core._Parameter, dict], - core.BinExtent, - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, maxbins: Union[float, UndefinedType] = Undefined, minstep: Union[float, UndefinedType] = Undefined, @@ -50645,31 +44541,9 @@ def bin(self, _: None, **kwds) -> "StrokeDash": @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, **kwds, ) -> "StrokeDash": @@ -50679,10 +44553,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, **kwds, ) -> "StrokeDash": @@ -50712,1472 +44585,1374 @@ def field( def legend( self, aria: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, clipHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, columnPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, columns: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, description: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, direction: Union[ - Union[Literal["horizontal", "vertical"], core.Orientation], UndefinedType + core.SchemaBase, Literal["horizontal", "vertical"], UndefinedType ] = Undefined, fillColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, - ] = Undefined, - format: Union[Union[Union[core.Dict, dict], str], UndefinedType] = Undefined, + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", + ], + UndefinedType, + ] = Undefined, + format: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, gradientLength: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientStrokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, gradientStrokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientThickness: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gridAlign: Union[ - Union[ - Union[Literal["all", "each", "none"], core.LayoutAlign], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["all", "each", "none"], UndefinedType, ] = Undefined, labelAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, labelBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, labelColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, labelExpr: Union[str, UndefinedType] = Undefined, labelFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, labelLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOverlap: Union[ - Union[ - Union[bool, core.LabelOverlap, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelSeparation: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, legendX: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, legendY: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, orient: Union[ - Union[ - Literal[ - "none", - "left", - "right", - "top", - "bottom", - "top-left", - "top-right", - "bottom-left", - "bottom-right", - ], - core.LegendOrient, + core.SchemaBase, + Literal[ + "none", + "left", + "right", + "top", + "bottom", + "top-left", + "top-right", + "bottom-left", + "bottom-right", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rowPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolDash: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, symbolDashOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolFillColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolStrokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolStrokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolType: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.SymbolShape, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickCount: Union[ - Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.TimeIntervalStep, dict], - core.TickCount, - float, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, tickMinStep: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, titleAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, titleAnchor: Union[ - Union[ - Union[Literal[None, "start", "middle", "end"], core.TitleAnchor], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal[None, "start", "middle", "end"], UndefinedType, ] = Undefined, titleBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, titleColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, titleFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, titleLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleLineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleOrient: Union[ - Union[ - Union[Literal["left", "right", "top", "bottom"], core.Orient], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "right", "top", "bottom"], UndefinedType, ] = Undefined, titlePadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, type: Union[Literal["symbol", "gradient"], UndefinedType] = Undefined, values: Union[ - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + Sequence[str], + Sequence[bool], + core._Parameter, + core.SchemaBase, + Sequence[float], + Sequence[Union[dict, core.SchemaBase]], UndefinedType, ] = Undefined, zindex: Union[float, UndefinedType] = Undefined, @@ -52193,542 +45968,487 @@ def legend(self, _: None, **kwds) -> "StrokeDash": def scale( self, align: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, base: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - bins: Union[ - Union[Sequence[float], Union[core.ScaleBinParams, dict], core.ScaleBins], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + bins: Union[dict, core.SchemaBase, Sequence[float], UndefinedType] = Undefined, clamp: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, constant: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domain: Union[ - Union[ - Sequence[ - Union[ - None, - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - bool, - float, - str, - ] - ], - Union[core.DomainUnionWith, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ParameterExtent, core._Parameter, dict], - str, + str, + dict, + core._Parameter, + core.SchemaBase, + Sequence[ + Union[str, bool, dict, None, float, core._Parameter, core.SchemaBase] ], UndefinedType, ] = Undefined, domainMax: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMid: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMin: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainRaw: Union[ - Union[core.ExprRef, core._Parameter, dict], UndefinedType + dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, exponent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "rgb", - "lab", - "hcl", - "hsl", - "hsl-long", - "hcl-long", - "cubehelix", - "cubehelix-long", - ], - core.ScaleInterpolateEnum, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ScaleInterpolateParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "rgb", + "lab", + "hcl", + "hsl", + "hsl-long", + "hcl-long", + "cubehelix", + "cubehelix-long", ], UndefinedType, ] = Undefined, nice: Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.TimeIntervalStep, dict], - bool, - float, + bool, + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingInner: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingOuter: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, range: Union[ - Union[ - Sequence[ - Union[ - Sequence[float], - Union[core.ExprRef, core._Parameter, dict], - float, - str, - ] - ], + dict, + core.SchemaBase, + Sequence[ Union[ - Literal[ - "width", - "height", - "symbol", - "category", - "ordinal", - "ramp", - "diverging", - "heatmap", - ], - core.RangeEnum, - ], - Union[core.FieldRange, dict], + str, dict, float, core._Parameter, core.SchemaBase, Sequence[float] + ] + ], + Literal[ + "width", + "height", + "symbol", + "category", + "ordinal", + "ramp", + "diverging", + "heatmap", ], UndefinedType, ] = Undefined, rangeMax: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rangeMin: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, reverse: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, round: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, scheme: Union[ - Union[ - Union[ - Union[ - Literal[ - "accent", - "category10", - "category20", - "category20b", - "category20c", - "dark2", - "paired", - "pastel1", - "pastel2", - "set1", - "set2", - "set3", - "tableau10", - "tableau20", - ], - core.Categorical, - ], - Union[ - Literal[ - "blueorange", - "blueorange-3", - "blueorange-4", - "blueorange-5", - "blueorange-6", - "blueorange-7", - "blueorange-8", - "blueorange-9", - "blueorange-10", - "blueorange-11", - "brownbluegreen", - "brownbluegreen-3", - "brownbluegreen-4", - "brownbluegreen-5", - "brownbluegreen-6", - "brownbluegreen-7", - "brownbluegreen-8", - "brownbluegreen-9", - "brownbluegreen-10", - "brownbluegreen-11", - "purplegreen", - "purplegreen-3", - "purplegreen-4", - "purplegreen-5", - "purplegreen-6", - "purplegreen-7", - "purplegreen-8", - "purplegreen-9", - "purplegreen-10", - "purplegreen-11", - "pinkyellowgreen", - "pinkyellowgreen-3", - "pinkyellowgreen-4", - "pinkyellowgreen-5", - "pinkyellowgreen-6", - "pinkyellowgreen-7", - "pinkyellowgreen-8", - "pinkyellowgreen-9", - "pinkyellowgreen-10", - "pinkyellowgreen-11", - "purpleorange", - "purpleorange-3", - "purpleorange-4", - "purpleorange-5", - "purpleorange-6", - "purpleorange-7", - "purpleorange-8", - "purpleorange-9", - "purpleorange-10", - "purpleorange-11", - "redblue", - "redblue-3", - "redblue-4", - "redblue-5", - "redblue-6", - "redblue-7", - "redblue-8", - "redblue-9", - "redblue-10", - "redblue-11", - "redgrey", - "redgrey-3", - "redgrey-4", - "redgrey-5", - "redgrey-6", - "redgrey-7", - "redgrey-8", - "redgrey-9", - "redgrey-10", - "redgrey-11", - "redyellowblue", - "redyellowblue-3", - "redyellowblue-4", - "redyellowblue-5", - "redyellowblue-6", - "redyellowblue-7", - "redyellowblue-8", - "redyellowblue-9", - "redyellowblue-10", - "redyellowblue-11", - "redyellowgreen", - "redyellowgreen-3", - "redyellowgreen-4", - "redyellowgreen-5", - "redyellowgreen-6", - "redyellowgreen-7", - "redyellowgreen-8", - "redyellowgreen-9", - "redyellowgreen-10", - "redyellowgreen-11", - "spectral", - "spectral-3", - "spectral-4", - "spectral-5", - "spectral-6", - "spectral-7", - "spectral-8", - "spectral-9", - "spectral-10", - "spectral-11", - ], - core.Diverging, - ], - Union[ - Literal[ - "blues", - "tealblues", - "teals", - "greens", - "browns", - "greys", - "purples", - "warmgreys", - "reds", - "oranges", - ], - core.SequentialSingleHue, - ], - Union[Literal["rainbow", "sinebow"], core.Cyclical], - Union[ - Literal[ - "turbo", - "viridis", - "inferno", - "magma", - "plasma", - "cividis", - "bluegreen", - "bluegreen-3", - "bluegreen-4", - "bluegreen-5", - "bluegreen-6", - "bluegreen-7", - "bluegreen-8", - "bluegreen-9", - "bluepurple", - "bluepurple-3", - "bluepurple-4", - "bluepurple-5", - "bluepurple-6", - "bluepurple-7", - "bluepurple-8", - "bluepurple-9", - "goldgreen", - "goldgreen-3", - "goldgreen-4", - "goldgreen-5", - "goldgreen-6", - "goldgreen-7", - "goldgreen-8", - "goldgreen-9", - "goldorange", - "goldorange-3", - "goldorange-4", - "goldorange-5", - "goldorange-6", - "goldorange-7", - "goldorange-8", - "goldorange-9", - "goldred", - "goldred-3", - "goldred-4", - "goldred-5", - "goldred-6", - "goldred-7", - "goldred-8", - "goldred-9", - "greenblue", - "greenblue-3", - "greenblue-4", - "greenblue-5", - "greenblue-6", - "greenblue-7", - "greenblue-8", - "greenblue-9", - "orangered", - "orangered-3", - "orangered-4", - "orangered-5", - "orangered-6", - "orangered-7", - "orangered-8", - "orangered-9", - "purplebluegreen", - "purplebluegreen-3", - "purplebluegreen-4", - "purplebluegreen-5", - "purplebluegreen-6", - "purplebluegreen-7", - "purplebluegreen-8", - "purplebluegreen-9", - "purpleblue", - "purpleblue-3", - "purpleblue-4", - "purpleblue-5", - "purpleblue-6", - "purpleblue-7", - "purpleblue-8", - "purpleblue-9", - "purplered", - "purplered-3", - "purplered-4", - "purplered-5", - "purplered-6", - "purplered-7", - "purplered-8", - "purplered-9", - "redpurple", - "redpurple-3", - "redpurple-4", - "redpurple-5", - "redpurple-6", - "redpurple-7", - "redpurple-8", - "redpurple-9", - "yellowgreenblue", - "yellowgreenblue-3", - "yellowgreenblue-4", - "yellowgreenblue-5", - "yellowgreenblue-6", - "yellowgreenblue-7", - "yellowgreenblue-8", - "yellowgreenblue-9", - "yellowgreen", - "yellowgreen-3", - "yellowgreen-4", - "yellowgreen-5", - "yellowgreen-6", - "yellowgreen-7", - "yellowgreen-8", - "yellowgreen-9", - "yelloworangebrown", - "yelloworangebrown-3", - "yelloworangebrown-4", - "yelloworangebrown-5", - "yelloworangebrown-6", - "yelloworangebrown-7", - "yelloworangebrown-8", - "yelloworangebrown-9", - "yelloworangered", - "yelloworangered-3", - "yelloworangered-4", - "yelloworangered-5", - "yelloworangered-6", - "yelloworangered-7", - "yelloworangered-8", - "yelloworangered-9", - "darkblue", - "darkblue-3", - "darkblue-4", - "darkblue-5", - "darkblue-6", - "darkblue-7", - "darkblue-8", - "darkblue-9", - "darkgold", - "darkgold-3", - "darkgold-4", - "darkgold-5", - "darkgold-6", - "darkgold-7", - "darkgold-8", - "darkgold-9", - "darkgreen", - "darkgreen-3", - "darkgreen-4", - "darkgreen-5", - "darkgreen-6", - "darkgreen-7", - "darkgreen-8", - "darkgreen-9", - "darkmulti", - "darkmulti-3", - "darkmulti-4", - "darkmulti-5", - "darkmulti-6", - "darkmulti-7", - "darkmulti-8", - "darkmulti-9", - "darkred", - "darkred-3", - "darkred-4", - "darkred-5", - "darkred-6", - "darkred-7", - "darkred-8", - "darkred-9", - "lightgreyred", - "lightgreyred-3", - "lightgreyred-4", - "lightgreyred-5", - "lightgreyred-6", - "lightgreyred-7", - "lightgreyred-8", - "lightgreyred-9", - "lightgreyteal", - "lightgreyteal-3", - "lightgreyteal-4", - "lightgreyteal-5", - "lightgreyteal-6", - "lightgreyteal-7", - "lightgreyteal-8", - "lightgreyteal-9", - "lightmulti", - "lightmulti-3", - "lightmulti-4", - "lightmulti-5", - "lightmulti-6", - "lightmulti-7", - "lightmulti-8", - "lightmulti-9", - "lightorange", - "lightorange-3", - "lightorange-4", - "lightorange-5", - "lightorange-6", - "lightorange-7", - "lightorange-8", - "lightorange-9", - "lighttealblue", - "lighttealblue-3", - "lighttealblue-4", - "lighttealblue-5", - "lighttealblue-6", - "lighttealblue-7", - "lighttealblue-8", - "lighttealblue-9", - ], - core.SequentialMultiHue, - ], - core.ColorScheme, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.SchemeParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal["rainbow", "sinebow"], + Literal[ + "blues", + "tealblues", + "teals", + "greens", + "browns", + "greys", + "purples", + "warmgreys", + "reds", + "oranges", + ], + Literal[ + "accent", + "category10", + "category20", + "category20b", + "category20c", + "dark2", + "paired", + "pastel1", + "pastel2", + "set1", + "set2", + "set3", + "tableau10", + "tableau20", + ], + Literal[ + "blueorange", + "blueorange-3", + "blueorange-4", + "blueorange-5", + "blueorange-6", + "blueorange-7", + "blueorange-8", + "blueorange-9", + "blueorange-10", + "blueorange-11", + "brownbluegreen", + "brownbluegreen-3", + "brownbluegreen-4", + "brownbluegreen-5", + "brownbluegreen-6", + "brownbluegreen-7", + "brownbluegreen-8", + "brownbluegreen-9", + "brownbluegreen-10", + "brownbluegreen-11", + "purplegreen", + "purplegreen-3", + "purplegreen-4", + "purplegreen-5", + "purplegreen-6", + "purplegreen-7", + "purplegreen-8", + "purplegreen-9", + "purplegreen-10", + "purplegreen-11", + "pinkyellowgreen", + "pinkyellowgreen-3", + "pinkyellowgreen-4", + "pinkyellowgreen-5", + "pinkyellowgreen-6", + "pinkyellowgreen-7", + "pinkyellowgreen-8", + "pinkyellowgreen-9", + "pinkyellowgreen-10", + "pinkyellowgreen-11", + "purpleorange", + "purpleorange-3", + "purpleorange-4", + "purpleorange-5", + "purpleorange-6", + "purpleorange-7", + "purpleorange-8", + "purpleorange-9", + "purpleorange-10", + "purpleorange-11", + "redblue", + "redblue-3", + "redblue-4", + "redblue-5", + "redblue-6", + "redblue-7", + "redblue-8", + "redblue-9", + "redblue-10", + "redblue-11", + "redgrey", + "redgrey-3", + "redgrey-4", + "redgrey-5", + "redgrey-6", + "redgrey-7", + "redgrey-8", + "redgrey-9", + "redgrey-10", + "redgrey-11", + "redyellowblue", + "redyellowblue-3", + "redyellowblue-4", + "redyellowblue-5", + "redyellowblue-6", + "redyellowblue-7", + "redyellowblue-8", + "redyellowblue-9", + "redyellowblue-10", + "redyellowblue-11", + "redyellowgreen", + "redyellowgreen-3", + "redyellowgreen-4", + "redyellowgreen-5", + "redyellowgreen-6", + "redyellowgreen-7", + "redyellowgreen-8", + "redyellowgreen-9", + "redyellowgreen-10", + "redyellowgreen-11", + "spectral", + "spectral-3", + "spectral-4", + "spectral-5", + "spectral-6", + "spectral-7", + "spectral-8", + "spectral-9", + "spectral-10", + "spectral-11", + ], + Literal[ + "turbo", + "viridis", + "inferno", + "magma", + "plasma", + "cividis", + "bluegreen", + "bluegreen-3", + "bluegreen-4", + "bluegreen-5", + "bluegreen-6", + "bluegreen-7", + "bluegreen-8", + "bluegreen-9", + "bluepurple", + "bluepurple-3", + "bluepurple-4", + "bluepurple-5", + "bluepurple-6", + "bluepurple-7", + "bluepurple-8", + "bluepurple-9", + "goldgreen", + "goldgreen-3", + "goldgreen-4", + "goldgreen-5", + "goldgreen-6", + "goldgreen-7", + "goldgreen-8", + "goldgreen-9", + "goldorange", + "goldorange-3", + "goldorange-4", + "goldorange-5", + "goldorange-6", + "goldorange-7", + "goldorange-8", + "goldorange-9", + "goldred", + "goldred-3", + "goldred-4", + "goldred-5", + "goldred-6", + "goldred-7", + "goldred-8", + "goldred-9", + "greenblue", + "greenblue-3", + "greenblue-4", + "greenblue-5", + "greenblue-6", + "greenblue-7", + "greenblue-8", + "greenblue-9", + "orangered", + "orangered-3", + "orangered-4", + "orangered-5", + "orangered-6", + "orangered-7", + "orangered-8", + "orangered-9", + "purplebluegreen", + "purplebluegreen-3", + "purplebluegreen-4", + "purplebluegreen-5", + "purplebluegreen-6", + "purplebluegreen-7", + "purplebluegreen-8", + "purplebluegreen-9", + "purpleblue", + "purpleblue-3", + "purpleblue-4", + "purpleblue-5", + "purpleblue-6", + "purpleblue-7", + "purpleblue-8", + "purpleblue-9", + "purplered", + "purplered-3", + "purplered-4", + "purplered-5", + "purplered-6", + "purplered-7", + "purplered-8", + "purplered-9", + "redpurple", + "redpurple-3", + "redpurple-4", + "redpurple-5", + "redpurple-6", + "redpurple-7", + "redpurple-8", + "redpurple-9", + "yellowgreenblue", + "yellowgreenblue-3", + "yellowgreenblue-4", + "yellowgreenblue-5", + "yellowgreenblue-6", + "yellowgreenblue-7", + "yellowgreenblue-8", + "yellowgreenblue-9", + "yellowgreen", + "yellowgreen-3", + "yellowgreen-4", + "yellowgreen-5", + "yellowgreen-6", + "yellowgreen-7", + "yellowgreen-8", + "yellowgreen-9", + "yelloworangebrown", + "yelloworangebrown-3", + "yelloworangebrown-4", + "yelloworangebrown-5", + "yelloworangebrown-6", + "yelloworangebrown-7", + "yelloworangebrown-8", + "yelloworangebrown-9", + "yelloworangered", + "yelloworangered-3", + "yelloworangered-4", + "yelloworangered-5", + "yelloworangered-6", + "yelloworangered-7", + "yelloworangered-8", + "yelloworangered-9", + "darkblue", + "darkblue-3", + "darkblue-4", + "darkblue-5", + "darkblue-6", + "darkblue-7", + "darkblue-8", + "darkblue-9", + "darkgold", + "darkgold-3", + "darkgold-4", + "darkgold-5", + "darkgold-6", + "darkgold-7", + "darkgold-8", + "darkgold-9", + "darkgreen", + "darkgreen-3", + "darkgreen-4", + "darkgreen-5", + "darkgreen-6", + "darkgreen-7", + "darkgreen-8", + "darkgreen-9", + "darkmulti", + "darkmulti-3", + "darkmulti-4", + "darkmulti-5", + "darkmulti-6", + "darkmulti-7", + "darkmulti-8", + "darkmulti-9", + "darkred", + "darkred-3", + "darkred-4", + "darkred-5", + "darkred-6", + "darkred-7", + "darkred-8", + "darkred-9", + "lightgreyred", + "lightgreyred-3", + "lightgreyred-4", + "lightgreyred-5", + "lightgreyred-6", + "lightgreyred-7", + "lightgreyred-8", + "lightgreyred-9", + "lightgreyteal", + "lightgreyteal-3", + "lightgreyteal-4", + "lightgreyteal-5", + "lightgreyteal-6", + "lightgreyteal-7", + "lightgreyteal-8", + "lightgreyteal-9", + "lightmulti", + "lightmulti-3", + "lightmulti-4", + "lightmulti-5", + "lightmulti-6", + "lightmulti-7", + "lightmulti-8", + "lightmulti-9", + "lightorange", + "lightorange-3", + "lightorange-4", + "lightorange-5", + "lightorange-6", + "lightorange-7", + "lightorange-8", + "lightorange-9", + "lighttealblue", + "lighttealblue-3", + "lighttealblue-4", + "lighttealblue-5", + "lighttealblue-6", + "lighttealblue-7", + "lighttealblue-8", + "lighttealblue-9", ], UndefinedType, ] = Undefined, type: Union[ - Union[ - Literal[ - "linear", - "log", - "pow", - "sqrt", - "symlog", - "identity", - "sequential", - "time", - "utc", - "quantile", - "quantize", - "threshold", - "bin-ordinal", - "ordinal", - "point", - "band", - ], - core.ScaleType, + core.SchemaBase, + Literal[ + "linear", + "log", + "pow", + "sqrt", + "symlog", + "identity", + "sequential", + "time", + "utc", + "quantile", + "quantize", + "threshold", + "bin-ordinal", + "ordinal", + "point", + "band", ], UndefinedType, ] = Undefined, zero: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "StrokeDash": @@ -52803,42 +46523,36 @@ def sort( @overload def sort( self, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, op: Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "StrokeDash": @@ -52848,28 +46562,25 @@ def sort( def sort( self, encoding: Union[ - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, + core.SchemaBase, + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "StrokeDash": @@ -53048,114 +46759,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -53185,285 +46876,214 @@ def type( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - Union[ - core.ConditionalParameterValueDefnumberArrayExprRef, dict - ], - Union[ - core.ConditionalPredicateValueDefnumberArrayExprRef, dict - ], - core.ConditionalValueDefnumberArrayExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterValueDefnumberArrayExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberArrayExprRef, dict], - core.ConditionalValueDefnumberArrayExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -53491,8 +47111,6 @@ class StrokeDashDatum( ): """StrokeDashDatum schema wrapper - :class:`FieldOrDatumDefWithConditionDatumDefnumberArray`, Dict - Parameters ---------- @@ -53500,16 +47118,16 @@ class StrokeDashDatum( Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - condition : :class:`ConditionalParameterValueDefnumberArrayExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberArrayExprRef`, Sequence[:class:`ConditionalParameterValueDefnumberArrayExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberArrayExprRef`] + condition : dict, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -53610,31 +47228,9 @@ def bandPosition(self, _: float, **kwds) -> "StrokeDashDatum": @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, **kwds, ) -> "StrokeDashDatum": @@ -53644,10 +47240,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, **kwds, ) -> "StrokeDashDatum": @@ -53684,34 +47279,14 @@ def __init__( datum, bandPosition: Union[float, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - Union[ - core.ConditionalParameterValueDefnumberArrayExprRef, dict - ], - Union[ - core.ConditionalPredicateValueDefnumberArrayExprRef, dict - ], - core.ConditionalValueDefnumberArrayExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterValueDefnumberArrayExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberArrayExprRef, dict], - core.ConditionalValueDefnumberArrayExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -53732,14 +47307,12 @@ class StrokeDashValue( ): """StrokeDashValue schema wrapper - :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumberArray`, Dict - Parameters ---------- - condition : :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, Dict[required=[param]], :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Dict[required=[test]], :class:`ConditionalParameterValueDefnumberArrayExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberArrayExprRef`, Sequence[:class:`ConditionalParameterValueDefnumberArrayExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberArrayExprRef`] + condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : :class:`ExprRef`, Dict[required=[expr]], Sequence[float] + value : dict, Sequence[float], :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -53752,283 +47325,209 @@ class StrokeDashValue( def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, - ], - UndefinedType, - ] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", + ], + UndefinedType, + ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -54040,46 +47539,24 @@ def condition( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union[None, bool, core.PrimitiveValue, float, str], - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.RepeatRef, dict], - ], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, + UndefinedType, + ] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -54090,263 +47567,210 @@ def condition( def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -54358,26 +47782,25 @@ def condition( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union[None, bool, core.PrimitiveValue, float, str], - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.RepeatRef, dict], - ], + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, UndefinedType, ] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -54387,31 +47810,9 @@ def condition( @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, **kwds, ) -> "StrokeDashValue": @@ -54421,10 +47822,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, **kwds, ) -> "StrokeDashValue": @@ -54440,30 +47840,7 @@ def __init__( self, value, condition: Union[ - Union[ - Sequence[ - Union[ - Union[ - core.ConditionalParameterValueDefnumberArrayExprRef, dict - ], - Union[ - core.ConditionalPredicateValueDefnumberArrayExprRef, dict - ], - core.ConditionalValueDefnumberArrayExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterMarkPropFieldOrDatumDef, dict], - Union[core.ConditionalPredicateMarkPropFieldOrDatumDef, dict], - core.ConditionalMarkPropFieldOrDatumDef, - ], - Union[ - Union[core.ConditionalParameterValueDefnumberArrayExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberArrayExprRef, dict], - core.ConditionalValueDefnumberArrayExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, **kwds, ): @@ -54476,14 +47853,12 @@ class StrokeOpacity( ): """StrokeOpacity schema wrapper - :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -54495,7 +47870,7 @@ class StrokeOpacity( Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool + bin : bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -54516,14 +47891,14 @@ class StrokeOpacity( **See also:** `bin `__ documentation. - condition : :class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`, Sequence[:class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`] + condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -54538,7 +47913,7 @@ class StrokeOpacity( about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - legend : :class:`Legend`, Dict, None + legend : dict, None, :class:`Legend` An object defining properties of the legend. If ``null``, the legend for the encoding channel will be removed. @@ -54547,7 +47922,7 @@ class StrokeOpacity( **See also:** `legend `__ documentation. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -54560,7 +47935,7 @@ class StrokeOpacity( **See also:** `scale `__ documentation. - sort : :class:`AllSortString`, :class:`SortByChannelDesc`, Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'], :class:`SortByChannel`, Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], :class:`SortOrder`, Literal['ascending', 'descending'], :class:`EncodingSortField`, Dict, :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str], :class:`SortByEncoding`, Dict[required=[encoding]], :class:`Sort`, None + sort : dict, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'], Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -54599,7 +47974,7 @@ class StrokeOpacity( **See also:** `sort `__ documentation. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -54608,7 +47983,7 @@ class StrokeOpacity( **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -54734,17 +48109,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "StrokeOpacity": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "StrokeOpacity": ... @@ -54764,12 +48135,7 @@ def bin( binned: Union[bool, UndefinedType] = Undefined, divide: Union[Sequence[float], UndefinedType] = Undefined, extent: Union[ - Union[ - Sequence[float], - Union[core.ParameterExtent, core._Parameter, dict], - core.BinExtent, - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, maxbins: Union[float, UndefinedType] = Undefined, minstep: Union[float, UndefinedType] = Undefined, @@ -54787,30 +48153,9 @@ def bin(self, _: None, **kwds) -> "StrokeOpacity": @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "StrokeOpacity": @@ -54820,9 +48165,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "StrokeOpacity": @@ -54852,1472 +48197,1374 @@ def field( def legend( self, aria: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, clipHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, columnPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, columns: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, description: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, direction: Union[ - Union[Literal["horizontal", "vertical"], core.Orientation], UndefinedType + core.SchemaBase, Literal["horizontal", "vertical"], UndefinedType ] = Undefined, fillColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, - ] = Undefined, - format: Union[Union[Union[core.Dict, dict], str], UndefinedType] = Undefined, + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", + ], + UndefinedType, + ] = Undefined, + format: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, gradientLength: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientStrokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, gradientStrokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientThickness: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gridAlign: Union[ - Union[ - Union[Literal["all", "each", "none"], core.LayoutAlign], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["all", "each", "none"], UndefinedType, ] = Undefined, labelAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, labelBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, labelColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, labelExpr: Union[str, UndefinedType] = Undefined, labelFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, labelLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOverlap: Union[ - Union[ - Union[bool, core.LabelOverlap, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelSeparation: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, legendX: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, legendY: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, orient: Union[ - Union[ - Literal[ - "none", - "left", - "right", - "top", - "bottom", - "top-left", - "top-right", - "bottom-left", - "bottom-right", - ], - core.LegendOrient, + core.SchemaBase, + Literal[ + "none", + "left", + "right", + "top", + "bottom", + "top-left", + "top-right", + "bottom-left", + "bottom-right", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rowPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolDash: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, symbolDashOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolFillColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolStrokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolStrokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolType: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.SymbolShape, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickCount: Union[ - Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.TimeIntervalStep, dict], - core.TickCount, - float, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, tickMinStep: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, titleAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, titleAnchor: Union[ - Union[ - Union[Literal[None, "start", "middle", "end"], core.TitleAnchor], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal[None, "start", "middle", "end"], UndefinedType, ] = Undefined, titleBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, titleColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, titleFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, titleLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleLineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleOrient: Union[ - Union[ - Union[Literal["left", "right", "top", "bottom"], core.Orient], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "right", "top", "bottom"], UndefinedType, ] = Undefined, titlePadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, type: Union[Literal["symbol", "gradient"], UndefinedType] = Undefined, values: Union[ - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + Sequence[str], + Sequence[bool], + core._Parameter, + core.SchemaBase, + Sequence[float], + Sequence[Union[dict, core.SchemaBase]], UndefinedType, ] = Undefined, zindex: Union[float, UndefinedType] = Undefined, @@ -56333,542 +49580,487 @@ def legend(self, _: None, **kwds) -> "StrokeOpacity": def scale( self, align: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, base: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - bins: Union[ - Union[Sequence[float], Union[core.ScaleBinParams, dict], core.ScaleBins], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + bins: Union[dict, core.SchemaBase, Sequence[float], UndefinedType] = Undefined, clamp: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, constant: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domain: Union[ - Union[ - Sequence[ - Union[ - None, - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - bool, - float, - str, - ] - ], - Union[core.DomainUnionWith, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ParameterExtent, core._Parameter, dict], - str, + str, + dict, + core._Parameter, + core.SchemaBase, + Sequence[ + Union[str, bool, dict, None, float, core._Parameter, core.SchemaBase] ], UndefinedType, ] = Undefined, domainMax: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMid: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMin: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainRaw: Union[ - Union[core.ExprRef, core._Parameter, dict], UndefinedType + dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, exponent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "rgb", - "lab", - "hcl", - "hsl", - "hsl-long", - "hcl-long", - "cubehelix", - "cubehelix-long", - ], - core.ScaleInterpolateEnum, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ScaleInterpolateParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "rgb", + "lab", + "hcl", + "hsl", + "hsl-long", + "hcl-long", + "cubehelix", + "cubehelix-long", ], UndefinedType, ] = Undefined, nice: Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.TimeIntervalStep, dict], - bool, - float, + bool, + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingInner: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingOuter: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, range: Union[ - Union[ - Sequence[ - Union[ - Sequence[float], - Union[core.ExprRef, core._Parameter, dict], - float, - str, - ] - ], + dict, + core.SchemaBase, + Sequence[ Union[ - Literal[ - "width", - "height", - "symbol", - "category", - "ordinal", - "ramp", - "diverging", - "heatmap", - ], - core.RangeEnum, - ], - Union[core.FieldRange, dict], + str, dict, float, core._Parameter, core.SchemaBase, Sequence[float] + ] + ], + Literal[ + "width", + "height", + "symbol", + "category", + "ordinal", + "ramp", + "diverging", + "heatmap", ], UndefinedType, ] = Undefined, rangeMax: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rangeMin: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, reverse: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, round: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, scheme: Union[ - Union[ - Union[ - Union[ - Literal[ - "accent", - "category10", - "category20", - "category20b", - "category20c", - "dark2", - "paired", - "pastel1", - "pastel2", - "set1", - "set2", - "set3", - "tableau10", - "tableau20", - ], - core.Categorical, - ], - Union[ - Literal[ - "blueorange", - "blueorange-3", - "blueorange-4", - "blueorange-5", - "blueorange-6", - "blueorange-7", - "blueorange-8", - "blueorange-9", - "blueorange-10", - "blueorange-11", - "brownbluegreen", - "brownbluegreen-3", - "brownbluegreen-4", - "brownbluegreen-5", - "brownbluegreen-6", - "brownbluegreen-7", - "brownbluegreen-8", - "brownbluegreen-9", - "brownbluegreen-10", - "brownbluegreen-11", - "purplegreen", - "purplegreen-3", - "purplegreen-4", - "purplegreen-5", - "purplegreen-6", - "purplegreen-7", - "purplegreen-8", - "purplegreen-9", - "purplegreen-10", - "purplegreen-11", - "pinkyellowgreen", - "pinkyellowgreen-3", - "pinkyellowgreen-4", - "pinkyellowgreen-5", - "pinkyellowgreen-6", - "pinkyellowgreen-7", - "pinkyellowgreen-8", - "pinkyellowgreen-9", - "pinkyellowgreen-10", - "pinkyellowgreen-11", - "purpleorange", - "purpleorange-3", - "purpleorange-4", - "purpleorange-5", - "purpleorange-6", - "purpleorange-7", - "purpleorange-8", - "purpleorange-9", - "purpleorange-10", - "purpleorange-11", - "redblue", - "redblue-3", - "redblue-4", - "redblue-5", - "redblue-6", - "redblue-7", - "redblue-8", - "redblue-9", - "redblue-10", - "redblue-11", - "redgrey", - "redgrey-3", - "redgrey-4", - "redgrey-5", - "redgrey-6", - "redgrey-7", - "redgrey-8", - "redgrey-9", - "redgrey-10", - "redgrey-11", - "redyellowblue", - "redyellowblue-3", - "redyellowblue-4", - "redyellowblue-5", - "redyellowblue-6", - "redyellowblue-7", - "redyellowblue-8", - "redyellowblue-9", - "redyellowblue-10", - "redyellowblue-11", - "redyellowgreen", - "redyellowgreen-3", - "redyellowgreen-4", - "redyellowgreen-5", - "redyellowgreen-6", - "redyellowgreen-7", - "redyellowgreen-8", - "redyellowgreen-9", - "redyellowgreen-10", - "redyellowgreen-11", - "spectral", - "spectral-3", - "spectral-4", - "spectral-5", - "spectral-6", - "spectral-7", - "spectral-8", - "spectral-9", - "spectral-10", - "spectral-11", - ], - core.Diverging, - ], - Union[ - Literal[ - "blues", - "tealblues", - "teals", - "greens", - "browns", - "greys", - "purples", - "warmgreys", - "reds", - "oranges", - ], - core.SequentialSingleHue, - ], - Union[Literal["rainbow", "sinebow"], core.Cyclical], - Union[ - Literal[ - "turbo", - "viridis", - "inferno", - "magma", - "plasma", - "cividis", - "bluegreen", - "bluegreen-3", - "bluegreen-4", - "bluegreen-5", - "bluegreen-6", - "bluegreen-7", - "bluegreen-8", - "bluegreen-9", - "bluepurple", - "bluepurple-3", - "bluepurple-4", - "bluepurple-5", - "bluepurple-6", - "bluepurple-7", - "bluepurple-8", - "bluepurple-9", - "goldgreen", - "goldgreen-3", - "goldgreen-4", - "goldgreen-5", - "goldgreen-6", - "goldgreen-7", - "goldgreen-8", - "goldgreen-9", - "goldorange", - "goldorange-3", - "goldorange-4", - "goldorange-5", - "goldorange-6", - "goldorange-7", - "goldorange-8", - "goldorange-9", - "goldred", - "goldred-3", - "goldred-4", - "goldred-5", - "goldred-6", - "goldred-7", - "goldred-8", - "goldred-9", - "greenblue", - "greenblue-3", - "greenblue-4", - "greenblue-5", - "greenblue-6", - "greenblue-7", - "greenblue-8", - "greenblue-9", - "orangered", - "orangered-3", - "orangered-4", - "orangered-5", - "orangered-6", - "orangered-7", - "orangered-8", - "orangered-9", - "purplebluegreen", - "purplebluegreen-3", - "purplebluegreen-4", - "purplebluegreen-5", - "purplebluegreen-6", - "purplebluegreen-7", - "purplebluegreen-8", - "purplebluegreen-9", - "purpleblue", - "purpleblue-3", - "purpleblue-4", - "purpleblue-5", - "purpleblue-6", - "purpleblue-7", - "purpleblue-8", - "purpleblue-9", - "purplered", - "purplered-3", - "purplered-4", - "purplered-5", - "purplered-6", - "purplered-7", - "purplered-8", - "purplered-9", - "redpurple", - "redpurple-3", - "redpurple-4", - "redpurple-5", - "redpurple-6", - "redpurple-7", - "redpurple-8", - "redpurple-9", - "yellowgreenblue", - "yellowgreenblue-3", - "yellowgreenblue-4", - "yellowgreenblue-5", - "yellowgreenblue-6", - "yellowgreenblue-7", - "yellowgreenblue-8", - "yellowgreenblue-9", - "yellowgreen", - "yellowgreen-3", - "yellowgreen-4", - "yellowgreen-5", - "yellowgreen-6", - "yellowgreen-7", - "yellowgreen-8", - "yellowgreen-9", - "yelloworangebrown", - "yelloworangebrown-3", - "yelloworangebrown-4", - "yelloworangebrown-5", - "yelloworangebrown-6", - "yelloworangebrown-7", - "yelloworangebrown-8", - "yelloworangebrown-9", - "yelloworangered", - "yelloworangered-3", - "yelloworangered-4", - "yelloworangered-5", - "yelloworangered-6", - "yelloworangered-7", - "yelloworangered-8", - "yelloworangered-9", - "darkblue", - "darkblue-3", - "darkblue-4", - "darkblue-5", - "darkblue-6", - "darkblue-7", - "darkblue-8", - "darkblue-9", - "darkgold", - "darkgold-3", - "darkgold-4", - "darkgold-5", - "darkgold-6", - "darkgold-7", - "darkgold-8", - "darkgold-9", - "darkgreen", - "darkgreen-3", - "darkgreen-4", - "darkgreen-5", - "darkgreen-6", - "darkgreen-7", - "darkgreen-8", - "darkgreen-9", - "darkmulti", - "darkmulti-3", - "darkmulti-4", - "darkmulti-5", - "darkmulti-6", - "darkmulti-7", - "darkmulti-8", - "darkmulti-9", - "darkred", - "darkred-3", - "darkred-4", - "darkred-5", - "darkred-6", - "darkred-7", - "darkred-8", - "darkred-9", - "lightgreyred", - "lightgreyred-3", - "lightgreyred-4", - "lightgreyred-5", - "lightgreyred-6", - "lightgreyred-7", - "lightgreyred-8", - "lightgreyred-9", - "lightgreyteal", - "lightgreyteal-3", - "lightgreyteal-4", - "lightgreyteal-5", - "lightgreyteal-6", - "lightgreyteal-7", - "lightgreyteal-8", - "lightgreyteal-9", - "lightmulti", - "lightmulti-3", - "lightmulti-4", - "lightmulti-5", - "lightmulti-6", - "lightmulti-7", - "lightmulti-8", - "lightmulti-9", - "lightorange", - "lightorange-3", - "lightorange-4", - "lightorange-5", - "lightorange-6", - "lightorange-7", - "lightorange-8", - "lightorange-9", - "lighttealblue", - "lighttealblue-3", - "lighttealblue-4", - "lighttealblue-5", - "lighttealblue-6", - "lighttealblue-7", - "lighttealblue-8", - "lighttealblue-9", - ], - core.SequentialMultiHue, - ], - core.ColorScheme, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.SchemeParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal["rainbow", "sinebow"], + Literal[ + "blues", + "tealblues", + "teals", + "greens", + "browns", + "greys", + "purples", + "warmgreys", + "reds", + "oranges", + ], + Literal[ + "accent", + "category10", + "category20", + "category20b", + "category20c", + "dark2", + "paired", + "pastel1", + "pastel2", + "set1", + "set2", + "set3", + "tableau10", + "tableau20", + ], + Literal[ + "blueorange", + "blueorange-3", + "blueorange-4", + "blueorange-5", + "blueorange-6", + "blueorange-7", + "blueorange-8", + "blueorange-9", + "blueorange-10", + "blueorange-11", + "brownbluegreen", + "brownbluegreen-3", + "brownbluegreen-4", + "brownbluegreen-5", + "brownbluegreen-6", + "brownbluegreen-7", + "brownbluegreen-8", + "brownbluegreen-9", + "brownbluegreen-10", + "brownbluegreen-11", + "purplegreen", + "purplegreen-3", + "purplegreen-4", + "purplegreen-5", + "purplegreen-6", + "purplegreen-7", + "purplegreen-8", + "purplegreen-9", + "purplegreen-10", + "purplegreen-11", + "pinkyellowgreen", + "pinkyellowgreen-3", + "pinkyellowgreen-4", + "pinkyellowgreen-5", + "pinkyellowgreen-6", + "pinkyellowgreen-7", + "pinkyellowgreen-8", + "pinkyellowgreen-9", + "pinkyellowgreen-10", + "pinkyellowgreen-11", + "purpleorange", + "purpleorange-3", + "purpleorange-4", + "purpleorange-5", + "purpleorange-6", + "purpleorange-7", + "purpleorange-8", + "purpleorange-9", + "purpleorange-10", + "purpleorange-11", + "redblue", + "redblue-3", + "redblue-4", + "redblue-5", + "redblue-6", + "redblue-7", + "redblue-8", + "redblue-9", + "redblue-10", + "redblue-11", + "redgrey", + "redgrey-3", + "redgrey-4", + "redgrey-5", + "redgrey-6", + "redgrey-7", + "redgrey-8", + "redgrey-9", + "redgrey-10", + "redgrey-11", + "redyellowblue", + "redyellowblue-3", + "redyellowblue-4", + "redyellowblue-5", + "redyellowblue-6", + "redyellowblue-7", + "redyellowblue-8", + "redyellowblue-9", + "redyellowblue-10", + "redyellowblue-11", + "redyellowgreen", + "redyellowgreen-3", + "redyellowgreen-4", + "redyellowgreen-5", + "redyellowgreen-6", + "redyellowgreen-7", + "redyellowgreen-8", + "redyellowgreen-9", + "redyellowgreen-10", + "redyellowgreen-11", + "spectral", + "spectral-3", + "spectral-4", + "spectral-5", + "spectral-6", + "spectral-7", + "spectral-8", + "spectral-9", + "spectral-10", + "spectral-11", + ], + Literal[ + "turbo", + "viridis", + "inferno", + "magma", + "plasma", + "cividis", + "bluegreen", + "bluegreen-3", + "bluegreen-4", + "bluegreen-5", + "bluegreen-6", + "bluegreen-7", + "bluegreen-8", + "bluegreen-9", + "bluepurple", + "bluepurple-3", + "bluepurple-4", + "bluepurple-5", + "bluepurple-6", + "bluepurple-7", + "bluepurple-8", + "bluepurple-9", + "goldgreen", + "goldgreen-3", + "goldgreen-4", + "goldgreen-5", + "goldgreen-6", + "goldgreen-7", + "goldgreen-8", + "goldgreen-9", + "goldorange", + "goldorange-3", + "goldorange-4", + "goldorange-5", + "goldorange-6", + "goldorange-7", + "goldorange-8", + "goldorange-9", + "goldred", + "goldred-3", + "goldred-4", + "goldred-5", + "goldred-6", + "goldred-7", + "goldred-8", + "goldred-9", + "greenblue", + "greenblue-3", + "greenblue-4", + "greenblue-5", + "greenblue-6", + "greenblue-7", + "greenblue-8", + "greenblue-9", + "orangered", + "orangered-3", + "orangered-4", + "orangered-5", + "orangered-6", + "orangered-7", + "orangered-8", + "orangered-9", + "purplebluegreen", + "purplebluegreen-3", + "purplebluegreen-4", + "purplebluegreen-5", + "purplebluegreen-6", + "purplebluegreen-7", + "purplebluegreen-8", + "purplebluegreen-9", + "purpleblue", + "purpleblue-3", + "purpleblue-4", + "purpleblue-5", + "purpleblue-6", + "purpleblue-7", + "purpleblue-8", + "purpleblue-9", + "purplered", + "purplered-3", + "purplered-4", + "purplered-5", + "purplered-6", + "purplered-7", + "purplered-8", + "purplered-9", + "redpurple", + "redpurple-3", + "redpurple-4", + "redpurple-5", + "redpurple-6", + "redpurple-7", + "redpurple-8", + "redpurple-9", + "yellowgreenblue", + "yellowgreenblue-3", + "yellowgreenblue-4", + "yellowgreenblue-5", + "yellowgreenblue-6", + "yellowgreenblue-7", + "yellowgreenblue-8", + "yellowgreenblue-9", + "yellowgreen", + "yellowgreen-3", + "yellowgreen-4", + "yellowgreen-5", + "yellowgreen-6", + "yellowgreen-7", + "yellowgreen-8", + "yellowgreen-9", + "yelloworangebrown", + "yelloworangebrown-3", + "yelloworangebrown-4", + "yelloworangebrown-5", + "yelloworangebrown-6", + "yelloworangebrown-7", + "yelloworangebrown-8", + "yelloworangebrown-9", + "yelloworangered", + "yelloworangered-3", + "yelloworangered-4", + "yelloworangered-5", + "yelloworangered-6", + "yelloworangered-7", + "yelloworangered-8", + "yelloworangered-9", + "darkblue", + "darkblue-3", + "darkblue-4", + "darkblue-5", + "darkblue-6", + "darkblue-7", + "darkblue-8", + "darkblue-9", + "darkgold", + "darkgold-3", + "darkgold-4", + "darkgold-5", + "darkgold-6", + "darkgold-7", + "darkgold-8", + "darkgold-9", + "darkgreen", + "darkgreen-3", + "darkgreen-4", + "darkgreen-5", + "darkgreen-6", + "darkgreen-7", + "darkgreen-8", + "darkgreen-9", + "darkmulti", + "darkmulti-3", + "darkmulti-4", + "darkmulti-5", + "darkmulti-6", + "darkmulti-7", + "darkmulti-8", + "darkmulti-9", + "darkred", + "darkred-3", + "darkred-4", + "darkred-5", + "darkred-6", + "darkred-7", + "darkred-8", + "darkred-9", + "lightgreyred", + "lightgreyred-3", + "lightgreyred-4", + "lightgreyred-5", + "lightgreyred-6", + "lightgreyred-7", + "lightgreyred-8", + "lightgreyred-9", + "lightgreyteal", + "lightgreyteal-3", + "lightgreyteal-4", + "lightgreyteal-5", + "lightgreyteal-6", + "lightgreyteal-7", + "lightgreyteal-8", + "lightgreyteal-9", + "lightmulti", + "lightmulti-3", + "lightmulti-4", + "lightmulti-5", + "lightmulti-6", + "lightmulti-7", + "lightmulti-8", + "lightmulti-9", + "lightorange", + "lightorange-3", + "lightorange-4", + "lightorange-5", + "lightorange-6", + "lightorange-7", + "lightorange-8", + "lightorange-9", + "lighttealblue", + "lighttealblue-3", + "lighttealblue-4", + "lighttealblue-5", + "lighttealblue-6", + "lighttealblue-7", + "lighttealblue-8", + "lighttealblue-9", ], UndefinedType, ] = Undefined, type: Union[ - Union[ - Literal[ - "linear", - "log", - "pow", - "sqrt", - "symlog", - "identity", - "sequential", - "time", - "utc", - "quantile", - "quantize", - "threshold", - "bin-ordinal", - "ordinal", - "point", - "band", - ], - core.ScaleType, + core.SchemaBase, + Literal[ + "linear", + "log", + "pow", + "sqrt", + "symlog", + "identity", + "sequential", + "time", + "utc", + "quantile", + "quantize", + "threshold", + "bin-ordinal", + "ordinal", + "point", + "band", ], UndefinedType, ] = Undefined, zero: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "StrokeOpacity": @@ -56943,42 +50135,36 @@ def sort( @overload def sort( self, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, op: Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "StrokeOpacity": @@ -56988,28 +50174,25 @@ def sort( def sort( self, encoding: Union[ - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, + core.SchemaBase, + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "StrokeOpacity": @@ -57188,114 +50371,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -57325,281 +50488,214 @@ def type( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ], - ], - UndefinedType, - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -57627,8 +50723,6 @@ class StrokeOpacityDatum( ): """StrokeOpacityDatum schema wrapper - :class:`FieldOrDatumDefWithConditionDatumDefnumber`, Dict - Parameters ---------- @@ -57636,16 +50730,16 @@ class StrokeOpacityDatum( Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - condition : :class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`, Sequence[:class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`] + condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -57746,30 +50840,9 @@ def bandPosition(self, _: float, **kwds) -> "StrokeOpacityDatum": @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "StrokeOpacityDatum": @@ -57779,9 +50852,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "StrokeOpacityDatum": @@ -57818,30 +50891,14 @@ def __init__( datum, bandPosition: Union[float, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -57862,14 +50919,12 @@ class StrokeOpacityValue( ): """StrokeOpacityValue schema wrapper - :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber`, Dict - Parameters ---------- - condition : :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, Dict[required=[param]], :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Dict[required=[test]], :class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`, Sequence[:class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`] + condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : :class:`ExprRef`, Dict[required=[expr]], float + value : dict, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -57882,283 +50937,209 @@ class StrokeOpacityValue( def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, - ], - UndefinedType, - ] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", + ], + UndefinedType, + ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -58170,46 +51151,24 @@ def condition( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union[None, bool, core.PrimitiveValue, float, str], - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.RepeatRef, dict], - ], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, + UndefinedType, + ] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -58220,263 +51179,210 @@ def condition( def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -58488,26 +51394,25 @@ def condition( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union[None, bool, core.PrimitiveValue, float, str], - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.RepeatRef, dict], - ], + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, UndefinedType, ] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -58517,30 +51422,9 @@ def condition( @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "StrokeOpacityValue": @@ -58550,9 +51434,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "StrokeOpacityValue": @@ -58568,26 +51452,7 @@ def __init__( self, value, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterMarkPropFieldOrDatumDef, dict], - Union[core.ConditionalPredicateMarkPropFieldOrDatumDef, dict], - core.ConditionalMarkPropFieldOrDatumDef, - ], - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, **kwds, ): @@ -58602,14 +51467,12 @@ class StrokeWidth( ): """StrokeWidth schema wrapper - :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -58621,7 +51484,7 @@ class StrokeWidth( Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool + bin : bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -58642,14 +51505,14 @@ class StrokeWidth( **See also:** `bin `__ documentation. - condition : :class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`, Sequence[:class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`] + condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -58664,7 +51527,7 @@ class StrokeWidth( about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - legend : :class:`Legend`, Dict, None + legend : dict, None, :class:`Legend` An object defining properties of the legend. If ``null``, the legend for the encoding channel will be removed. @@ -58673,7 +51536,7 @@ class StrokeWidth( **See also:** `legend `__ documentation. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -58686,7 +51549,7 @@ class StrokeWidth( **See also:** `scale `__ documentation. - sort : :class:`AllSortString`, :class:`SortByChannelDesc`, Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'], :class:`SortByChannel`, Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], :class:`SortOrder`, Literal['ascending', 'descending'], :class:`EncodingSortField`, Dict, :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str], :class:`SortByEncoding`, Dict[required=[encoding]], :class:`Sort`, None + sort : dict, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'], Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -58725,7 +51588,7 @@ class StrokeWidth( **See also:** `sort `__ documentation. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -58734,7 +51597,7 @@ class StrokeWidth( **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -58860,17 +51723,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "StrokeWidth": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "StrokeWidth": ... @@ -58890,12 +51749,7 @@ def bin( binned: Union[bool, UndefinedType] = Undefined, divide: Union[Sequence[float], UndefinedType] = Undefined, extent: Union[ - Union[ - Sequence[float], - Union[core.ParameterExtent, core._Parameter, dict], - core.BinExtent, - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, maxbins: Union[float, UndefinedType] = Undefined, minstep: Union[float, UndefinedType] = Undefined, @@ -58913,30 +51767,9 @@ def bin(self, _: None, **kwds) -> "StrokeWidth": @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "StrokeWidth": @@ -58946,9 +51779,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "StrokeWidth": @@ -58978,1472 +51811,1374 @@ def field( def legend( self, aria: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, clipHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, columnPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, columns: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, description: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, direction: Union[ - Union[Literal["horizontal", "vertical"], core.Orientation], UndefinedType + core.SchemaBase, Literal["horizontal", "vertical"], UndefinedType ] = Undefined, fillColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, - ] = Undefined, - format: Union[Union[Union[core.Dict, dict], str], UndefinedType] = Undefined, + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", + ], + UndefinedType, + ] = Undefined, + format: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, gradientLength: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientStrokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, gradientStrokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gradientThickness: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gridAlign: Union[ - Union[ - Union[Literal["all", "each", "none"], core.LayoutAlign], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["all", "each", "none"], UndefinedType, ] = Undefined, labelAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, labelBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, labelColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, labelExpr: Union[str, UndefinedType] = Undefined, labelFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, labelLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOverlap: Union[ - Union[ - Union[bool, core.LabelOverlap, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelSeparation: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, legendX: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, legendY: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, orient: Union[ - Union[ - Literal[ - "none", - "left", - "right", - "top", - "bottom", - "top-left", - "top-right", - "bottom-left", - "bottom-right", - ], - core.LegendOrient, + core.SchemaBase, + Literal[ + "none", + "left", + "right", + "top", + "bottom", + "top-left", + "top-right", + "bottom-left", + "bottom-right", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rowPadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolDash: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, symbolDashOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolFillColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolStrokeColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolStrokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, symbolType: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.SymbolShape, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickCount: Union[ - Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.TimeIntervalStep, dict], - core.TickCount, - float, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, tickMinStep: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, titleAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, titleAnchor: Union[ - Union[ - Union[Literal[None, "start", "middle", "end"], core.TitleAnchor], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal[None, "start", "middle", "end"], UndefinedType, ] = Undefined, titleBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, titleColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, titleFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, titleLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleLineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleOrient: Union[ - Union[ - Union[Literal["left", "right", "top", "bottom"], core.Orient], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "right", "top", "bottom"], UndefinedType, ] = Undefined, titlePadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, type: Union[Literal["symbol", "gradient"], UndefinedType] = Undefined, values: Union[ - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + Sequence[str], + Sequence[bool], + core._Parameter, + core.SchemaBase, + Sequence[float], + Sequence[Union[dict, core.SchemaBase]], UndefinedType, ] = Undefined, zindex: Union[float, UndefinedType] = Undefined, @@ -60459,542 +53194,487 @@ def legend(self, _: None, **kwds) -> "StrokeWidth": def scale( self, align: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, base: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - bins: Union[ - Union[Sequence[float], Union[core.ScaleBinParams, dict], core.ScaleBins], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + bins: Union[dict, core.SchemaBase, Sequence[float], UndefinedType] = Undefined, clamp: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, constant: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domain: Union[ - Union[ - Sequence[ - Union[ - None, - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - bool, - float, - str, - ] - ], - Union[core.DomainUnionWith, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ParameterExtent, core._Parameter, dict], - str, + str, + dict, + core._Parameter, + core.SchemaBase, + Sequence[ + Union[str, bool, dict, None, float, core._Parameter, core.SchemaBase] ], UndefinedType, ] = Undefined, domainMax: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMid: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMin: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainRaw: Union[ - Union[core.ExprRef, core._Parameter, dict], UndefinedType + dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, exponent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "rgb", - "lab", - "hcl", - "hsl", - "hsl-long", - "hcl-long", - "cubehelix", - "cubehelix-long", - ], - core.ScaleInterpolateEnum, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ScaleInterpolateParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "rgb", + "lab", + "hcl", + "hsl", + "hsl-long", + "hcl-long", + "cubehelix", + "cubehelix-long", ], UndefinedType, ] = Undefined, nice: Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.TimeIntervalStep, dict], - bool, - float, + bool, + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingInner: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingOuter: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, range: Union[ - Union[ - Sequence[ - Union[ - Sequence[float], - Union[core.ExprRef, core._Parameter, dict], - float, - str, - ] - ], + dict, + core.SchemaBase, + Sequence[ Union[ - Literal[ - "width", - "height", - "symbol", - "category", - "ordinal", - "ramp", - "diverging", - "heatmap", - ], - core.RangeEnum, - ], - Union[core.FieldRange, dict], + str, dict, float, core._Parameter, core.SchemaBase, Sequence[float] + ] + ], + Literal[ + "width", + "height", + "symbol", + "category", + "ordinal", + "ramp", + "diverging", + "heatmap", ], UndefinedType, ] = Undefined, rangeMax: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rangeMin: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, reverse: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, round: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, scheme: Union[ - Union[ - Union[ - Union[ - Literal[ - "accent", - "category10", - "category20", - "category20b", - "category20c", - "dark2", - "paired", - "pastel1", - "pastel2", - "set1", - "set2", - "set3", - "tableau10", - "tableau20", - ], - core.Categorical, - ], - Union[ - Literal[ - "blueorange", - "blueorange-3", - "blueorange-4", - "blueorange-5", - "blueorange-6", - "blueorange-7", - "blueorange-8", - "blueorange-9", - "blueorange-10", - "blueorange-11", - "brownbluegreen", - "brownbluegreen-3", - "brownbluegreen-4", - "brownbluegreen-5", - "brownbluegreen-6", - "brownbluegreen-7", - "brownbluegreen-8", - "brownbluegreen-9", - "brownbluegreen-10", - "brownbluegreen-11", - "purplegreen", - "purplegreen-3", - "purplegreen-4", - "purplegreen-5", - "purplegreen-6", - "purplegreen-7", - "purplegreen-8", - "purplegreen-9", - "purplegreen-10", - "purplegreen-11", - "pinkyellowgreen", - "pinkyellowgreen-3", - "pinkyellowgreen-4", - "pinkyellowgreen-5", - "pinkyellowgreen-6", - "pinkyellowgreen-7", - "pinkyellowgreen-8", - "pinkyellowgreen-9", - "pinkyellowgreen-10", - "pinkyellowgreen-11", - "purpleorange", - "purpleorange-3", - "purpleorange-4", - "purpleorange-5", - "purpleorange-6", - "purpleorange-7", - "purpleorange-8", - "purpleorange-9", - "purpleorange-10", - "purpleorange-11", - "redblue", - "redblue-3", - "redblue-4", - "redblue-5", - "redblue-6", - "redblue-7", - "redblue-8", - "redblue-9", - "redblue-10", - "redblue-11", - "redgrey", - "redgrey-3", - "redgrey-4", - "redgrey-5", - "redgrey-6", - "redgrey-7", - "redgrey-8", - "redgrey-9", - "redgrey-10", - "redgrey-11", - "redyellowblue", - "redyellowblue-3", - "redyellowblue-4", - "redyellowblue-5", - "redyellowblue-6", - "redyellowblue-7", - "redyellowblue-8", - "redyellowblue-9", - "redyellowblue-10", - "redyellowblue-11", - "redyellowgreen", - "redyellowgreen-3", - "redyellowgreen-4", - "redyellowgreen-5", - "redyellowgreen-6", - "redyellowgreen-7", - "redyellowgreen-8", - "redyellowgreen-9", - "redyellowgreen-10", - "redyellowgreen-11", - "spectral", - "spectral-3", - "spectral-4", - "spectral-5", - "spectral-6", - "spectral-7", - "spectral-8", - "spectral-9", - "spectral-10", - "spectral-11", - ], - core.Diverging, - ], - Union[ - Literal[ - "blues", - "tealblues", - "teals", - "greens", - "browns", - "greys", - "purples", - "warmgreys", - "reds", - "oranges", - ], - core.SequentialSingleHue, - ], - Union[Literal["rainbow", "sinebow"], core.Cyclical], - Union[ - Literal[ - "turbo", - "viridis", - "inferno", - "magma", - "plasma", - "cividis", - "bluegreen", - "bluegreen-3", - "bluegreen-4", - "bluegreen-5", - "bluegreen-6", - "bluegreen-7", - "bluegreen-8", - "bluegreen-9", - "bluepurple", - "bluepurple-3", - "bluepurple-4", - "bluepurple-5", - "bluepurple-6", - "bluepurple-7", - "bluepurple-8", - "bluepurple-9", - "goldgreen", - "goldgreen-3", - "goldgreen-4", - "goldgreen-5", - "goldgreen-6", - "goldgreen-7", - "goldgreen-8", - "goldgreen-9", - "goldorange", - "goldorange-3", - "goldorange-4", - "goldorange-5", - "goldorange-6", - "goldorange-7", - "goldorange-8", - "goldorange-9", - "goldred", - "goldred-3", - "goldred-4", - "goldred-5", - "goldred-6", - "goldred-7", - "goldred-8", - "goldred-9", - "greenblue", - "greenblue-3", - "greenblue-4", - "greenblue-5", - "greenblue-6", - "greenblue-7", - "greenblue-8", - "greenblue-9", - "orangered", - "orangered-3", - "orangered-4", - "orangered-5", - "orangered-6", - "orangered-7", - "orangered-8", - "orangered-9", - "purplebluegreen", - "purplebluegreen-3", - "purplebluegreen-4", - "purplebluegreen-5", - "purplebluegreen-6", - "purplebluegreen-7", - "purplebluegreen-8", - "purplebluegreen-9", - "purpleblue", - "purpleblue-3", - "purpleblue-4", - "purpleblue-5", - "purpleblue-6", - "purpleblue-7", - "purpleblue-8", - "purpleblue-9", - "purplered", - "purplered-3", - "purplered-4", - "purplered-5", - "purplered-6", - "purplered-7", - "purplered-8", - "purplered-9", - "redpurple", - "redpurple-3", - "redpurple-4", - "redpurple-5", - "redpurple-6", - "redpurple-7", - "redpurple-8", - "redpurple-9", - "yellowgreenblue", - "yellowgreenblue-3", - "yellowgreenblue-4", - "yellowgreenblue-5", - "yellowgreenblue-6", - "yellowgreenblue-7", - "yellowgreenblue-8", - "yellowgreenblue-9", - "yellowgreen", - "yellowgreen-3", - "yellowgreen-4", - "yellowgreen-5", - "yellowgreen-6", - "yellowgreen-7", - "yellowgreen-8", - "yellowgreen-9", - "yelloworangebrown", - "yelloworangebrown-3", - "yelloworangebrown-4", - "yelloworangebrown-5", - "yelloworangebrown-6", - "yelloworangebrown-7", - "yelloworangebrown-8", - "yelloworangebrown-9", - "yelloworangered", - "yelloworangered-3", - "yelloworangered-4", - "yelloworangered-5", - "yelloworangered-6", - "yelloworangered-7", - "yelloworangered-8", - "yelloworangered-9", - "darkblue", - "darkblue-3", - "darkblue-4", - "darkblue-5", - "darkblue-6", - "darkblue-7", - "darkblue-8", - "darkblue-9", - "darkgold", - "darkgold-3", - "darkgold-4", - "darkgold-5", - "darkgold-6", - "darkgold-7", - "darkgold-8", - "darkgold-9", - "darkgreen", - "darkgreen-3", - "darkgreen-4", - "darkgreen-5", - "darkgreen-6", - "darkgreen-7", - "darkgreen-8", - "darkgreen-9", - "darkmulti", - "darkmulti-3", - "darkmulti-4", - "darkmulti-5", - "darkmulti-6", - "darkmulti-7", - "darkmulti-8", - "darkmulti-9", - "darkred", - "darkred-3", - "darkred-4", - "darkred-5", - "darkred-6", - "darkred-7", - "darkred-8", - "darkred-9", - "lightgreyred", - "lightgreyred-3", - "lightgreyred-4", - "lightgreyred-5", - "lightgreyred-6", - "lightgreyred-7", - "lightgreyred-8", - "lightgreyred-9", - "lightgreyteal", - "lightgreyteal-3", - "lightgreyteal-4", - "lightgreyteal-5", - "lightgreyteal-6", - "lightgreyteal-7", - "lightgreyteal-8", - "lightgreyteal-9", - "lightmulti", - "lightmulti-3", - "lightmulti-4", - "lightmulti-5", - "lightmulti-6", - "lightmulti-7", - "lightmulti-8", - "lightmulti-9", - "lightorange", - "lightorange-3", - "lightorange-4", - "lightorange-5", - "lightorange-6", - "lightorange-7", - "lightorange-8", - "lightorange-9", - "lighttealblue", - "lighttealblue-3", - "lighttealblue-4", - "lighttealblue-5", - "lighttealblue-6", - "lighttealblue-7", - "lighttealblue-8", - "lighttealblue-9", - ], - core.SequentialMultiHue, - ], - core.ColorScheme, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.SchemeParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal["rainbow", "sinebow"], + Literal[ + "blues", + "tealblues", + "teals", + "greens", + "browns", + "greys", + "purples", + "warmgreys", + "reds", + "oranges", + ], + Literal[ + "accent", + "category10", + "category20", + "category20b", + "category20c", + "dark2", + "paired", + "pastel1", + "pastel2", + "set1", + "set2", + "set3", + "tableau10", + "tableau20", + ], + Literal[ + "blueorange", + "blueorange-3", + "blueorange-4", + "blueorange-5", + "blueorange-6", + "blueorange-7", + "blueorange-8", + "blueorange-9", + "blueorange-10", + "blueorange-11", + "brownbluegreen", + "brownbluegreen-3", + "brownbluegreen-4", + "brownbluegreen-5", + "brownbluegreen-6", + "brownbluegreen-7", + "brownbluegreen-8", + "brownbluegreen-9", + "brownbluegreen-10", + "brownbluegreen-11", + "purplegreen", + "purplegreen-3", + "purplegreen-4", + "purplegreen-5", + "purplegreen-6", + "purplegreen-7", + "purplegreen-8", + "purplegreen-9", + "purplegreen-10", + "purplegreen-11", + "pinkyellowgreen", + "pinkyellowgreen-3", + "pinkyellowgreen-4", + "pinkyellowgreen-5", + "pinkyellowgreen-6", + "pinkyellowgreen-7", + "pinkyellowgreen-8", + "pinkyellowgreen-9", + "pinkyellowgreen-10", + "pinkyellowgreen-11", + "purpleorange", + "purpleorange-3", + "purpleorange-4", + "purpleorange-5", + "purpleorange-6", + "purpleorange-7", + "purpleorange-8", + "purpleorange-9", + "purpleorange-10", + "purpleorange-11", + "redblue", + "redblue-3", + "redblue-4", + "redblue-5", + "redblue-6", + "redblue-7", + "redblue-8", + "redblue-9", + "redblue-10", + "redblue-11", + "redgrey", + "redgrey-3", + "redgrey-4", + "redgrey-5", + "redgrey-6", + "redgrey-7", + "redgrey-8", + "redgrey-9", + "redgrey-10", + "redgrey-11", + "redyellowblue", + "redyellowblue-3", + "redyellowblue-4", + "redyellowblue-5", + "redyellowblue-6", + "redyellowblue-7", + "redyellowblue-8", + "redyellowblue-9", + "redyellowblue-10", + "redyellowblue-11", + "redyellowgreen", + "redyellowgreen-3", + "redyellowgreen-4", + "redyellowgreen-5", + "redyellowgreen-6", + "redyellowgreen-7", + "redyellowgreen-8", + "redyellowgreen-9", + "redyellowgreen-10", + "redyellowgreen-11", + "spectral", + "spectral-3", + "spectral-4", + "spectral-5", + "spectral-6", + "spectral-7", + "spectral-8", + "spectral-9", + "spectral-10", + "spectral-11", + ], + Literal[ + "turbo", + "viridis", + "inferno", + "magma", + "plasma", + "cividis", + "bluegreen", + "bluegreen-3", + "bluegreen-4", + "bluegreen-5", + "bluegreen-6", + "bluegreen-7", + "bluegreen-8", + "bluegreen-9", + "bluepurple", + "bluepurple-3", + "bluepurple-4", + "bluepurple-5", + "bluepurple-6", + "bluepurple-7", + "bluepurple-8", + "bluepurple-9", + "goldgreen", + "goldgreen-3", + "goldgreen-4", + "goldgreen-5", + "goldgreen-6", + "goldgreen-7", + "goldgreen-8", + "goldgreen-9", + "goldorange", + "goldorange-3", + "goldorange-4", + "goldorange-5", + "goldorange-6", + "goldorange-7", + "goldorange-8", + "goldorange-9", + "goldred", + "goldred-3", + "goldred-4", + "goldred-5", + "goldred-6", + "goldred-7", + "goldred-8", + "goldred-9", + "greenblue", + "greenblue-3", + "greenblue-4", + "greenblue-5", + "greenblue-6", + "greenblue-7", + "greenblue-8", + "greenblue-9", + "orangered", + "orangered-3", + "orangered-4", + "orangered-5", + "orangered-6", + "orangered-7", + "orangered-8", + "orangered-9", + "purplebluegreen", + "purplebluegreen-3", + "purplebluegreen-4", + "purplebluegreen-5", + "purplebluegreen-6", + "purplebluegreen-7", + "purplebluegreen-8", + "purplebluegreen-9", + "purpleblue", + "purpleblue-3", + "purpleblue-4", + "purpleblue-5", + "purpleblue-6", + "purpleblue-7", + "purpleblue-8", + "purpleblue-9", + "purplered", + "purplered-3", + "purplered-4", + "purplered-5", + "purplered-6", + "purplered-7", + "purplered-8", + "purplered-9", + "redpurple", + "redpurple-3", + "redpurple-4", + "redpurple-5", + "redpurple-6", + "redpurple-7", + "redpurple-8", + "redpurple-9", + "yellowgreenblue", + "yellowgreenblue-3", + "yellowgreenblue-4", + "yellowgreenblue-5", + "yellowgreenblue-6", + "yellowgreenblue-7", + "yellowgreenblue-8", + "yellowgreenblue-9", + "yellowgreen", + "yellowgreen-3", + "yellowgreen-4", + "yellowgreen-5", + "yellowgreen-6", + "yellowgreen-7", + "yellowgreen-8", + "yellowgreen-9", + "yelloworangebrown", + "yelloworangebrown-3", + "yelloworangebrown-4", + "yelloworangebrown-5", + "yelloworangebrown-6", + "yelloworangebrown-7", + "yelloworangebrown-8", + "yelloworangebrown-9", + "yelloworangered", + "yelloworangered-3", + "yelloworangered-4", + "yelloworangered-5", + "yelloworangered-6", + "yelloworangered-7", + "yelloworangered-8", + "yelloworangered-9", + "darkblue", + "darkblue-3", + "darkblue-4", + "darkblue-5", + "darkblue-6", + "darkblue-7", + "darkblue-8", + "darkblue-9", + "darkgold", + "darkgold-3", + "darkgold-4", + "darkgold-5", + "darkgold-6", + "darkgold-7", + "darkgold-8", + "darkgold-9", + "darkgreen", + "darkgreen-3", + "darkgreen-4", + "darkgreen-5", + "darkgreen-6", + "darkgreen-7", + "darkgreen-8", + "darkgreen-9", + "darkmulti", + "darkmulti-3", + "darkmulti-4", + "darkmulti-5", + "darkmulti-6", + "darkmulti-7", + "darkmulti-8", + "darkmulti-9", + "darkred", + "darkred-3", + "darkred-4", + "darkred-5", + "darkred-6", + "darkred-7", + "darkred-8", + "darkred-9", + "lightgreyred", + "lightgreyred-3", + "lightgreyred-4", + "lightgreyred-5", + "lightgreyred-6", + "lightgreyred-7", + "lightgreyred-8", + "lightgreyred-9", + "lightgreyteal", + "lightgreyteal-3", + "lightgreyteal-4", + "lightgreyteal-5", + "lightgreyteal-6", + "lightgreyteal-7", + "lightgreyteal-8", + "lightgreyteal-9", + "lightmulti", + "lightmulti-3", + "lightmulti-4", + "lightmulti-5", + "lightmulti-6", + "lightmulti-7", + "lightmulti-8", + "lightmulti-9", + "lightorange", + "lightorange-3", + "lightorange-4", + "lightorange-5", + "lightorange-6", + "lightorange-7", + "lightorange-8", + "lightorange-9", + "lighttealblue", + "lighttealblue-3", + "lighttealblue-4", + "lighttealblue-5", + "lighttealblue-6", + "lighttealblue-7", + "lighttealblue-8", + "lighttealblue-9", ], UndefinedType, ] = Undefined, type: Union[ - Union[ - Literal[ - "linear", - "log", - "pow", - "sqrt", - "symlog", - "identity", - "sequential", - "time", - "utc", - "quantile", - "quantize", - "threshold", - "bin-ordinal", - "ordinal", - "point", - "band", - ], - core.ScaleType, + core.SchemaBase, + Literal[ + "linear", + "log", + "pow", + "sqrt", + "symlog", + "identity", + "sequential", + "time", + "utc", + "quantile", + "quantize", + "threshold", + "bin-ordinal", + "ordinal", + "point", + "band", ], UndefinedType, ] = Undefined, zero: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "StrokeWidth": @@ -61069,42 +53749,36 @@ def sort( @overload def sort( self, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, op: Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "StrokeWidth": @@ -61114,28 +53788,25 @@ def sort( def sort( self, encoding: Union[ - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, + core.SchemaBase, + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "StrokeWidth": @@ -61314,114 +53985,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -61451,281 +54102,214 @@ def type( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -61753,8 +54337,6 @@ class StrokeWidthDatum( ): """StrokeWidthDatum schema wrapper - :class:`FieldOrDatumDefWithConditionDatumDefnumber`, Dict - Parameters ---------- @@ -61762,16 +54344,16 @@ class StrokeWidthDatum( Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - condition : :class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`, Sequence[:class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`] + condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -61872,30 +54454,9 @@ def bandPosition(self, _: float, **kwds) -> "StrokeWidthDatum": @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "StrokeWidthDatum": @@ -61905,9 +54466,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "StrokeWidthDatum": @@ -61944,30 +54505,14 @@ def __init__( datum, bandPosition: Union[float, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -61988,14 +54533,12 @@ class StrokeWidthValue( ): """StrokeWidthValue schema wrapper - :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber`, Dict - Parameters ---------- - condition : :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, Dict[required=[param]], :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Dict[required=[test]], :class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`, Sequence[:class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`] + condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : :class:`ExprRef`, Dict[required=[expr]], float + value : dict, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -62008,283 +54551,209 @@ class StrokeWidthValue( def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, - ], - UndefinedType, - ] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", + ], + UndefinedType, + ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -62296,46 +54765,24 @@ def condition( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union[None, bool, core.PrimitiveValue, float, str], - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.RepeatRef, dict], - ], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, + UndefinedType, + ] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -62346,263 +54793,210 @@ def condition( def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -62614,26 +55008,25 @@ def condition( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union[None, bool, core.PrimitiveValue, float, str], - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.RepeatRef, dict], - ], + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, UndefinedType, ] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -62643,30 +55036,9 @@ def condition( @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "StrokeWidthValue": @@ -62676,9 +55048,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "StrokeWidthValue": @@ -62694,26 +55066,7 @@ def __init__( self, value, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterMarkPropFieldOrDatumDef, dict], - Union[core.ConditionalPredicateMarkPropFieldOrDatumDef, dict], - core.ConditionalMarkPropFieldOrDatumDef, - ], - Union[ - Union[core.ConditionalParameterValueDefnumberExprRef, dict], - Union[core.ConditionalPredicateValueDefnumberExprRef, dict], - core.ConditionalValueDefnumberExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, **kwds, ): @@ -62724,14 +55077,12 @@ def __init__( class Text(FieldChannelMixin, core.FieldOrDatumDefWithConditionStringFieldDefText): """Text schema wrapper - :class:`FieldOrDatumDefWithConditionStringFieldDefText`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -62743,7 +55094,7 @@ class Text(FieldChannelMixin, core.FieldOrDatumDefWithConditionStringFieldDefTex Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool, str + bin : str, bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -62764,14 +55115,14 @@ class Text(FieldChannelMixin, core.FieldOrDatumDefWithConditionStringFieldDefTex **See also:** `bin `__ documentation. - condition : :class:`ConditionalParameterValueDefTextExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefTextExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefTextExprRef`, Sequence[:class:`ConditionalParameterValueDefTextExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefTextExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefTextExprRef`] + condition : dict, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`, Sequence[dict, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -62786,7 +55137,7 @@ class Text(FieldChannelMixin, core.FieldOrDatumDefWithConditionStringFieldDefTex about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - format : :class:`Dict`, Dict, str + format : str, dict, :class:`Dict` When used with the default ``"number"`` and ``"time"`` format type, the text formatting pattern for labels of guides (axes, legends, headers) and text marks. @@ -62820,7 +55171,7 @@ class Text(FieldChannelMixin, core.FieldOrDatumDefWithConditionStringFieldDefTex * ``"time"`` for temporal fields and ordinal and nominal fields with ``timeUnit``. * ``"number"`` for quantitative fields as well as ordinal and nominal fields without ``timeUnit``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -62829,7 +55180,7 @@ class Text(FieldChannelMixin, core.FieldOrDatumDefWithConditionStringFieldDefTex **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -62955,17 +55306,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Text": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Text": ... @@ -62985,12 +55332,7 @@ def bin( binned: Union[bool, UndefinedType] = Undefined, divide: Union[Sequence[float], UndefinedType] = Undefined, extent: Union[ - Union[ - Sequence[float], - Union[core.ParameterExtent, core._Parameter, dict], - core.BinExtent, - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, maxbins: Union[float, UndefinedType] = Undefined, minstep: Union[float, UndefinedType] = Undefined, @@ -63012,34 +55354,9 @@ def bin(self, _: None, **kwds) -> "Text": @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[ - Union[Sequence[str], core.Text, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, Sequence[str], core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Text": @@ -63049,13 +55366,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[ - Union[Sequence[str], core.Text, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, Sequence[str], core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Text": @@ -63260,114 +55573,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -63397,227 +55690,175 @@ def type( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool, str], UndefinedType - ] = Undefined, + bin: Union[str, bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefTextExprRef, dict], - Union[core.ConditionalPredicateValueDefTextExprRef, dict], - core.ConditionalValueDefTextExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterValueDefTextExprRef, dict], - Union[core.ConditionalPredicateValueDefTextExprRef, dict], - core.ConditionalValueDefTextExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - format: Union[Union[Union[core.Dict, dict], str], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + format: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -63642,8 +55883,6 @@ def __init__( class TextDatum(DatumChannelMixin, core.FieldOrDatumDefWithConditionStringDatumDefText): """TextDatum schema wrapper - :class:`FieldOrDatumDefWithConditionStringDatumDefText`, Dict - Parameters ---------- @@ -63651,16 +55890,16 @@ class TextDatum(DatumChannelMixin, core.FieldOrDatumDefWithConditionStringDatumD Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - condition : :class:`ConditionalParameterValueDefTextExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefTextExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefTextExprRef`, Sequence[:class:`ConditionalParameterValueDefTextExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefTextExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefTextExprRef`] + condition : dict, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`, Sequence[dict, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - format : :class:`Dict`, Dict, str + format : str, dict, :class:`Dict` When used with the default ``"number"`` and ``"time"`` format type, the text formatting pattern for labels of guides (axes, legends, headers) and text marks. @@ -63694,7 +55933,7 @@ class TextDatum(DatumChannelMixin, core.FieldOrDatumDefWithConditionStringDatumD * ``"time"`` for temporal fields and ordinal and nominal fields with ``timeUnit``. * ``"number"`` for quantitative fields as well as ordinal and nominal fields without ``timeUnit``. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -63795,34 +56034,9 @@ def bandPosition(self, _: float, **kwds) -> "TextDatum": @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[ - Union[Sequence[str], core.Text, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, Sequence[str], core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "TextDatum": @@ -63832,13 +56046,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[ - Union[Sequence[str], core.Text, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, Sequence[str], core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "TextDatum": @@ -63887,32 +56097,16 @@ def __init__( datum, bandPosition: Union[float, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefTextExprRef, dict], - Union[core.ConditionalPredicateValueDefTextExprRef, dict], - core.ConditionalValueDefTextExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterValueDefTextExprRef, dict], - Union[core.ConditionalPredicateValueDefTextExprRef, dict], - core.ConditionalValueDefTextExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, - format: Union[Union[Union[core.Dict, dict], str], UndefinedType] = Undefined, + format: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -63933,14 +56127,12 @@ def __init__( class TextValue(ValueChannelMixin, core.ValueDefWithConditionStringFieldDefText): """TextValue schema wrapper - :class:`ValueDefWithConditionStringFieldDefText`, Dict - Parameters ---------- - condition : :class:`ConditionalParameterStringFieldDef`, Dict[required=[param]], :class:`ConditionalPredicateStringFieldDef`, Dict[required=[test]], :class:`ConditionalStringFieldDef`, :class:`ConditionalParameterValueDefTextExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefTextExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefTextExprRef`, Sequence[:class:`ConditionalParameterValueDefTextExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefTextExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefTextExprRef`] + condition : dict, :class:`ConditionalStringFieldDef`, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterStringFieldDef`, :class:`ConditionalPredicateStringFieldDef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`, Sequence[dict, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : :class:`ExprRef`, Dict[required=[expr]], :class:`Text`, Sequence[str], str + value : str, dict, :class:`Text`, Sequence[str], :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -63953,229 +56145,170 @@ class TextValue(ValueChannelMixin, core.ValueDefWithConditionStringFieldDefText) def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool, str], UndefinedType - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - format: Union[Union[Union[core.Dict, dict], str], UndefinedType] = Undefined, + bin: Union[str, bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + format: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -64186,209 +56319,171 @@ def condition( def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool, str], UndefinedType - ] = Undefined, + bin: Union[str, bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - format: Union[Union[Union[core.Dict, dict], str], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + format: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -64398,34 +56493,9 @@ def condition( @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[ - Union[Sequence[str], core.Text, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, Sequence[str], core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "TextValue": @@ -64435,13 +56505,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[ - Union[Sequence[str], core.Text, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, Sequence[str], core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "TextValue": @@ -64457,26 +56523,7 @@ def __init__( self, value, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefTextExprRef, dict], - Union[core.ConditionalPredicateValueDefTextExprRef, dict], - core.ConditionalValueDefTextExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterStringFieldDef, dict], - Union[core.ConditionalPredicateStringFieldDef, dict], - core.ConditionalStringFieldDef, - ], - Union[ - Union[core.ConditionalParameterValueDefTextExprRef, dict], - Union[core.ConditionalPredicateValueDefTextExprRef, dict], - core.ConditionalValueDefTextExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, **kwds, ): @@ -64487,14 +56534,12 @@ def __init__( class Theta(FieldChannelMixin, core.PositionFieldDefBase): """Theta schema wrapper - :class:`PositionFieldDefBase`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -64506,7 +56551,7 @@ class Theta(FieldChannelMixin, core.PositionFieldDefBase): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool, str + bin : str, bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -64527,7 +56572,7 @@ class Theta(FieldChannelMixin, core.PositionFieldDefBase): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -64542,7 +56587,7 @@ class Theta(FieldChannelMixin, core.PositionFieldDefBase): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -64555,7 +56600,7 @@ class Theta(FieldChannelMixin, core.PositionFieldDefBase): **See also:** `scale `__ documentation. - sort : :class:`AllSortString`, :class:`SortByChannelDesc`, Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'], :class:`SortByChannel`, Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], :class:`SortOrder`, Literal['ascending', 'descending'], :class:`EncodingSortField`, Dict, :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str], :class:`SortByEncoding`, Dict[required=[encoding]], :class:`Sort`, None + sort : dict, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'], Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -64594,7 +56639,7 @@ class Theta(FieldChannelMixin, core.PositionFieldDefBase): **See also:** `sort `__ documentation. - stack : :class:`StackOffset`, Literal['zero', 'center', 'normalize'], None, bool + stack : bool, None, :class:`StackOffset`, Literal['zero', 'center', 'normalize'] Type of stacking offset if the field should be stacked. ``stack`` is only applicable for ``x``, ``y``, ``theta``, and ``radius`` channels with continuous domains. For example, ``stack`` of ``y`` can be used to customize stacking for a vertical bar @@ -64625,7 +56670,7 @@ class Theta(FieldChannelMixin, core.PositionFieldDefBase): **See also:** `stack `__ documentation. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -64634,7 +56679,7 @@ class Theta(FieldChannelMixin, core.PositionFieldDefBase): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -64760,17 +56805,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Theta": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Theta": ... @@ -64790,12 +56831,7 @@ def bin( binned: Union[bool, UndefinedType] = Undefined, divide: Union[Sequence[float], UndefinedType] = Undefined, extent: Union[ - Union[ - Sequence[float], - Union[core.ParameterExtent, core._Parameter, dict], - core.BinExtent, - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, maxbins: Union[float, UndefinedType] = Undefined, minstep: Union[float, UndefinedType] = Undefined, @@ -64832,542 +56868,487 @@ def field( def scale( self, align: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, base: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - bins: Union[ - Union[Sequence[float], Union[core.ScaleBinParams, dict], core.ScaleBins], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + bins: Union[dict, core.SchemaBase, Sequence[float], UndefinedType] = Undefined, clamp: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, constant: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domain: Union[ - Union[ - Sequence[ - Union[ - None, - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - bool, - float, - str, - ] - ], - Union[core.DomainUnionWith, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ParameterExtent, core._Parameter, dict], - str, + str, + dict, + core._Parameter, + core.SchemaBase, + Sequence[ + Union[str, bool, dict, None, float, core._Parameter, core.SchemaBase] ], UndefinedType, ] = Undefined, domainMax: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMid: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMin: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainRaw: Union[ - Union[core.ExprRef, core._Parameter, dict], UndefinedType + dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, exponent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "rgb", - "lab", - "hcl", - "hsl", - "hsl-long", - "hcl-long", - "cubehelix", - "cubehelix-long", - ], - core.ScaleInterpolateEnum, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ScaleInterpolateParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "rgb", + "lab", + "hcl", + "hsl", + "hsl-long", + "hcl-long", + "cubehelix", + "cubehelix-long", ], UndefinedType, ] = Undefined, nice: Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.TimeIntervalStep, dict], - bool, - float, + bool, + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingInner: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingOuter: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, range: Union[ - Union[ - Sequence[ - Union[ - Sequence[float], - Union[core.ExprRef, core._Parameter, dict], - float, - str, - ] - ], + dict, + core.SchemaBase, + Sequence[ Union[ - Literal[ - "width", - "height", - "symbol", - "category", - "ordinal", - "ramp", - "diverging", - "heatmap", - ], - core.RangeEnum, - ], - Union[core.FieldRange, dict], + str, dict, float, core._Parameter, core.SchemaBase, Sequence[float] + ] + ], + Literal[ + "width", + "height", + "symbol", + "category", + "ordinal", + "ramp", + "diverging", + "heatmap", ], UndefinedType, ] = Undefined, rangeMax: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rangeMin: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, reverse: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, round: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, scheme: Union[ - Union[ - Union[ - Union[ - Literal[ - "accent", - "category10", - "category20", - "category20b", - "category20c", - "dark2", - "paired", - "pastel1", - "pastel2", - "set1", - "set2", - "set3", - "tableau10", - "tableau20", - ], - core.Categorical, - ], - Union[ - Literal[ - "blueorange", - "blueorange-3", - "blueorange-4", - "blueorange-5", - "blueorange-6", - "blueorange-7", - "blueorange-8", - "blueorange-9", - "blueorange-10", - "blueorange-11", - "brownbluegreen", - "brownbluegreen-3", - "brownbluegreen-4", - "brownbluegreen-5", - "brownbluegreen-6", - "brownbluegreen-7", - "brownbluegreen-8", - "brownbluegreen-9", - "brownbluegreen-10", - "brownbluegreen-11", - "purplegreen", - "purplegreen-3", - "purplegreen-4", - "purplegreen-5", - "purplegreen-6", - "purplegreen-7", - "purplegreen-8", - "purplegreen-9", - "purplegreen-10", - "purplegreen-11", - "pinkyellowgreen", - "pinkyellowgreen-3", - "pinkyellowgreen-4", - "pinkyellowgreen-5", - "pinkyellowgreen-6", - "pinkyellowgreen-7", - "pinkyellowgreen-8", - "pinkyellowgreen-9", - "pinkyellowgreen-10", - "pinkyellowgreen-11", - "purpleorange", - "purpleorange-3", - "purpleorange-4", - "purpleorange-5", - "purpleorange-6", - "purpleorange-7", - "purpleorange-8", - "purpleorange-9", - "purpleorange-10", - "purpleorange-11", - "redblue", - "redblue-3", - "redblue-4", - "redblue-5", - "redblue-6", - "redblue-7", - "redblue-8", - "redblue-9", - "redblue-10", - "redblue-11", - "redgrey", - "redgrey-3", - "redgrey-4", - "redgrey-5", - "redgrey-6", - "redgrey-7", - "redgrey-8", - "redgrey-9", - "redgrey-10", - "redgrey-11", - "redyellowblue", - "redyellowblue-3", - "redyellowblue-4", - "redyellowblue-5", - "redyellowblue-6", - "redyellowblue-7", - "redyellowblue-8", - "redyellowblue-9", - "redyellowblue-10", - "redyellowblue-11", - "redyellowgreen", - "redyellowgreen-3", - "redyellowgreen-4", - "redyellowgreen-5", - "redyellowgreen-6", - "redyellowgreen-7", - "redyellowgreen-8", - "redyellowgreen-9", - "redyellowgreen-10", - "redyellowgreen-11", - "spectral", - "spectral-3", - "spectral-4", - "spectral-5", - "spectral-6", - "spectral-7", - "spectral-8", - "spectral-9", - "spectral-10", - "spectral-11", - ], - core.Diverging, - ], - Union[ - Literal[ - "blues", - "tealblues", - "teals", - "greens", - "browns", - "greys", - "purples", - "warmgreys", - "reds", - "oranges", - ], - core.SequentialSingleHue, - ], - Union[Literal["rainbow", "sinebow"], core.Cyclical], - Union[ - Literal[ - "turbo", - "viridis", - "inferno", - "magma", - "plasma", - "cividis", - "bluegreen", - "bluegreen-3", - "bluegreen-4", - "bluegreen-5", - "bluegreen-6", - "bluegreen-7", - "bluegreen-8", - "bluegreen-9", - "bluepurple", - "bluepurple-3", - "bluepurple-4", - "bluepurple-5", - "bluepurple-6", - "bluepurple-7", - "bluepurple-8", - "bluepurple-9", - "goldgreen", - "goldgreen-3", - "goldgreen-4", - "goldgreen-5", - "goldgreen-6", - "goldgreen-7", - "goldgreen-8", - "goldgreen-9", - "goldorange", - "goldorange-3", - "goldorange-4", - "goldorange-5", - "goldorange-6", - "goldorange-7", - "goldorange-8", - "goldorange-9", - "goldred", - "goldred-3", - "goldred-4", - "goldred-5", - "goldred-6", - "goldred-7", - "goldred-8", - "goldred-9", - "greenblue", - "greenblue-3", - "greenblue-4", - "greenblue-5", - "greenblue-6", - "greenblue-7", - "greenblue-8", - "greenblue-9", - "orangered", - "orangered-3", - "orangered-4", - "orangered-5", - "orangered-6", - "orangered-7", - "orangered-8", - "orangered-9", - "purplebluegreen", - "purplebluegreen-3", - "purplebluegreen-4", - "purplebluegreen-5", - "purplebluegreen-6", - "purplebluegreen-7", - "purplebluegreen-8", - "purplebluegreen-9", - "purpleblue", - "purpleblue-3", - "purpleblue-4", - "purpleblue-5", - "purpleblue-6", - "purpleblue-7", - "purpleblue-8", - "purpleblue-9", - "purplered", - "purplered-3", - "purplered-4", - "purplered-5", - "purplered-6", - "purplered-7", - "purplered-8", - "purplered-9", - "redpurple", - "redpurple-3", - "redpurple-4", - "redpurple-5", - "redpurple-6", - "redpurple-7", - "redpurple-8", - "redpurple-9", - "yellowgreenblue", - "yellowgreenblue-3", - "yellowgreenblue-4", - "yellowgreenblue-5", - "yellowgreenblue-6", - "yellowgreenblue-7", - "yellowgreenblue-8", - "yellowgreenblue-9", - "yellowgreen", - "yellowgreen-3", - "yellowgreen-4", - "yellowgreen-5", - "yellowgreen-6", - "yellowgreen-7", - "yellowgreen-8", - "yellowgreen-9", - "yelloworangebrown", - "yelloworangebrown-3", - "yelloworangebrown-4", - "yelloworangebrown-5", - "yelloworangebrown-6", - "yelloworangebrown-7", - "yelloworangebrown-8", - "yelloworangebrown-9", - "yelloworangered", - "yelloworangered-3", - "yelloworangered-4", - "yelloworangered-5", - "yelloworangered-6", - "yelloworangered-7", - "yelloworangered-8", - "yelloworangered-9", - "darkblue", - "darkblue-3", - "darkblue-4", - "darkblue-5", - "darkblue-6", - "darkblue-7", - "darkblue-8", - "darkblue-9", - "darkgold", - "darkgold-3", - "darkgold-4", - "darkgold-5", - "darkgold-6", - "darkgold-7", - "darkgold-8", - "darkgold-9", - "darkgreen", - "darkgreen-3", - "darkgreen-4", - "darkgreen-5", - "darkgreen-6", - "darkgreen-7", - "darkgreen-8", - "darkgreen-9", - "darkmulti", - "darkmulti-3", - "darkmulti-4", - "darkmulti-5", - "darkmulti-6", - "darkmulti-7", - "darkmulti-8", - "darkmulti-9", - "darkred", - "darkred-3", - "darkred-4", - "darkred-5", - "darkred-6", - "darkred-7", - "darkred-8", - "darkred-9", - "lightgreyred", - "lightgreyred-3", - "lightgreyred-4", - "lightgreyred-5", - "lightgreyred-6", - "lightgreyred-7", - "lightgreyred-8", - "lightgreyred-9", - "lightgreyteal", - "lightgreyteal-3", - "lightgreyteal-4", - "lightgreyteal-5", - "lightgreyteal-6", - "lightgreyteal-7", - "lightgreyteal-8", - "lightgreyteal-9", - "lightmulti", - "lightmulti-3", - "lightmulti-4", - "lightmulti-5", - "lightmulti-6", - "lightmulti-7", - "lightmulti-8", - "lightmulti-9", - "lightorange", - "lightorange-3", - "lightorange-4", - "lightorange-5", - "lightorange-6", - "lightorange-7", - "lightorange-8", - "lightorange-9", - "lighttealblue", - "lighttealblue-3", - "lighttealblue-4", - "lighttealblue-5", - "lighttealblue-6", - "lighttealblue-7", - "lighttealblue-8", - "lighttealblue-9", - ], - core.SequentialMultiHue, - ], - core.ColorScheme, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.SchemeParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal["rainbow", "sinebow"], + Literal[ + "blues", + "tealblues", + "teals", + "greens", + "browns", + "greys", + "purples", + "warmgreys", + "reds", + "oranges", + ], + Literal[ + "accent", + "category10", + "category20", + "category20b", + "category20c", + "dark2", + "paired", + "pastel1", + "pastel2", + "set1", + "set2", + "set3", + "tableau10", + "tableau20", + ], + Literal[ + "blueorange", + "blueorange-3", + "blueorange-4", + "blueorange-5", + "blueorange-6", + "blueorange-7", + "blueorange-8", + "blueorange-9", + "blueorange-10", + "blueorange-11", + "brownbluegreen", + "brownbluegreen-3", + "brownbluegreen-4", + "brownbluegreen-5", + "brownbluegreen-6", + "brownbluegreen-7", + "brownbluegreen-8", + "brownbluegreen-9", + "brownbluegreen-10", + "brownbluegreen-11", + "purplegreen", + "purplegreen-3", + "purplegreen-4", + "purplegreen-5", + "purplegreen-6", + "purplegreen-7", + "purplegreen-8", + "purplegreen-9", + "purplegreen-10", + "purplegreen-11", + "pinkyellowgreen", + "pinkyellowgreen-3", + "pinkyellowgreen-4", + "pinkyellowgreen-5", + "pinkyellowgreen-6", + "pinkyellowgreen-7", + "pinkyellowgreen-8", + "pinkyellowgreen-9", + "pinkyellowgreen-10", + "pinkyellowgreen-11", + "purpleorange", + "purpleorange-3", + "purpleorange-4", + "purpleorange-5", + "purpleorange-6", + "purpleorange-7", + "purpleorange-8", + "purpleorange-9", + "purpleorange-10", + "purpleorange-11", + "redblue", + "redblue-3", + "redblue-4", + "redblue-5", + "redblue-6", + "redblue-7", + "redblue-8", + "redblue-9", + "redblue-10", + "redblue-11", + "redgrey", + "redgrey-3", + "redgrey-4", + "redgrey-5", + "redgrey-6", + "redgrey-7", + "redgrey-8", + "redgrey-9", + "redgrey-10", + "redgrey-11", + "redyellowblue", + "redyellowblue-3", + "redyellowblue-4", + "redyellowblue-5", + "redyellowblue-6", + "redyellowblue-7", + "redyellowblue-8", + "redyellowblue-9", + "redyellowblue-10", + "redyellowblue-11", + "redyellowgreen", + "redyellowgreen-3", + "redyellowgreen-4", + "redyellowgreen-5", + "redyellowgreen-6", + "redyellowgreen-7", + "redyellowgreen-8", + "redyellowgreen-9", + "redyellowgreen-10", + "redyellowgreen-11", + "spectral", + "spectral-3", + "spectral-4", + "spectral-5", + "spectral-6", + "spectral-7", + "spectral-8", + "spectral-9", + "spectral-10", + "spectral-11", + ], + Literal[ + "turbo", + "viridis", + "inferno", + "magma", + "plasma", + "cividis", + "bluegreen", + "bluegreen-3", + "bluegreen-4", + "bluegreen-5", + "bluegreen-6", + "bluegreen-7", + "bluegreen-8", + "bluegreen-9", + "bluepurple", + "bluepurple-3", + "bluepurple-4", + "bluepurple-5", + "bluepurple-6", + "bluepurple-7", + "bluepurple-8", + "bluepurple-9", + "goldgreen", + "goldgreen-3", + "goldgreen-4", + "goldgreen-5", + "goldgreen-6", + "goldgreen-7", + "goldgreen-8", + "goldgreen-9", + "goldorange", + "goldorange-3", + "goldorange-4", + "goldorange-5", + "goldorange-6", + "goldorange-7", + "goldorange-8", + "goldorange-9", + "goldred", + "goldred-3", + "goldred-4", + "goldred-5", + "goldred-6", + "goldred-7", + "goldred-8", + "goldred-9", + "greenblue", + "greenblue-3", + "greenblue-4", + "greenblue-5", + "greenblue-6", + "greenblue-7", + "greenblue-8", + "greenblue-9", + "orangered", + "orangered-3", + "orangered-4", + "orangered-5", + "orangered-6", + "orangered-7", + "orangered-8", + "orangered-9", + "purplebluegreen", + "purplebluegreen-3", + "purplebluegreen-4", + "purplebluegreen-5", + "purplebluegreen-6", + "purplebluegreen-7", + "purplebluegreen-8", + "purplebluegreen-9", + "purpleblue", + "purpleblue-3", + "purpleblue-4", + "purpleblue-5", + "purpleblue-6", + "purpleblue-7", + "purpleblue-8", + "purpleblue-9", + "purplered", + "purplered-3", + "purplered-4", + "purplered-5", + "purplered-6", + "purplered-7", + "purplered-8", + "purplered-9", + "redpurple", + "redpurple-3", + "redpurple-4", + "redpurple-5", + "redpurple-6", + "redpurple-7", + "redpurple-8", + "redpurple-9", + "yellowgreenblue", + "yellowgreenblue-3", + "yellowgreenblue-4", + "yellowgreenblue-5", + "yellowgreenblue-6", + "yellowgreenblue-7", + "yellowgreenblue-8", + "yellowgreenblue-9", + "yellowgreen", + "yellowgreen-3", + "yellowgreen-4", + "yellowgreen-5", + "yellowgreen-6", + "yellowgreen-7", + "yellowgreen-8", + "yellowgreen-9", + "yelloworangebrown", + "yelloworangebrown-3", + "yelloworangebrown-4", + "yelloworangebrown-5", + "yelloworangebrown-6", + "yelloworangebrown-7", + "yelloworangebrown-8", + "yelloworangebrown-9", + "yelloworangered", + "yelloworangered-3", + "yelloworangered-4", + "yelloworangered-5", + "yelloworangered-6", + "yelloworangered-7", + "yelloworangered-8", + "yelloworangered-9", + "darkblue", + "darkblue-3", + "darkblue-4", + "darkblue-5", + "darkblue-6", + "darkblue-7", + "darkblue-8", + "darkblue-9", + "darkgold", + "darkgold-3", + "darkgold-4", + "darkgold-5", + "darkgold-6", + "darkgold-7", + "darkgold-8", + "darkgold-9", + "darkgreen", + "darkgreen-3", + "darkgreen-4", + "darkgreen-5", + "darkgreen-6", + "darkgreen-7", + "darkgreen-8", + "darkgreen-9", + "darkmulti", + "darkmulti-3", + "darkmulti-4", + "darkmulti-5", + "darkmulti-6", + "darkmulti-7", + "darkmulti-8", + "darkmulti-9", + "darkred", + "darkred-3", + "darkred-4", + "darkred-5", + "darkred-6", + "darkred-7", + "darkred-8", + "darkred-9", + "lightgreyred", + "lightgreyred-3", + "lightgreyred-4", + "lightgreyred-5", + "lightgreyred-6", + "lightgreyred-7", + "lightgreyred-8", + "lightgreyred-9", + "lightgreyteal", + "lightgreyteal-3", + "lightgreyteal-4", + "lightgreyteal-5", + "lightgreyteal-6", + "lightgreyteal-7", + "lightgreyteal-8", + "lightgreyteal-9", + "lightmulti", + "lightmulti-3", + "lightmulti-4", + "lightmulti-5", + "lightmulti-6", + "lightmulti-7", + "lightmulti-8", + "lightmulti-9", + "lightorange", + "lightorange-3", + "lightorange-4", + "lightorange-5", + "lightorange-6", + "lightorange-7", + "lightorange-8", + "lightorange-9", + "lighttealblue", + "lighttealblue-3", + "lighttealblue-4", + "lighttealblue-5", + "lighttealblue-6", + "lighttealblue-7", + "lighttealblue-8", + "lighttealblue-9", ], UndefinedType, ] = Undefined, type: Union[ - Union[ - Literal[ - "linear", - "log", - "pow", - "sqrt", - "symlog", - "identity", - "sequential", - "time", - "utc", - "quantile", - "quantize", - "threshold", - "bin-ordinal", - "ordinal", - "point", - "band", - ], - core.ScaleType, + core.SchemaBase, + Literal[ + "linear", + "log", + "pow", + "sqrt", + "symlog", + "identity", + "sequential", + "time", + "utc", + "quantile", + "quantize", + "threshold", + "bin-ordinal", + "ordinal", + "point", + "band", ], UndefinedType, ] = Undefined, zero: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Theta": @@ -65442,42 +57423,36 @@ def sort( @overload def sort( self, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, op: Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "Theta": @@ -65487,28 +57462,25 @@ def sort( def sort( self, encoding: Union[ - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, + core.SchemaBase, + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "Theta": @@ -65699,114 +57671,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -65836,271 +57788,217 @@ def type( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool, str], UndefinedType - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + bin: Union[str, bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, stack: Union[ - Union[ - None, - Union[Literal["zero", "center", "normalize"], core.StackOffset], - bool, - ], + bool, + None, + core.SchemaBase, + Literal["zero", "center", "normalize"], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -66125,8 +58023,6 @@ def __init__( class ThetaDatum(DatumChannelMixin, core.PositionDatumDefBase): """ThetaDatum schema wrapper - :class:`PositionDatumDefBase`, Dict - Parameters ---------- @@ -66134,9 +58030,9 @@ class ThetaDatum(DatumChannelMixin, core.PositionDatumDefBase): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -66149,7 +58045,7 @@ class ThetaDatum(DatumChannelMixin, core.PositionDatumDefBase): **See also:** `scale `__ documentation. - stack : :class:`StackOffset`, Literal['zero', 'center', 'normalize'], None, bool + stack : bool, None, :class:`StackOffset`, Literal['zero', 'center', 'normalize'] Type of stacking offset if the field should be stacked. ``stack`` is only applicable for ``x``, ``y``, ``theta``, and ``radius`` channels with continuous domains. For example, ``stack`` of ``y`` can be used to customize stacking for a vertical bar @@ -66180,7 +58076,7 @@ class ThetaDatum(DatumChannelMixin, core.PositionDatumDefBase): **See also:** `stack `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -66282,542 +58178,487 @@ def bandPosition(self, _: float, **kwds) -> "ThetaDatum": def scale( self, align: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, base: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - bins: Union[ - Union[Sequence[float], Union[core.ScaleBinParams, dict], core.ScaleBins], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + bins: Union[dict, core.SchemaBase, Sequence[float], UndefinedType] = Undefined, clamp: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, constant: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domain: Union[ - Union[ - Sequence[ - Union[ - None, - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - bool, - float, - str, - ] - ], - Union[core.DomainUnionWith, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ParameterExtent, core._Parameter, dict], - str, + str, + dict, + core._Parameter, + core.SchemaBase, + Sequence[ + Union[str, bool, dict, None, float, core._Parameter, core.SchemaBase] ], UndefinedType, ] = Undefined, domainMax: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMid: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMin: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainRaw: Union[ - Union[core.ExprRef, core._Parameter, dict], UndefinedType + dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, exponent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "rgb", - "lab", - "hcl", - "hsl", - "hsl-long", - "hcl-long", - "cubehelix", - "cubehelix-long", - ], - core.ScaleInterpolateEnum, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ScaleInterpolateParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "rgb", + "lab", + "hcl", + "hsl", + "hsl-long", + "hcl-long", + "cubehelix", + "cubehelix-long", ], UndefinedType, ] = Undefined, nice: Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.TimeIntervalStep, dict], - bool, - float, + bool, + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingInner: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingOuter: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, range: Union[ - Union[ - Sequence[ - Union[ - Sequence[float], - Union[core.ExprRef, core._Parameter, dict], - float, - str, - ] - ], + dict, + core.SchemaBase, + Sequence[ Union[ - Literal[ - "width", - "height", - "symbol", - "category", - "ordinal", - "ramp", - "diverging", - "heatmap", - ], - core.RangeEnum, - ], - Union[core.FieldRange, dict], + str, dict, float, core._Parameter, core.SchemaBase, Sequence[float] + ] + ], + Literal[ + "width", + "height", + "symbol", + "category", + "ordinal", + "ramp", + "diverging", + "heatmap", ], UndefinedType, ] = Undefined, rangeMax: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rangeMin: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, reverse: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, round: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, scheme: Union[ - Union[ - Union[ - Union[ - Literal[ - "accent", - "category10", - "category20", - "category20b", - "category20c", - "dark2", - "paired", - "pastel1", - "pastel2", - "set1", - "set2", - "set3", - "tableau10", - "tableau20", - ], - core.Categorical, - ], - Union[ - Literal[ - "blueorange", - "blueorange-3", - "blueorange-4", - "blueorange-5", - "blueorange-6", - "blueorange-7", - "blueorange-8", - "blueorange-9", - "blueorange-10", - "blueorange-11", - "brownbluegreen", - "brownbluegreen-3", - "brownbluegreen-4", - "brownbluegreen-5", - "brownbluegreen-6", - "brownbluegreen-7", - "brownbluegreen-8", - "brownbluegreen-9", - "brownbluegreen-10", - "brownbluegreen-11", - "purplegreen", - "purplegreen-3", - "purplegreen-4", - "purplegreen-5", - "purplegreen-6", - "purplegreen-7", - "purplegreen-8", - "purplegreen-9", - "purplegreen-10", - "purplegreen-11", - "pinkyellowgreen", - "pinkyellowgreen-3", - "pinkyellowgreen-4", - "pinkyellowgreen-5", - "pinkyellowgreen-6", - "pinkyellowgreen-7", - "pinkyellowgreen-8", - "pinkyellowgreen-9", - "pinkyellowgreen-10", - "pinkyellowgreen-11", - "purpleorange", - "purpleorange-3", - "purpleorange-4", - "purpleorange-5", - "purpleorange-6", - "purpleorange-7", - "purpleorange-8", - "purpleorange-9", - "purpleorange-10", - "purpleorange-11", - "redblue", - "redblue-3", - "redblue-4", - "redblue-5", - "redblue-6", - "redblue-7", - "redblue-8", - "redblue-9", - "redblue-10", - "redblue-11", - "redgrey", - "redgrey-3", - "redgrey-4", - "redgrey-5", - "redgrey-6", - "redgrey-7", - "redgrey-8", - "redgrey-9", - "redgrey-10", - "redgrey-11", - "redyellowblue", - "redyellowblue-3", - "redyellowblue-4", - "redyellowblue-5", - "redyellowblue-6", - "redyellowblue-7", - "redyellowblue-8", - "redyellowblue-9", - "redyellowblue-10", - "redyellowblue-11", - "redyellowgreen", - "redyellowgreen-3", - "redyellowgreen-4", - "redyellowgreen-5", - "redyellowgreen-6", - "redyellowgreen-7", - "redyellowgreen-8", - "redyellowgreen-9", - "redyellowgreen-10", - "redyellowgreen-11", - "spectral", - "spectral-3", - "spectral-4", - "spectral-5", - "spectral-6", - "spectral-7", - "spectral-8", - "spectral-9", - "spectral-10", - "spectral-11", - ], - core.Diverging, - ], - Union[ - Literal[ - "blues", - "tealblues", - "teals", - "greens", - "browns", - "greys", - "purples", - "warmgreys", - "reds", - "oranges", - ], - core.SequentialSingleHue, - ], - Union[Literal["rainbow", "sinebow"], core.Cyclical], - Union[ - Literal[ - "turbo", - "viridis", - "inferno", - "magma", - "plasma", - "cividis", - "bluegreen", - "bluegreen-3", - "bluegreen-4", - "bluegreen-5", - "bluegreen-6", - "bluegreen-7", - "bluegreen-8", - "bluegreen-9", - "bluepurple", - "bluepurple-3", - "bluepurple-4", - "bluepurple-5", - "bluepurple-6", - "bluepurple-7", - "bluepurple-8", - "bluepurple-9", - "goldgreen", - "goldgreen-3", - "goldgreen-4", - "goldgreen-5", - "goldgreen-6", - "goldgreen-7", - "goldgreen-8", - "goldgreen-9", - "goldorange", - "goldorange-3", - "goldorange-4", - "goldorange-5", - "goldorange-6", - "goldorange-7", - "goldorange-8", - "goldorange-9", - "goldred", - "goldred-3", - "goldred-4", - "goldred-5", - "goldred-6", - "goldred-7", - "goldred-8", - "goldred-9", - "greenblue", - "greenblue-3", - "greenblue-4", - "greenblue-5", - "greenblue-6", - "greenblue-7", - "greenblue-8", - "greenblue-9", - "orangered", - "orangered-3", - "orangered-4", - "orangered-5", - "orangered-6", - "orangered-7", - "orangered-8", - "orangered-9", - "purplebluegreen", - "purplebluegreen-3", - "purplebluegreen-4", - "purplebluegreen-5", - "purplebluegreen-6", - "purplebluegreen-7", - "purplebluegreen-8", - "purplebluegreen-9", - "purpleblue", - "purpleblue-3", - "purpleblue-4", - "purpleblue-5", - "purpleblue-6", - "purpleblue-7", - "purpleblue-8", - "purpleblue-9", - "purplered", - "purplered-3", - "purplered-4", - "purplered-5", - "purplered-6", - "purplered-7", - "purplered-8", - "purplered-9", - "redpurple", - "redpurple-3", - "redpurple-4", - "redpurple-5", - "redpurple-6", - "redpurple-7", - "redpurple-8", - "redpurple-9", - "yellowgreenblue", - "yellowgreenblue-3", - "yellowgreenblue-4", - "yellowgreenblue-5", - "yellowgreenblue-6", - "yellowgreenblue-7", - "yellowgreenblue-8", - "yellowgreenblue-9", - "yellowgreen", - "yellowgreen-3", - "yellowgreen-4", - "yellowgreen-5", - "yellowgreen-6", - "yellowgreen-7", - "yellowgreen-8", - "yellowgreen-9", - "yelloworangebrown", - "yelloworangebrown-3", - "yelloworangebrown-4", - "yelloworangebrown-5", - "yelloworangebrown-6", - "yelloworangebrown-7", - "yelloworangebrown-8", - "yelloworangebrown-9", - "yelloworangered", - "yelloworangered-3", - "yelloworangered-4", - "yelloworangered-5", - "yelloworangered-6", - "yelloworangered-7", - "yelloworangered-8", - "yelloworangered-9", - "darkblue", - "darkblue-3", - "darkblue-4", - "darkblue-5", - "darkblue-6", - "darkblue-7", - "darkblue-8", - "darkblue-9", - "darkgold", - "darkgold-3", - "darkgold-4", - "darkgold-5", - "darkgold-6", - "darkgold-7", - "darkgold-8", - "darkgold-9", - "darkgreen", - "darkgreen-3", - "darkgreen-4", - "darkgreen-5", - "darkgreen-6", - "darkgreen-7", - "darkgreen-8", - "darkgreen-9", - "darkmulti", - "darkmulti-3", - "darkmulti-4", - "darkmulti-5", - "darkmulti-6", - "darkmulti-7", - "darkmulti-8", - "darkmulti-9", - "darkred", - "darkred-3", - "darkred-4", - "darkred-5", - "darkred-6", - "darkred-7", - "darkred-8", - "darkred-9", - "lightgreyred", - "lightgreyred-3", - "lightgreyred-4", - "lightgreyred-5", - "lightgreyred-6", - "lightgreyred-7", - "lightgreyred-8", - "lightgreyred-9", - "lightgreyteal", - "lightgreyteal-3", - "lightgreyteal-4", - "lightgreyteal-5", - "lightgreyteal-6", - "lightgreyteal-7", - "lightgreyteal-8", - "lightgreyteal-9", - "lightmulti", - "lightmulti-3", - "lightmulti-4", - "lightmulti-5", - "lightmulti-6", - "lightmulti-7", - "lightmulti-8", - "lightmulti-9", - "lightorange", - "lightorange-3", - "lightorange-4", - "lightorange-5", - "lightorange-6", - "lightorange-7", - "lightorange-8", - "lightorange-9", - "lighttealblue", - "lighttealblue-3", - "lighttealblue-4", - "lighttealblue-5", - "lighttealblue-6", - "lighttealblue-7", - "lighttealblue-8", - "lighttealblue-9", - ], - core.SequentialMultiHue, - ], - core.ColorScheme, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.SchemeParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal["rainbow", "sinebow"], + Literal[ + "blues", + "tealblues", + "teals", + "greens", + "browns", + "greys", + "purples", + "warmgreys", + "reds", + "oranges", + ], + Literal[ + "accent", + "category10", + "category20", + "category20b", + "category20c", + "dark2", + "paired", + "pastel1", + "pastel2", + "set1", + "set2", + "set3", + "tableau10", + "tableau20", + ], + Literal[ + "blueorange", + "blueorange-3", + "blueorange-4", + "blueorange-5", + "blueorange-6", + "blueorange-7", + "blueorange-8", + "blueorange-9", + "blueorange-10", + "blueorange-11", + "brownbluegreen", + "brownbluegreen-3", + "brownbluegreen-4", + "brownbluegreen-5", + "brownbluegreen-6", + "brownbluegreen-7", + "brownbluegreen-8", + "brownbluegreen-9", + "brownbluegreen-10", + "brownbluegreen-11", + "purplegreen", + "purplegreen-3", + "purplegreen-4", + "purplegreen-5", + "purplegreen-6", + "purplegreen-7", + "purplegreen-8", + "purplegreen-9", + "purplegreen-10", + "purplegreen-11", + "pinkyellowgreen", + "pinkyellowgreen-3", + "pinkyellowgreen-4", + "pinkyellowgreen-5", + "pinkyellowgreen-6", + "pinkyellowgreen-7", + "pinkyellowgreen-8", + "pinkyellowgreen-9", + "pinkyellowgreen-10", + "pinkyellowgreen-11", + "purpleorange", + "purpleorange-3", + "purpleorange-4", + "purpleorange-5", + "purpleorange-6", + "purpleorange-7", + "purpleorange-8", + "purpleorange-9", + "purpleorange-10", + "purpleorange-11", + "redblue", + "redblue-3", + "redblue-4", + "redblue-5", + "redblue-6", + "redblue-7", + "redblue-8", + "redblue-9", + "redblue-10", + "redblue-11", + "redgrey", + "redgrey-3", + "redgrey-4", + "redgrey-5", + "redgrey-6", + "redgrey-7", + "redgrey-8", + "redgrey-9", + "redgrey-10", + "redgrey-11", + "redyellowblue", + "redyellowblue-3", + "redyellowblue-4", + "redyellowblue-5", + "redyellowblue-6", + "redyellowblue-7", + "redyellowblue-8", + "redyellowblue-9", + "redyellowblue-10", + "redyellowblue-11", + "redyellowgreen", + "redyellowgreen-3", + "redyellowgreen-4", + "redyellowgreen-5", + "redyellowgreen-6", + "redyellowgreen-7", + "redyellowgreen-8", + "redyellowgreen-9", + "redyellowgreen-10", + "redyellowgreen-11", + "spectral", + "spectral-3", + "spectral-4", + "spectral-5", + "spectral-6", + "spectral-7", + "spectral-8", + "spectral-9", + "spectral-10", + "spectral-11", + ], + Literal[ + "turbo", + "viridis", + "inferno", + "magma", + "plasma", + "cividis", + "bluegreen", + "bluegreen-3", + "bluegreen-4", + "bluegreen-5", + "bluegreen-6", + "bluegreen-7", + "bluegreen-8", + "bluegreen-9", + "bluepurple", + "bluepurple-3", + "bluepurple-4", + "bluepurple-5", + "bluepurple-6", + "bluepurple-7", + "bluepurple-8", + "bluepurple-9", + "goldgreen", + "goldgreen-3", + "goldgreen-4", + "goldgreen-5", + "goldgreen-6", + "goldgreen-7", + "goldgreen-8", + "goldgreen-9", + "goldorange", + "goldorange-3", + "goldorange-4", + "goldorange-5", + "goldorange-6", + "goldorange-7", + "goldorange-8", + "goldorange-9", + "goldred", + "goldred-3", + "goldred-4", + "goldred-5", + "goldred-6", + "goldred-7", + "goldred-8", + "goldred-9", + "greenblue", + "greenblue-3", + "greenblue-4", + "greenblue-5", + "greenblue-6", + "greenblue-7", + "greenblue-8", + "greenblue-9", + "orangered", + "orangered-3", + "orangered-4", + "orangered-5", + "orangered-6", + "orangered-7", + "orangered-8", + "orangered-9", + "purplebluegreen", + "purplebluegreen-3", + "purplebluegreen-4", + "purplebluegreen-5", + "purplebluegreen-6", + "purplebluegreen-7", + "purplebluegreen-8", + "purplebluegreen-9", + "purpleblue", + "purpleblue-3", + "purpleblue-4", + "purpleblue-5", + "purpleblue-6", + "purpleblue-7", + "purpleblue-8", + "purpleblue-9", + "purplered", + "purplered-3", + "purplered-4", + "purplered-5", + "purplered-6", + "purplered-7", + "purplered-8", + "purplered-9", + "redpurple", + "redpurple-3", + "redpurple-4", + "redpurple-5", + "redpurple-6", + "redpurple-7", + "redpurple-8", + "redpurple-9", + "yellowgreenblue", + "yellowgreenblue-3", + "yellowgreenblue-4", + "yellowgreenblue-5", + "yellowgreenblue-6", + "yellowgreenblue-7", + "yellowgreenblue-8", + "yellowgreenblue-9", + "yellowgreen", + "yellowgreen-3", + "yellowgreen-4", + "yellowgreen-5", + "yellowgreen-6", + "yellowgreen-7", + "yellowgreen-8", + "yellowgreen-9", + "yelloworangebrown", + "yelloworangebrown-3", + "yelloworangebrown-4", + "yelloworangebrown-5", + "yelloworangebrown-6", + "yelloworangebrown-7", + "yelloworangebrown-8", + "yelloworangebrown-9", + "yelloworangered", + "yelloworangered-3", + "yelloworangered-4", + "yelloworangered-5", + "yelloworangered-6", + "yelloworangered-7", + "yelloworangered-8", + "yelloworangered-9", + "darkblue", + "darkblue-3", + "darkblue-4", + "darkblue-5", + "darkblue-6", + "darkblue-7", + "darkblue-8", + "darkblue-9", + "darkgold", + "darkgold-3", + "darkgold-4", + "darkgold-5", + "darkgold-6", + "darkgold-7", + "darkgold-8", + "darkgold-9", + "darkgreen", + "darkgreen-3", + "darkgreen-4", + "darkgreen-5", + "darkgreen-6", + "darkgreen-7", + "darkgreen-8", + "darkgreen-9", + "darkmulti", + "darkmulti-3", + "darkmulti-4", + "darkmulti-5", + "darkmulti-6", + "darkmulti-7", + "darkmulti-8", + "darkmulti-9", + "darkred", + "darkred-3", + "darkred-4", + "darkred-5", + "darkred-6", + "darkred-7", + "darkred-8", + "darkred-9", + "lightgreyred", + "lightgreyred-3", + "lightgreyred-4", + "lightgreyred-5", + "lightgreyred-6", + "lightgreyred-7", + "lightgreyred-8", + "lightgreyred-9", + "lightgreyteal", + "lightgreyteal-3", + "lightgreyteal-4", + "lightgreyteal-5", + "lightgreyteal-6", + "lightgreyteal-7", + "lightgreyteal-8", + "lightgreyteal-9", + "lightmulti", + "lightmulti-3", + "lightmulti-4", + "lightmulti-5", + "lightmulti-6", + "lightmulti-7", + "lightmulti-8", + "lightmulti-9", + "lightorange", + "lightorange-3", + "lightorange-4", + "lightorange-5", + "lightorange-6", + "lightorange-7", + "lightorange-8", + "lightorange-9", + "lighttealblue", + "lighttealblue-3", + "lighttealblue-4", + "lighttealblue-5", + "lighttealblue-6", + "lighttealblue-7", + "lighttealblue-8", + "lighttealblue-9", ], UndefinedType, ] = Undefined, type: Union[ - Union[ - Literal[ - "linear", - "log", - "pow", - "sqrt", - "symlog", - "identity", - "sequential", - "time", - "utc", - "quantile", - "quantize", - "threshold", - "bin-ordinal", - "ordinal", - "point", - "band", - ], - core.ScaleType, + core.SchemaBase, + Literal[ + "linear", + "log", + "pow", + "sqrt", + "symlog", + "identity", + "sequential", + "time", + "utc", + "quantile", + "quantize", + "threshold", + "bin-ordinal", + "ordinal", + "point", + "band", ], UndefinedType, ] = Undefined, zero: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "ThetaDatum": @@ -66863,23 +58704,20 @@ def __init__( self, datum, bandPosition: Union[float, UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, stack: Union[ - Union[ - None, - Union[Literal["zero", "center", "normalize"], core.StackOffset], - bool, - ], + bool, + None, + core.SchemaBase, + Literal["zero", "center", "normalize"], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -66898,15 +58736,13 @@ def __init__( @with_property_setters class ThetaValue(ValueChannelMixin, core.PositionValueDef): """ThetaValue schema wrapper - - :class:`PositionValueDef`, Dict[required=[value]] Definition object for a constant value (primitive value or gradient definition) of an encoding channel. Parameters ---------- - value : :class:`ExprRef`, Dict[required=[expr]], float, str + value : str, dict, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -66922,17 +58758,15 @@ def __init__(self, value, **kwds): @with_property_setters class Theta2(FieldChannelMixin, core.SecondaryFieldDef): """Theta2 schema wrapper - - :class:`SecondaryFieldDef`, Dict[required=[shorthand]] A field definition of a secondary channel that shares a scale with another primary channel. For example, ``x2``, ``xError`` and ``xError2`` share the same scale with ``x``. Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -66965,7 +58799,7 @@ class Theta2(FieldChannelMixin, core.SecondaryFieldDef): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -66980,7 +58814,7 @@ class Theta2(FieldChannelMixin, core.SecondaryFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -66989,7 +58823,7 @@ class Theta2(FieldChannelMixin, core.SecondaryFieldDef): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -67046,17 +58880,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Theta2": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Theta2": ... @@ -67251,114 +59081,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -67382,200 +59192,166 @@ def title(self, _: None, **kwds) -> "Theta2": def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, bin: Union[None, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, **kwds, ): @@ -67595,8 +59371,6 @@ def __init__( class Theta2Datum(DatumChannelMixin, core.DatumDef): """Theta2Datum schema wrapper - :class:`DatumDef`, Dict - Parameters ---------- @@ -67604,9 +59378,9 @@ class Theta2Datum(DatumChannelMixin, core.DatumDef): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -67729,13 +59503,11 @@ def __init__( datum, bandPosition: Union[float, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -67748,15 +59520,13 @@ def __init__( @with_property_setters class Theta2Value(ValueChannelMixin, core.PositionValueDef): """Theta2Value schema wrapper - - :class:`PositionValueDef`, Dict[required=[value]] Definition object for a constant value (primitive value or gradient definition) of an encoding channel. Parameters ---------- - value : :class:`ExprRef`, Dict[required=[expr]], float, str + value : str, dict, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -67773,14 +59543,12 @@ def __init__(self, value, **kwds): class Tooltip(FieldChannelMixin, core.StringFieldDefWithCondition): """Tooltip schema wrapper - :class:`StringFieldDefWithCondition`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -67792,7 +59560,7 @@ class Tooltip(FieldChannelMixin, core.StringFieldDefWithCondition): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool, str + bin : str, bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -67813,14 +59581,14 @@ class Tooltip(FieldChannelMixin, core.StringFieldDefWithCondition): **See also:** `bin `__ documentation. - condition : :class:`ConditionalParameterValueDefstringExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringExprRef`, Sequence[:class:`ConditionalParameterValueDefstringExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringExprRef`] + condition : dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`, Sequence[dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -67835,7 +59603,7 @@ class Tooltip(FieldChannelMixin, core.StringFieldDefWithCondition): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - format : :class:`Dict`, Dict, str + format : str, dict, :class:`Dict` When used with the default ``"number"`` and ``"time"`` format type, the text formatting pattern for labels of guides (axes, legends, headers) and text marks. @@ -67869,7 +59637,7 @@ class Tooltip(FieldChannelMixin, core.StringFieldDefWithCondition): * ``"time"`` for temporal fields and ordinal and nominal fields with ``timeUnit``. * ``"number"`` for quantitative fields as well as ordinal and nominal fields without ``timeUnit``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -67878,7 +59646,7 @@ class Tooltip(FieldChannelMixin, core.StringFieldDefWithCondition): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -68004,17 +59772,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Tooltip": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Tooltip": ... @@ -68034,12 +59798,7 @@ def bin( binned: Union[bool, UndefinedType] = Undefined, divide: Union[Sequence[float], UndefinedType] = Undefined, extent: Union[ - Union[ - Sequence[float], - Union[core.ParameterExtent, core._Parameter, dict], - core.BinExtent, - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, maxbins: Union[float, UndefinedType] = Undefined, minstep: Union[float, UndefinedType] = Undefined, @@ -68061,30 +59820,9 @@ def bin(self, _: None, **kwds) -> "Tooltip": @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Tooltip": @@ -68094,9 +59832,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Tooltip": @@ -68303,114 +60041,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -68440,227 +60158,175 @@ def type( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool, str], UndefinedType - ] = Undefined, + bin: Union[str, bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefstringExprRef, dict], - Union[core.ConditionalPredicateValueDefstringExprRef, dict], - core.ConditionalValueDefstringExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterValueDefstringExprRef, dict], - Union[core.ConditionalPredicateValueDefstringExprRef, dict], - core.ConditionalValueDefstringExprRef, - ], - ], - UndefinedType, - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, - format: Union[Union[Union[core.Dict, dict], str], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + format: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -68685,14 +60351,12 @@ def __init__( class TooltipValue(ValueChannelMixin, core.StringValueDefWithCondition): """TooltipValue schema wrapper - :class:`StringValueDefWithCondition`, Dict - Parameters ---------- - condition : :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, Dict[required=[param]], :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Dict[required=[test]], :class:`ConditionalParameterValueDefstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringnullExprRef`, Sequence[:class:`ConditionalParameterValueDefstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringnullExprRef`] + condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : :class:`ExprRef`, Dict[required=[expr]], None, str + value : str, dict, None, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -68705,283 +60369,209 @@ class TooltipValue(ValueChannelMixin, core.StringValueDefWithCondition): def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, - ], - UndefinedType, - ] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", + ], + UndefinedType, + ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -68993,46 +60583,24 @@ def condition( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union[None, bool, core.PrimitiveValue, float, str], - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.RepeatRef, dict], - ], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, + UndefinedType, + ] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -69043,263 +60611,210 @@ def condition( def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -69311,26 +60826,25 @@ def condition( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union[None, bool, core.PrimitiveValue, float, str], - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.RepeatRef, dict], - ], + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, UndefinedType, ] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -69340,30 +60854,9 @@ def condition( @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[None, Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "TooltipValue": @@ -69373,9 +60866,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[None, Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "TooltipValue": @@ -69391,26 +60884,7 @@ def __init__( self, value, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefstringnullExprRef, dict], - Union[core.ConditionalPredicateValueDefstringnullExprRef, dict], - core.ConditionalValueDefstringnullExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterMarkPropFieldOrDatumDef, dict], - Union[core.ConditionalPredicateMarkPropFieldOrDatumDef, dict], - core.ConditionalMarkPropFieldOrDatumDef, - ], - Union[ - Union[core.ConditionalParameterValueDefstringnullExprRef, dict], - Union[core.ConditionalPredicateValueDefstringnullExprRef, dict], - core.ConditionalValueDefstringnullExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, **kwds, ): @@ -69421,14 +60895,12 @@ def __init__( class Url(FieldChannelMixin, core.StringFieldDefWithCondition): """Url schema wrapper - :class:`StringFieldDefWithCondition`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -69440,7 +60912,7 @@ class Url(FieldChannelMixin, core.StringFieldDefWithCondition): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool, str + bin : str, bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -69461,14 +60933,14 @@ class Url(FieldChannelMixin, core.StringFieldDefWithCondition): **See also:** `bin `__ documentation. - condition : :class:`ConditionalParameterValueDefstringExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringExprRef`, Sequence[:class:`ConditionalParameterValueDefstringExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringExprRef`] + condition : dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`, Sequence[dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -69483,7 +60955,7 @@ class Url(FieldChannelMixin, core.StringFieldDefWithCondition): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - format : :class:`Dict`, Dict, str + format : str, dict, :class:`Dict` When used with the default ``"number"`` and ``"time"`` format type, the text formatting pattern for labels of guides (axes, legends, headers) and text marks. @@ -69517,7 +60989,7 @@ class Url(FieldChannelMixin, core.StringFieldDefWithCondition): * ``"time"`` for temporal fields and ordinal and nominal fields with ``timeUnit``. * ``"number"`` for quantitative fields as well as ordinal and nominal fields without ``timeUnit``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -69526,7 +60998,7 @@ class Url(FieldChannelMixin, core.StringFieldDefWithCondition): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -69652,17 +61124,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Url": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Url": ... @@ -69682,12 +61150,7 @@ def bin( binned: Union[bool, UndefinedType] = Undefined, divide: Union[Sequence[float], UndefinedType] = Undefined, extent: Union[ - Union[ - Sequence[float], - Union[core.ParameterExtent, core._Parameter, dict], - core.BinExtent, - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, maxbins: Union[float, UndefinedType] = Undefined, minstep: Union[float, UndefinedType] = Undefined, @@ -69709,30 +61172,9 @@ def bin(self, _: None, **kwds) -> "Url": @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Url": @@ -69742,9 +61184,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Url": @@ -69951,114 +61393,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -70088,227 +61510,175 @@ def type( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool, str], UndefinedType - ] = Undefined, + bin: Union[str, bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefstringExprRef, dict], - Union[core.ConditionalPredicateValueDefstringExprRef, dict], - core.ConditionalValueDefstringExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterValueDefstringExprRef, dict], - Union[core.ConditionalPredicateValueDefstringExprRef, dict], - core.ConditionalValueDefstringExprRef, - ], - ], - UndefinedType, - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, - format: Union[Union[Union[core.Dict, dict], str], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + format: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -70333,14 +61703,12 @@ def __init__( class UrlValue(ValueChannelMixin, core.StringValueDefWithCondition): """UrlValue schema wrapper - :class:`StringValueDefWithCondition`, Dict - Parameters ---------- - condition : :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, Dict[required=[param]], :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Dict[required=[test]], :class:`ConditionalParameterValueDefstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringnullExprRef`, Sequence[:class:`ConditionalParameterValueDefstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringnullExprRef`] + condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : :class:`ExprRef`, Dict[required=[expr]], None, str + value : str, dict, None, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -70353,283 +61721,209 @@ class UrlValue(ValueChannelMixin, core.StringValueDefWithCondition): def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, - ], - UndefinedType, - ] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", + ], + UndefinedType, + ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -70641,46 +61935,24 @@ def condition( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union[None, bool, core.PrimitiveValue, float, str], - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.RepeatRef, dict], - ], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, + UndefinedType, + ] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -70691,263 +61963,210 @@ def condition( def condition( self, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -70959,26 +62178,25 @@ def condition( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union[None, bool, core.PrimitiveValue, float, str], - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.RepeatRef, dict], - ], + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, UndefinedType, ] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - legend: Union[Union[None, Union[core.Legend, dict]], UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + legend: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -70988,30 +62206,9 @@ def condition( @overload def condition( self, - test: Union[ - Union[ - Union[ - Union[core.FieldEqualPredicate, dict], - Union[core.FieldGTEPredicate, dict], - Union[core.FieldGTPredicate, dict], - Union[core.FieldLTEPredicate, dict], - Union[core.FieldLTPredicate, dict], - Union[core.FieldOneOfPredicate, dict], - Union[core.FieldRangePredicate, dict], - Union[core.FieldValidPredicate, dict], - Union[core.ParameterPredicate, dict], - core.Predicate, - str, - ], - Union[core.LogicalAndPredicate, dict], - Union[core.LogicalNotPredicate, dict], - Union[core.LogicalOrPredicate, dict], - core.PredicateComposition, - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[None, Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "UrlValue": @@ -71021,9 +62218,9 @@ def condition( def condition( self, empty: Union[bool, UndefinedType] = Undefined, - param: Union[Union[core.ParameterName, str], UndefinedType] = Undefined, + param: Union[str, core.SchemaBase, UndefinedType] = Undefined, value: Union[ - Union[None, Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, None, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "UrlValue": @@ -71039,26 +62236,7 @@ def __init__( self, value, condition: Union[ - Union[ - Sequence[ - Union[ - Union[core.ConditionalParameterValueDefstringnullExprRef, dict], - Union[core.ConditionalPredicateValueDefstringnullExprRef, dict], - core.ConditionalValueDefstringnullExprRef, - ] - ], - Union[ - Union[core.ConditionalParameterMarkPropFieldOrDatumDef, dict], - Union[core.ConditionalPredicateMarkPropFieldOrDatumDef, dict], - core.ConditionalMarkPropFieldOrDatumDef, - ], - Union[ - Union[core.ConditionalParameterValueDefstringnullExprRef, dict], - Union[core.ConditionalPredicateValueDefstringnullExprRef, dict], - core.ConditionalValueDefstringnullExprRef, - ], - ], - UndefinedType, + dict, core.SchemaBase, Sequence[Union[dict, core.SchemaBase]], UndefinedType ] = Undefined, **kwds, ): @@ -71069,14 +62247,12 @@ def __init__( class X(FieldChannelMixin, core.PositionFieldDef): """X schema wrapper - :class:`PositionFieldDef`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -71084,7 +62260,7 @@ class X(FieldChannelMixin, core.PositionFieldDef): **See also:** `aggregate `__ documentation. - axis : :class:`Axis`, Dict, None + axis : dict, None, :class:`Axis` An object defining properties of axis's gridlines, ticks and labels. If ``null``, the axis for the encoding channel will be removed. @@ -71097,7 +62273,7 @@ class X(FieldChannelMixin, core.PositionFieldDef): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool, str + bin : str, bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -71118,7 +62294,7 @@ class X(FieldChannelMixin, core.PositionFieldDef): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -71133,7 +62309,7 @@ class X(FieldChannelMixin, core.PositionFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - impute : :class:`ImputeParams`, Dict, None + impute : dict, None, :class:`ImputeParams` An object defining the properties of the Impute Operation to be applied. The field value of the other positional channel is taken as ``key`` of the ``Impute`` Operation. The field of the ``color`` channel if specified is used as ``groupby`` of @@ -71141,7 +62317,7 @@ class X(FieldChannelMixin, core.PositionFieldDef): **See also:** `impute `__ documentation. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -71154,7 +62330,7 @@ class X(FieldChannelMixin, core.PositionFieldDef): **See also:** `scale `__ documentation. - sort : :class:`AllSortString`, :class:`SortByChannelDesc`, Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'], :class:`SortByChannel`, Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], :class:`SortOrder`, Literal['ascending', 'descending'], :class:`EncodingSortField`, Dict, :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str], :class:`SortByEncoding`, Dict[required=[encoding]], :class:`Sort`, None + sort : dict, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'], Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -71193,7 +62369,7 @@ class X(FieldChannelMixin, core.PositionFieldDef): **See also:** `sort `__ documentation. - stack : :class:`StackOffset`, Literal['zero', 'center', 'normalize'], None, bool + stack : bool, None, :class:`StackOffset`, Literal['zero', 'center', 'normalize'] Type of stacking offset if the field should be stacked. ``stack`` is only applicable for ``x``, ``y``, ``theta``, and ``radius`` channels with continuous domains. For example, ``stack`` of ``y`` can be used to customize stacking for a vertical bar @@ -71224,7 +62400,7 @@ class X(FieldChannelMixin, core.PositionFieldDef): **See also:** `stack `__ documentation. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -71233,7 +62409,7 @@ class X(FieldChannelMixin, core.PositionFieldDef): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -71359,17 +62535,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "X": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "X": ... @@ -71377,1236 +62549,1086 @@ def aggregate( def axis( self, aria: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, bandPosition: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, description: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domain: Union[bool, UndefinedType] = Undefined, domainCap: Union[ - Union[ - Union[Literal["butt", "round", "square"], core.StrokeCap], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, domainColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, domainDash: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, domainDashOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - format: Union[Union[Union[core.Dict, dict], str], UndefinedType] = Undefined, + format: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, grid: Union[bool, UndefinedType] = Undefined, gridCap: Union[ - Union[ - Union[Literal["butt", "round", "square"], core.StrokeCap], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, gridColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ConditionalAxisColor, dict], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, gridDash: Union[ - Union[ - Sequence[float], - Union[core.ConditionalAxisNumberArray, dict], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, gridDashOffset: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gridOpacity: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gridWidth: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ConditionalAxisLabelAlign, dict], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, labelAngle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ConditionalAxisLabelBaseline, dict], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, labelBound: Union[ - Union[Union[bool, float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + bool, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ConditionalAxisColor, dict], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, labelExpr: Union[str, UndefinedType] = Undefined, - labelFlush: Union[Union[bool, float], UndefinedType] = Undefined, + labelFlush: Union[bool, float, UndefinedType] = Undefined, labelFlushOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFont: Union[ - Union[ - Union[core.ConditionalAxisString, dict], - Union[core.ExprRef, core._Parameter, dict], - str, - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontSize: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontStyle: Union[ - Union[ - Union[core.ConditionalAxisLabelFontStyle, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.FontStyle, str], - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ConditionalAxisLabelFontWeight, dict], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, labelLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelLineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOffset: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOpacity: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOverlap: Union[ - Union[ - Union[bool, core.LabelOverlap, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelPadding: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelSeparation: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labels: Union[bool, UndefinedType] = Undefined, maxExtent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, minExtent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, orient: Union[ - Union[ - Union[Literal["top", "bottom", "left", "right"], core.AxisOrient], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "bottom", "left", "right"], UndefinedType, ] = Undefined, position: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - style: Union[Union[Sequence[str], str], UndefinedType] = Undefined, + style: Union[str, Sequence[str], UndefinedType] = Undefined, tickBand: Union[ - Union[ - Literal["center", "extent"], Union[core.ExprRef, core._Parameter, dict] - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["center", "extent"], UndefinedType, ] = Undefined, tickCap: Union[ - Union[ - Union[Literal["butt", "round", "square"], core.StrokeCap], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, tickColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ConditionalAxisColor, dict], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, tickCount: Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.TimeIntervalStep, dict], - float, + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, tickDash: Union[ - Union[ - Sequence[float], - Union[core.ConditionalAxisNumberArray, dict], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, tickDashOffset: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickExtra: Union[bool, UndefinedType] = Undefined, tickMinStep: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickOpacity: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickRound: Union[bool, UndefinedType] = Undefined, tickSize: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickWidth: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ticks: Union[bool, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, titleAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, titleAnchor: Union[ - Union[ - Union[Literal[None, "start", "middle", "end"], core.TitleAnchor], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal[None, "start", "middle", "end"], UndefinedType, ] = Undefined, titleAngle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, titleColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, titleFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, titleLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleLineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titlePadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleX: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleY: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, translate: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, values: Union[ - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + Sequence[str], + Sequence[bool], + core._Parameter, + core.SchemaBase, + Sequence[float], + Sequence[Union[dict, core.SchemaBase]], UndefinedType, ] = Undefined, zindex: Union[float, UndefinedType] = Undefined, @@ -72634,12 +63656,7 @@ def bin( binned: Union[bool, UndefinedType] = Undefined, divide: Union[Sequence[float], UndefinedType] = Undefined, extent: Union[ - Union[ - Sequence[float], - Union[core.ParameterExtent, core._Parameter, dict], - core.BinExtent, - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, maxbins: Union[float, UndefinedType] = Undefined, minstep: Union[float, UndefinedType] = Undefined, @@ -72676,11 +63693,10 @@ def field( def impute( self, frame: Union[Sequence[Union[None, float]], UndefinedType] = Undefined, - keyvals: Union[ - Union[Sequence[Any], Union[core.ImputeSequence, dict]], UndefinedType - ] = Undefined, + keyvals: Union[dict, Sequence[Any], core.SchemaBase, UndefinedType] = Undefined, method: Union[ - Union[Literal["value", "median", "max", "min", "mean"], core.ImputeMethod], + core.SchemaBase, + Literal["value", "median", "max", "min", "mean"], UndefinedType, ] = Undefined, value: Union[Any, UndefinedType] = Undefined, @@ -72696,542 +63712,487 @@ def impute(self, _: None, **kwds) -> "X": def scale( self, align: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, base: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - bins: Union[ - Union[Sequence[float], Union[core.ScaleBinParams, dict], core.ScaleBins], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + bins: Union[dict, core.SchemaBase, Sequence[float], UndefinedType] = Undefined, clamp: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, constant: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domain: Union[ - Union[ - Sequence[ - Union[ - None, - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - bool, - float, - str, - ] - ], - Union[core.DomainUnionWith, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ParameterExtent, core._Parameter, dict], - str, + str, + dict, + core._Parameter, + core.SchemaBase, + Sequence[ + Union[str, bool, dict, None, float, core._Parameter, core.SchemaBase] ], UndefinedType, ] = Undefined, domainMax: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMid: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMin: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainRaw: Union[ - Union[core.ExprRef, core._Parameter, dict], UndefinedType + dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, exponent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "rgb", - "lab", - "hcl", - "hsl", - "hsl-long", - "hcl-long", - "cubehelix", - "cubehelix-long", - ], - core.ScaleInterpolateEnum, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ScaleInterpolateParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "rgb", + "lab", + "hcl", + "hsl", + "hsl-long", + "hcl-long", + "cubehelix", + "cubehelix-long", ], UndefinedType, ] = Undefined, nice: Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.TimeIntervalStep, dict], - bool, - float, + bool, + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingInner: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingOuter: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, range: Union[ - Union[ - Sequence[ - Union[ - Sequence[float], - Union[core.ExprRef, core._Parameter, dict], - float, - str, - ] - ], + dict, + core.SchemaBase, + Sequence[ Union[ - Literal[ - "width", - "height", - "symbol", - "category", - "ordinal", - "ramp", - "diverging", - "heatmap", - ], - core.RangeEnum, - ], - Union[core.FieldRange, dict], + str, dict, float, core._Parameter, core.SchemaBase, Sequence[float] + ] + ], + Literal[ + "width", + "height", + "symbol", + "category", + "ordinal", + "ramp", + "diverging", + "heatmap", ], UndefinedType, ] = Undefined, rangeMax: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rangeMin: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, reverse: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, round: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, scheme: Union[ - Union[ - Union[ - Union[ - Literal[ - "accent", - "category10", - "category20", - "category20b", - "category20c", - "dark2", - "paired", - "pastel1", - "pastel2", - "set1", - "set2", - "set3", - "tableau10", - "tableau20", - ], - core.Categorical, - ], - Union[ - Literal[ - "blueorange", - "blueorange-3", - "blueorange-4", - "blueorange-5", - "blueorange-6", - "blueorange-7", - "blueorange-8", - "blueorange-9", - "blueorange-10", - "blueorange-11", - "brownbluegreen", - "brownbluegreen-3", - "brownbluegreen-4", - "brownbluegreen-5", - "brownbluegreen-6", - "brownbluegreen-7", - "brownbluegreen-8", - "brownbluegreen-9", - "brownbluegreen-10", - "brownbluegreen-11", - "purplegreen", - "purplegreen-3", - "purplegreen-4", - "purplegreen-5", - "purplegreen-6", - "purplegreen-7", - "purplegreen-8", - "purplegreen-9", - "purplegreen-10", - "purplegreen-11", - "pinkyellowgreen", - "pinkyellowgreen-3", - "pinkyellowgreen-4", - "pinkyellowgreen-5", - "pinkyellowgreen-6", - "pinkyellowgreen-7", - "pinkyellowgreen-8", - "pinkyellowgreen-9", - "pinkyellowgreen-10", - "pinkyellowgreen-11", - "purpleorange", - "purpleorange-3", - "purpleorange-4", - "purpleorange-5", - "purpleorange-6", - "purpleorange-7", - "purpleorange-8", - "purpleorange-9", - "purpleorange-10", - "purpleorange-11", - "redblue", - "redblue-3", - "redblue-4", - "redblue-5", - "redblue-6", - "redblue-7", - "redblue-8", - "redblue-9", - "redblue-10", - "redblue-11", - "redgrey", - "redgrey-3", - "redgrey-4", - "redgrey-5", - "redgrey-6", - "redgrey-7", - "redgrey-8", - "redgrey-9", - "redgrey-10", - "redgrey-11", - "redyellowblue", - "redyellowblue-3", - "redyellowblue-4", - "redyellowblue-5", - "redyellowblue-6", - "redyellowblue-7", - "redyellowblue-8", - "redyellowblue-9", - "redyellowblue-10", - "redyellowblue-11", - "redyellowgreen", - "redyellowgreen-3", - "redyellowgreen-4", - "redyellowgreen-5", - "redyellowgreen-6", - "redyellowgreen-7", - "redyellowgreen-8", - "redyellowgreen-9", - "redyellowgreen-10", - "redyellowgreen-11", - "spectral", - "spectral-3", - "spectral-4", - "spectral-5", - "spectral-6", - "spectral-7", - "spectral-8", - "spectral-9", - "spectral-10", - "spectral-11", - ], - core.Diverging, - ], - Union[ - Literal[ - "blues", - "tealblues", - "teals", - "greens", - "browns", - "greys", - "purples", - "warmgreys", - "reds", - "oranges", - ], - core.SequentialSingleHue, - ], - Union[Literal["rainbow", "sinebow"], core.Cyclical], - Union[ - Literal[ - "turbo", - "viridis", - "inferno", - "magma", - "plasma", - "cividis", - "bluegreen", - "bluegreen-3", - "bluegreen-4", - "bluegreen-5", - "bluegreen-6", - "bluegreen-7", - "bluegreen-8", - "bluegreen-9", - "bluepurple", - "bluepurple-3", - "bluepurple-4", - "bluepurple-5", - "bluepurple-6", - "bluepurple-7", - "bluepurple-8", - "bluepurple-9", - "goldgreen", - "goldgreen-3", - "goldgreen-4", - "goldgreen-5", - "goldgreen-6", - "goldgreen-7", - "goldgreen-8", - "goldgreen-9", - "goldorange", - "goldorange-3", - "goldorange-4", - "goldorange-5", - "goldorange-6", - "goldorange-7", - "goldorange-8", - "goldorange-9", - "goldred", - "goldred-3", - "goldred-4", - "goldred-5", - "goldred-6", - "goldred-7", - "goldred-8", - "goldred-9", - "greenblue", - "greenblue-3", - "greenblue-4", - "greenblue-5", - "greenblue-6", - "greenblue-7", - "greenblue-8", - "greenblue-9", - "orangered", - "orangered-3", - "orangered-4", - "orangered-5", - "orangered-6", - "orangered-7", - "orangered-8", - "orangered-9", - "purplebluegreen", - "purplebluegreen-3", - "purplebluegreen-4", - "purplebluegreen-5", - "purplebluegreen-6", - "purplebluegreen-7", - "purplebluegreen-8", - "purplebluegreen-9", - "purpleblue", - "purpleblue-3", - "purpleblue-4", - "purpleblue-5", - "purpleblue-6", - "purpleblue-7", - "purpleblue-8", - "purpleblue-9", - "purplered", - "purplered-3", - "purplered-4", - "purplered-5", - "purplered-6", - "purplered-7", - "purplered-8", - "purplered-9", - "redpurple", - "redpurple-3", - "redpurple-4", - "redpurple-5", - "redpurple-6", - "redpurple-7", - "redpurple-8", - "redpurple-9", - "yellowgreenblue", - "yellowgreenblue-3", - "yellowgreenblue-4", - "yellowgreenblue-5", - "yellowgreenblue-6", - "yellowgreenblue-7", - "yellowgreenblue-8", - "yellowgreenblue-9", - "yellowgreen", - "yellowgreen-3", - "yellowgreen-4", - "yellowgreen-5", - "yellowgreen-6", - "yellowgreen-7", - "yellowgreen-8", - "yellowgreen-9", - "yelloworangebrown", - "yelloworangebrown-3", - "yelloworangebrown-4", - "yelloworangebrown-5", - "yelloworangebrown-6", - "yelloworangebrown-7", - "yelloworangebrown-8", - "yelloworangebrown-9", - "yelloworangered", - "yelloworangered-3", - "yelloworangered-4", - "yelloworangered-5", - "yelloworangered-6", - "yelloworangered-7", - "yelloworangered-8", - "yelloworangered-9", - "darkblue", - "darkblue-3", - "darkblue-4", - "darkblue-5", - "darkblue-6", - "darkblue-7", - "darkblue-8", - "darkblue-9", - "darkgold", - "darkgold-3", - "darkgold-4", - "darkgold-5", - "darkgold-6", - "darkgold-7", - "darkgold-8", - "darkgold-9", - "darkgreen", - "darkgreen-3", - "darkgreen-4", - "darkgreen-5", - "darkgreen-6", - "darkgreen-7", - "darkgreen-8", - "darkgreen-9", - "darkmulti", - "darkmulti-3", - "darkmulti-4", - "darkmulti-5", - "darkmulti-6", - "darkmulti-7", - "darkmulti-8", - "darkmulti-9", - "darkred", - "darkred-3", - "darkred-4", - "darkred-5", - "darkred-6", - "darkred-7", - "darkred-8", - "darkred-9", - "lightgreyred", - "lightgreyred-3", - "lightgreyred-4", - "lightgreyred-5", - "lightgreyred-6", - "lightgreyred-7", - "lightgreyred-8", - "lightgreyred-9", - "lightgreyteal", - "lightgreyteal-3", - "lightgreyteal-4", - "lightgreyteal-5", - "lightgreyteal-6", - "lightgreyteal-7", - "lightgreyteal-8", - "lightgreyteal-9", - "lightmulti", - "lightmulti-3", - "lightmulti-4", - "lightmulti-5", - "lightmulti-6", - "lightmulti-7", - "lightmulti-8", - "lightmulti-9", - "lightorange", - "lightorange-3", - "lightorange-4", - "lightorange-5", - "lightorange-6", - "lightorange-7", - "lightorange-8", - "lightorange-9", - "lighttealblue", - "lighttealblue-3", - "lighttealblue-4", - "lighttealblue-5", - "lighttealblue-6", - "lighttealblue-7", - "lighttealblue-8", - "lighttealblue-9", - ], - core.SequentialMultiHue, - ], - core.ColorScheme, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.SchemeParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal["rainbow", "sinebow"], + Literal[ + "blues", + "tealblues", + "teals", + "greens", + "browns", + "greys", + "purples", + "warmgreys", + "reds", + "oranges", + ], + Literal[ + "accent", + "category10", + "category20", + "category20b", + "category20c", + "dark2", + "paired", + "pastel1", + "pastel2", + "set1", + "set2", + "set3", + "tableau10", + "tableau20", + ], + Literal[ + "blueorange", + "blueorange-3", + "blueorange-4", + "blueorange-5", + "blueorange-6", + "blueorange-7", + "blueorange-8", + "blueorange-9", + "blueorange-10", + "blueorange-11", + "brownbluegreen", + "brownbluegreen-3", + "brownbluegreen-4", + "brownbluegreen-5", + "brownbluegreen-6", + "brownbluegreen-7", + "brownbluegreen-8", + "brownbluegreen-9", + "brownbluegreen-10", + "brownbluegreen-11", + "purplegreen", + "purplegreen-3", + "purplegreen-4", + "purplegreen-5", + "purplegreen-6", + "purplegreen-7", + "purplegreen-8", + "purplegreen-9", + "purplegreen-10", + "purplegreen-11", + "pinkyellowgreen", + "pinkyellowgreen-3", + "pinkyellowgreen-4", + "pinkyellowgreen-5", + "pinkyellowgreen-6", + "pinkyellowgreen-7", + "pinkyellowgreen-8", + "pinkyellowgreen-9", + "pinkyellowgreen-10", + "pinkyellowgreen-11", + "purpleorange", + "purpleorange-3", + "purpleorange-4", + "purpleorange-5", + "purpleorange-6", + "purpleorange-7", + "purpleorange-8", + "purpleorange-9", + "purpleorange-10", + "purpleorange-11", + "redblue", + "redblue-3", + "redblue-4", + "redblue-5", + "redblue-6", + "redblue-7", + "redblue-8", + "redblue-9", + "redblue-10", + "redblue-11", + "redgrey", + "redgrey-3", + "redgrey-4", + "redgrey-5", + "redgrey-6", + "redgrey-7", + "redgrey-8", + "redgrey-9", + "redgrey-10", + "redgrey-11", + "redyellowblue", + "redyellowblue-3", + "redyellowblue-4", + "redyellowblue-5", + "redyellowblue-6", + "redyellowblue-7", + "redyellowblue-8", + "redyellowblue-9", + "redyellowblue-10", + "redyellowblue-11", + "redyellowgreen", + "redyellowgreen-3", + "redyellowgreen-4", + "redyellowgreen-5", + "redyellowgreen-6", + "redyellowgreen-7", + "redyellowgreen-8", + "redyellowgreen-9", + "redyellowgreen-10", + "redyellowgreen-11", + "spectral", + "spectral-3", + "spectral-4", + "spectral-5", + "spectral-6", + "spectral-7", + "spectral-8", + "spectral-9", + "spectral-10", + "spectral-11", + ], + Literal[ + "turbo", + "viridis", + "inferno", + "magma", + "plasma", + "cividis", + "bluegreen", + "bluegreen-3", + "bluegreen-4", + "bluegreen-5", + "bluegreen-6", + "bluegreen-7", + "bluegreen-8", + "bluegreen-9", + "bluepurple", + "bluepurple-3", + "bluepurple-4", + "bluepurple-5", + "bluepurple-6", + "bluepurple-7", + "bluepurple-8", + "bluepurple-9", + "goldgreen", + "goldgreen-3", + "goldgreen-4", + "goldgreen-5", + "goldgreen-6", + "goldgreen-7", + "goldgreen-8", + "goldgreen-9", + "goldorange", + "goldorange-3", + "goldorange-4", + "goldorange-5", + "goldorange-6", + "goldorange-7", + "goldorange-8", + "goldorange-9", + "goldred", + "goldred-3", + "goldred-4", + "goldred-5", + "goldred-6", + "goldred-7", + "goldred-8", + "goldred-9", + "greenblue", + "greenblue-3", + "greenblue-4", + "greenblue-5", + "greenblue-6", + "greenblue-7", + "greenblue-8", + "greenblue-9", + "orangered", + "orangered-3", + "orangered-4", + "orangered-5", + "orangered-6", + "orangered-7", + "orangered-8", + "orangered-9", + "purplebluegreen", + "purplebluegreen-3", + "purplebluegreen-4", + "purplebluegreen-5", + "purplebluegreen-6", + "purplebluegreen-7", + "purplebluegreen-8", + "purplebluegreen-9", + "purpleblue", + "purpleblue-3", + "purpleblue-4", + "purpleblue-5", + "purpleblue-6", + "purpleblue-7", + "purpleblue-8", + "purpleblue-9", + "purplered", + "purplered-3", + "purplered-4", + "purplered-5", + "purplered-6", + "purplered-7", + "purplered-8", + "purplered-9", + "redpurple", + "redpurple-3", + "redpurple-4", + "redpurple-5", + "redpurple-6", + "redpurple-7", + "redpurple-8", + "redpurple-9", + "yellowgreenblue", + "yellowgreenblue-3", + "yellowgreenblue-4", + "yellowgreenblue-5", + "yellowgreenblue-6", + "yellowgreenblue-7", + "yellowgreenblue-8", + "yellowgreenblue-9", + "yellowgreen", + "yellowgreen-3", + "yellowgreen-4", + "yellowgreen-5", + "yellowgreen-6", + "yellowgreen-7", + "yellowgreen-8", + "yellowgreen-9", + "yelloworangebrown", + "yelloworangebrown-3", + "yelloworangebrown-4", + "yelloworangebrown-5", + "yelloworangebrown-6", + "yelloworangebrown-7", + "yelloworangebrown-8", + "yelloworangebrown-9", + "yelloworangered", + "yelloworangered-3", + "yelloworangered-4", + "yelloworangered-5", + "yelloworangered-6", + "yelloworangered-7", + "yelloworangered-8", + "yelloworangered-9", + "darkblue", + "darkblue-3", + "darkblue-4", + "darkblue-5", + "darkblue-6", + "darkblue-7", + "darkblue-8", + "darkblue-9", + "darkgold", + "darkgold-3", + "darkgold-4", + "darkgold-5", + "darkgold-6", + "darkgold-7", + "darkgold-8", + "darkgold-9", + "darkgreen", + "darkgreen-3", + "darkgreen-4", + "darkgreen-5", + "darkgreen-6", + "darkgreen-7", + "darkgreen-8", + "darkgreen-9", + "darkmulti", + "darkmulti-3", + "darkmulti-4", + "darkmulti-5", + "darkmulti-6", + "darkmulti-7", + "darkmulti-8", + "darkmulti-9", + "darkred", + "darkred-3", + "darkred-4", + "darkred-5", + "darkred-6", + "darkred-7", + "darkred-8", + "darkred-9", + "lightgreyred", + "lightgreyred-3", + "lightgreyred-4", + "lightgreyred-5", + "lightgreyred-6", + "lightgreyred-7", + "lightgreyred-8", + "lightgreyred-9", + "lightgreyteal", + "lightgreyteal-3", + "lightgreyteal-4", + "lightgreyteal-5", + "lightgreyteal-6", + "lightgreyteal-7", + "lightgreyteal-8", + "lightgreyteal-9", + "lightmulti", + "lightmulti-3", + "lightmulti-4", + "lightmulti-5", + "lightmulti-6", + "lightmulti-7", + "lightmulti-8", + "lightmulti-9", + "lightorange", + "lightorange-3", + "lightorange-4", + "lightorange-5", + "lightorange-6", + "lightorange-7", + "lightorange-8", + "lightorange-9", + "lighttealblue", + "lighttealblue-3", + "lighttealblue-4", + "lighttealblue-5", + "lighttealblue-6", + "lighttealblue-7", + "lighttealblue-8", + "lighttealblue-9", ], UndefinedType, ] = Undefined, type: Union[ - Union[ - Literal[ - "linear", - "log", - "pow", - "sqrt", - "symlog", - "identity", - "sequential", - "time", - "utc", - "quantile", - "quantize", - "threshold", - "bin-ordinal", - "ordinal", - "point", - "band", - ], - core.ScaleType, + core.SchemaBase, + Literal[ + "linear", + "log", + "pow", + "sqrt", + "symlog", + "identity", + "sequential", + "time", + "utc", + "quantile", + "quantize", + "threshold", + "bin-ordinal", + "ordinal", + "point", + "band", ], UndefinedType, ] = Undefined, zero: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "X": @@ -73306,42 +64267,36 @@ def sort( @overload def sort( self, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, op: Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "X": @@ -73351,28 +64306,25 @@ def sort( def sort( self, encoding: Union[ - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, + core.SchemaBase, + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "X": @@ -73563,114 +64515,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -73700,275 +64632,219 @@ def type( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, - ], - UndefinedType, - ] = Undefined, - axis: Union[Union[None, Union[core.Axis, dict]], UndefinedType] = Undefined, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", + ], + UndefinedType, + ] = Undefined, + axis: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool, str], UndefinedType - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - impute: Union[ - Union[None, Union[core.ImputeParams, dict]], UndefinedType - ] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + bin: Union[str, bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + impute: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, stack: Union[ - Union[ - None, - Union[Literal["zero", "center", "normalize"], core.StackOffset], - bool, - ], + bool, + None, + core.SchemaBase, + Literal["zero", "center", "normalize"], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -73995,12 +64871,10 @@ def __init__( class XDatum(DatumChannelMixin, core.PositionDatumDef): """XDatum schema wrapper - :class:`PositionDatumDef`, Dict - Parameters ---------- - axis : :class:`Axis`, Dict, None + axis : dict, None, :class:`Axis` An object defining properties of axis's gridlines, ticks and labels. If ``null``, the axis for the encoding channel will be removed. @@ -74013,9 +64887,9 @@ class XDatum(DatumChannelMixin, core.PositionDatumDef): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - impute : :class:`ImputeParams`, Dict, None + impute : dict, None, :class:`ImputeParams` An object defining the properties of the Impute Operation to be applied. The field value of the other positional channel is taken as ``key`` of the ``Impute`` Operation. The field of the ``color`` channel if specified is used as ``groupby`` of @@ -74023,7 +64897,7 @@ class XDatum(DatumChannelMixin, core.PositionDatumDef): **See also:** `impute `__ documentation. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -74036,7 +64910,7 @@ class XDatum(DatumChannelMixin, core.PositionDatumDef): **See also:** `scale `__ documentation. - stack : :class:`StackOffset`, Literal['zero', 'center', 'normalize'], None, bool + stack : bool, None, :class:`StackOffset`, Literal['zero', 'center', 'normalize'] Type of stacking offset if the field should be stacked. ``stack`` is only applicable for ``x``, ``y``, ``theta``, and ``radius`` channels with continuous domains. For example, ``stack`` of ``y`` can be used to customize stacking for a vertical bar @@ -74067,7 +64941,7 @@ class XDatum(DatumChannelMixin, core.PositionDatumDef): **See also:** `stack `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -74165,1236 +65039,1086 @@ class XDatum(DatumChannelMixin, core.PositionDatumDef): def axis( self, aria: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, bandPosition: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, description: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domain: Union[bool, UndefinedType] = Undefined, domainCap: Union[ - Union[ - Union[Literal["butt", "round", "square"], core.StrokeCap], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, domainColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, domainDash: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, domainDashOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - format: Union[Union[Union[core.Dict, dict], str], UndefinedType] = Undefined, + format: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, grid: Union[bool, UndefinedType] = Undefined, gridCap: Union[ - Union[ - Union[Literal["butt", "round", "square"], core.StrokeCap], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, gridColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ConditionalAxisColor, dict], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, gridDash: Union[ - Union[ - Sequence[float], - Union[core.ConditionalAxisNumberArray, dict], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, gridDashOffset: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gridOpacity: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gridWidth: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ConditionalAxisLabelAlign, dict], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, labelAngle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ConditionalAxisLabelBaseline, dict], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, labelBound: Union[ - Union[Union[bool, float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + bool, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ConditionalAxisColor, dict], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, labelExpr: Union[str, UndefinedType] = Undefined, - labelFlush: Union[Union[bool, float], UndefinedType] = Undefined, + labelFlush: Union[bool, float, UndefinedType] = Undefined, labelFlushOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFont: Union[ - Union[ - Union[core.ConditionalAxisString, dict], - Union[core.ExprRef, core._Parameter, dict], - str, - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontSize: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontStyle: Union[ - Union[ - Union[core.ConditionalAxisLabelFontStyle, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.FontStyle, str], - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ConditionalAxisLabelFontWeight, dict], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, labelLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelLineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOffset: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOpacity: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOverlap: Union[ - Union[ - Union[bool, core.LabelOverlap, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelPadding: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelSeparation: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labels: Union[bool, UndefinedType] = Undefined, maxExtent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, minExtent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, orient: Union[ - Union[ - Union[Literal["top", "bottom", "left", "right"], core.AxisOrient], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "bottom", "left", "right"], UndefinedType, ] = Undefined, position: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - style: Union[Union[Sequence[str], str], UndefinedType] = Undefined, + style: Union[str, Sequence[str], UndefinedType] = Undefined, tickBand: Union[ - Union[ - Literal["center", "extent"], Union[core.ExprRef, core._Parameter, dict] - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["center", "extent"], UndefinedType, ] = Undefined, tickCap: Union[ - Union[ - Union[Literal["butt", "round", "square"], core.StrokeCap], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, tickColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ConditionalAxisColor, dict], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, tickCount: Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.TimeIntervalStep, dict], - float, + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, tickDash: Union[ - Union[ - Sequence[float], - Union[core.ConditionalAxisNumberArray, dict], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, tickDashOffset: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickExtra: Union[bool, UndefinedType] = Undefined, tickMinStep: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickOpacity: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickRound: Union[bool, UndefinedType] = Undefined, tickSize: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickWidth: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ticks: Union[bool, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, titleAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, titleAnchor: Union[ - Union[ - Union[Literal[None, "start", "middle", "end"], core.TitleAnchor], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal[None, "start", "middle", "end"], UndefinedType, ] = Undefined, titleAngle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, titleColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, titleFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, titleLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleLineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titlePadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleX: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleY: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, translate: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, values: Union[ - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + Sequence[str], + Sequence[bool], + core._Parameter, + core.SchemaBase, + Sequence[float], + Sequence[Union[dict, core.SchemaBase]], UndefinedType, ] = Undefined, zindex: Union[float, UndefinedType] = Undefined, @@ -75414,11 +66138,10 @@ def bandPosition(self, _: float, **kwds) -> "XDatum": def impute( self, frame: Union[Sequence[Union[None, float]], UndefinedType] = Undefined, - keyvals: Union[ - Union[Sequence[Any], Union[core.ImputeSequence, dict]], UndefinedType - ] = Undefined, + keyvals: Union[dict, Sequence[Any], core.SchemaBase, UndefinedType] = Undefined, method: Union[ - Union[Literal["value", "median", "max", "min", "mean"], core.ImputeMethod], + core.SchemaBase, + Literal["value", "median", "max", "min", "mean"], UndefinedType, ] = Undefined, value: Union[Any, UndefinedType] = Undefined, @@ -75434,542 +66157,487 @@ def impute(self, _: None, **kwds) -> "XDatum": def scale( self, align: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, base: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - bins: Union[ - Union[Sequence[float], Union[core.ScaleBinParams, dict], core.ScaleBins], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + bins: Union[dict, core.SchemaBase, Sequence[float], UndefinedType] = Undefined, clamp: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, constant: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domain: Union[ - Union[ - Sequence[ - Union[ - None, - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - bool, - float, - str, - ] - ], - Union[core.DomainUnionWith, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ParameterExtent, core._Parameter, dict], - str, + str, + dict, + core._Parameter, + core.SchemaBase, + Sequence[ + Union[str, bool, dict, None, float, core._Parameter, core.SchemaBase] ], UndefinedType, ] = Undefined, domainMax: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMid: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMin: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainRaw: Union[ - Union[core.ExprRef, core._Parameter, dict], UndefinedType + dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, exponent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "rgb", - "lab", - "hcl", - "hsl", - "hsl-long", - "hcl-long", - "cubehelix", - "cubehelix-long", - ], - core.ScaleInterpolateEnum, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ScaleInterpolateParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "rgb", + "lab", + "hcl", + "hsl", + "hsl-long", + "hcl-long", + "cubehelix", + "cubehelix-long", ], UndefinedType, ] = Undefined, nice: Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.TimeIntervalStep, dict], - bool, - float, + bool, + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingInner: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingOuter: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, range: Union[ - Union[ - Sequence[ - Union[ - Sequence[float], - Union[core.ExprRef, core._Parameter, dict], - float, - str, - ] - ], + dict, + core.SchemaBase, + Sequence[ Union[ - Literal[ - "width", - "height", - "symbol", - "category", - "ordinal", - "ramp", - "diverging", - "heatmap", - ], - core.RangeEnum, - ], - Union[core.FieldRange, dict], + str, dict, float, core._Parameter, core.SchemaBase, Sequence[float] + ] + ], + Literal[ + "width", + "height", + "symbol", + "category", + "ordinal", + "ramp", + "diverging", + "heatmap", ], UndefinedType, ] = Undefined, rangeMax: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rangeMin: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, reverse: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, round: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, scheme: Union[ - Union[ - Union[ - Union[ - Literal[ - "accent", - "category10", - "category20", - "category20b", - "category20c", - "dark2", - "paired", - "pastel1", - "pastel2", - "set1", - "set2", - "set3", - "tableau10", - "tableau20", - ], - core.Categorical, - ], - Union[ - Literal[ - "blueorange", - "blueorange-3", - "blueorange-4", - "blueorange-5", - "blueorange-6", - "blueorange-7", - "blueorange-8", - "blueorange-9", - "blueorange-10", - "blueorange-11", - "brownbluegreen", - "brownbluegreen-3", - "brownbluegreen-4", - "brownbluegreen-5", - "brownbluegreen-6", - "brownbluegreen-7", - "brownbluegreen-8", - "brownbluegreen-9", - "brownbluegreen-10", - "brownbluegreen-11", - "purplegreen", - "purplegreen-3", - "purplegreen-4", - "purplegreen-5", - "purplegreen-6", - "purplegreen-7", - "purplegreen-8", - "purplegreen-9", - "purplegreen-10", - "purplegreen-11", - "pinkyellowgreen", - "pinkyellowgreen-3", - "pinkyellowgreen-4", - "pinkyellowgreen-5", - "pinkyellowgreen-6", - "pinkyellowgreen-7", - "pinkyellowgreen-8", - "pinkyellowgreen-9", - "pinkyellowgreen-10", - "pinkyellowgreen-11", - "purpleorange", - "purpleorange-3", - "purpleorange-4", - "purpleorange-5", - "purpleorange-6", - "purpleorange-7", - "purpleorange-8", - "purpleorange-9", - "purpleorange-10", - "purpleorange-11", - "redblue", - "redblue-3", - "redblue-4", - "redblue-5", - "redblue-6", - "redblue-7", - "redblue-8", - "redblue-9", - "redblue-10", - "redblue-11", - "redgrey", - "redgrey-3", - "redgrey-4", - "redgrey-5", - "redgrey-6", - "redgrey-7", - "redgrey-8", - "redgrey-9", - "redgrey-10", - "redgrey-11", - "redyellowblue", - "redyellowblue-3", - "redyellowblue-4", - "redyellowblue-5", - "redyellowblue-6", - "redyellowblue-7", - "redyellowblue-8", - "redyellowblue-9", - "redyellowblue-10", - "redyellowblue-11", - "redyellowgreen", - "redyellowgreen-3", - "redyellowgreen-4", - "redyellowgreen-5", - "redyellowgreen-6", - "redyellowgreen-7", - "redyellowgreen-8", - "redyellowgreen-9", - "redyellowgreen-10", - "redyellowgreen-11", - "spectral", - "spectral-3", - "spectral-4", - "spectral-5", - "spectral-6", - "spectral-7", - "spectral-8", - "spectral-9", - "spectral-10", - "spectral-11", - ], - core.Diverging, - ], - Union[ - Literal[ - "blues", - "tealblues", - "teals", - "greens", - "browns", - "greys", - "purples", - "warmgreys", - "reds", - "oranges", - ], - core.SequentialSingleHue, - ], - Union[Literal["rainbow", "sinebow"], core.Cyclical], - Union[ - Literal[ - "turbo", - "viridis", - "inferno", - "magma", - "plasma", - "cividis", - "bluegreen", - "bluegreen-3", - "bluegreen-4", - "bluegreen-5", - "bluegreen-6", - "bluegreen-7", - "bluegreen-8", - "bluegreen-9", - "bluepurple", - "bluepurple-3", - "bluepurple-4", - "bluepurple-5", - "bluepurple-6", - "bluepurple-7", - "bluepurple-8", - "bluepurple-9", - "goldgreen", - "goldgreen-3", - "goldgreen-4", - "goldgreen-5", - "goldgreen-6", - "goldgreen-7", - "goldgreen-8", - "goldgreen-9", - "goldorange", - "goldorange-3", - "goldorange-4", - "goldorange-5", - "goldorange-6", - "goldorange-7", - "goldorange-8", - "goldorange-9", - "goldred", - "goldred-3", - "goldred-4", - "goldred-5", - "goldred-6", - "goldred-7", - "goldred-8", - "goldred-9", - "greenblue", - "greenblue-3", - "greenblue-4", - "greenblue-5", - "greenblue-6", - "greenblue-7", - "greenblue-8", - "greenblue-9", - "orangered", - "orangered-3", - "orangered-4", - "orangered-5", - "orangered-6", - "orangered-7", - "orangered-8", - "orangered-9", - "purplebluegreen", - "purplebluegreen-3", - "purplebluegreen-4", - "purplebluegreen-5", - "purplebluegreen-6", - "purplebluegreen-7", - "purplebluegreen-8", - "purplebluegreen-9", - "purpleblue", - "purpleblue-3", - "purpleblue-4", - "purpleblue-5", - "purpleblue-6", - "purpleblue-7", - "purpleblue-8", - "purpleblue-9", - "purplered", - "purplered-3", - "purplered-4", - "purplered-5", - "purplered-6", - "purplered-7", - "purplered-8", - "purplered-9", - "redpurple", - "redpurple-3", - "redpurple-4", - "redpurple-5", - "redpurple-6", - "redpurple-7", - "redpurple-8", - "redpurple-9", - "yellowgreenblue", - "yellowgreenblue-3", - "yellowgreenblue-4", - "yellowgreenblue-5", - "yellowgreenblue-6", - "yellowgreenblue-7", - "yellowgreenblue-8", - "yellowgreenblue-9", - "yellowgreen", - "yellowgreen-3", - "yellowgreen-4", - "yellowgreen-5", - "yellowgreen-6", - "yellowgreen-7", - "yellowgreen-8", - "yellowgreen-9", - "yelloworangebrown", - "yelloworangebrown-3", - "yelloworangebrown-4", - "yelloworangebrown-5", - "yelloworangebrown-6", - "yelloworangebrown-7", - "yelloworangebrown-8", - "yelloworangebrown-9", - "yelloworangered", - "yelloworangered-3", - "yelloworangered-4", - "yelloworangered-5", - "yelloworangered-6", - "yelloworangered-7", - "yelloworangered-8", - "yelloworangered-9", - "darkblue", - "darkblue-3", - "darkblue-4", - "darkblue-5", - "darkblue-6", - "darkblue-7", - "darkblue-8", - "darkblue-9", - "darkgold", - "darkgold-3", - "darkgold-4", - "darkgold-5", - "darkgold-6", - "darkgold-7", - "darkgold-8", - "darkgold-9", - "darkgreen", - "darkgreen-3", - "darkgreen-4", - "darkgreen-5", - "darkgreen-6", - "darkgreen-7", - "darkgreen-8", - "darkgreen-9", - "darkmulti", - "darkmulti-3", - "darkmulti-4", - "darkmulti-5", - "darkmulti-6", - "darkmulti-7", - "darkmulti-8", - "darkmulti-9", - "darkred", - "darkred-3", - "darkred-4", - "darkred-5", - "darkred-6", - "darkred-7", - "darkred-8", - "darkred-9", - "lightgreyred", - "lightgreyred-3", - "lightgreyred-4", - "lightgreyred-5", - "lightgreyred-6", - "lightgreyred-7", - "lightgreyred-8", - "lightgreyred-9", - "lightgreyteal", - "lightgreyteal-3", - "lightgreyteal-4", - "lightgreyteal-5", - "lightgreyteal-6", - "lightgreyteal-7", - "lightgreyteal-8", - "lightgreyteal-9", - "lightmulti", - "lightmulti-3", - "lightmulti-4", - "lightmulti-5", - "lightmulti-6", - "lightmulti-7", - "lightmulti-8", - "lightmulti-9", - "lightorange", - "lightorange-3", - "lightorange-4", - "lightorange-5", - "lightorange-6", - "lightorange-7", - "lightorange-8", - "lightorange-9", - "lighttealblue", - "lighttealblue-3", - "lighttealblue-4", - "lighttealblue-5", - "lighttealblue-6", - "lighttealblue-7", - "lighttealblue-8", - "lighttealblue-9", - ], - core.SequentialMultiHue, - ], - core.ColorScheme, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.SchemeParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal["rainbow", "sinebow"], + Literal[ + "blues", + "tealblues", + "teals", + "greens", + "browns", + "greys", + "purples", + "warmgreys", + "reds", + "oranges", + ], + Literal[ + "accent", + "category10", + "category20", + "category20b", + "category20c", + "dark2", + "paired", + "pastel1", + "pastel2", + "set1", + "set2", + "set3", + "tableau10", + "tableau20", + ], + Literal[ + "blueorange", + "blueorange-3", + "blueorange-4", + "blueorange-5", + "blueorange-6", + "blueorange-7", + "blueorange-8", + "blueorange-9", + "blueorange-10", + "blueorange-11", + "brownbluegreen", + "brownbluegreen-3", + "brownbluegreen-4", + "brownbluegreen-5", + "brownbluegreen-6", + "brownbluegreen-7", + "brownbluegreen-8", + "brownbluegreen-9", + "brownbluegreen-10", + "brownbluegreen-11", + "purplegreen", + "purplegreen-3", + "purplegreen-4", + "purplegreen-5", + "purplegreen-6", + "purplegreen-7", + "purplegreen-8", + "purplegreen-9", + "purplegreen-10", + "purplegreen-11", + "pinkyellowgreen", + "pinkyellowgreen-3", + "pinkyellowgreen-4", + "pinkyellowgreen-5", + "pinkyellowgreen-6", + "pinkyellowgreen-7", + "pinkyellowgreen-8", + "pinkyellowgreen-9", + "pinkyellowgreen-10", + "pinkyellowgreen-11", + "purpleorange", + "purpleorange-3", + "purpleorange-4", + "purpleorange-5", + "purpleorange-6", + "purpleorange-7", + "purpleorange-8", + "purpleorange-9", + "purpleorange-10", + "purpleorange-11", + "redblue", + "redblue-3", + "redblue-4", + "redblue-5", + "redblue-6", + "redblue-7", + "redblue-8", + "redblue-9", + "redblue-10", + "redblue-11", + "redgrey", + "redgrey-3", + "redgrey-4", + "redgrey-5", + "redgrey-6", + "redgrey-7", + "redgrey-8", + "redgrey-9", + "redgrey-10", + "redgrey-11", + "redyellowblue", + "redyellowblue-3", + "redyellowblue-4", + "redyellowblue-5", + "redyellowblue-6", + "redyellowblue-7", + "redyellowblue-8", + "redyellowblue-9", + "redyellowblue-10", + "redyellowblue-11", + "redyellowgreen", + "redyellowgreen-3", + "redyellowgreen-4", + "redyellowgreen-5", + "redyellowgreen-6", + "redyellowgreen-7", + "redyellowgreen-8", + "redyellowgreen-9", + "redyellowgreen-10", + "redyellowgreen-11", + "spectral", + "spectral-3", + "spectral-4", + "spectral-5", + "spectral-6", + "spectral-7", + "spectral-8", + "spectral-9", + "spectral-10", + "spectral-11", + ], + Literal[ + "turbo", + "viridis", + "inferno", + "magma", + "plasma", + "cividis", + "bluegreen", + "bluegreen-3", + "bluegreen-4", + "bluegreen-5", + "bluegreen-6", + "bluegreen-7", + "bluegreen-8", + "bluegreen-9", + "bluepurple", + "bluepurple-3", + "bluepurple-4", + "bluepurple-5", + "bluepurple-6", + "bluepurple-7", + "bluepurple-8", + "bluepurple-9", + "goldgreen", + "goldgreen-3", + "goldgreen-4", + "goldgreen-5", + "goldgreen-6", + "goldgreen-7", + "goldgreen-8", + "goldgreen-9", + "goldorange", + "goldorange-3", + "goldorange-4", + "goldorange-5", + "goldorange-6", + "goldorange-7", + "goldorange-8", + "goldorange-9", + "goldred", + "goldred-3", + "goldred-4", + "goldred-5", + "goldred-6", + "goldred-7", + "goldred-8", + "goldred-9", + "greenblue", + "greenblue-3", + "greenblue-4", + "greenblue-5", + "greenblue-6", + "greenblue-7", + "greenblue-8", + "greenblue-9", + "orangered", + "orangered-3", + "orangered-4", + "orangered-5", + "orangered-6", + "orangered-7", + "orangered-8", + "orangered-9", + "purplebluegreen", + "purplebluegreen-3", + "purplebluegreen-4", + "purplebluegreen-5", + "purplebluegreen-6", + "purplebluegreen-7", + "purplebluegreen-8", + "purplebluegreen-9", + "purpleblue", + "purpleblue-3", + "purpleblue-4", + "purpleblue-5", + "purpleblue-6", + "purpleblue-7", + "purpleblue-8", + "purpleblue-9", + "purplered", + "purplered-3", + "purplered-4", + "purplered-5", + "purplered-6", + "purplered-7", + "purplered-8", + "purplered-9", + "redpurple", + "redpurple-3", + "redpurple-4", + "redpurple-5", + "redpurple-6", + "redpurple-7", + "redpurple-8", + "redpurple-9", + "yellowgreenblue", + "yellowgreenblue-3", + "yellowgreenblue-4", + "yellowgreenblue-5", + "yellowgreenblue-6", + "yellowgreenblue-7", + "yellowgreenblue-8", + "yellowgreenblue-9", + "yellowgreen", + "yellowgreen-3", + "yellowgreen-4", + "yellowgreen-5", + "yellowgreen-6", + "yellowgreen-7", + "yellowgreen-8", + "yellowgreen-9", + "yelloworangebrown", + "yelloworangebrown-3", + "yelloworangebrown-4", + "yelloworangebrown-5", + "yelloworangebrown-6", + "yelloworangebrown-7", + "yelloworangebrown-8", + "yelloworangebrown-9", + "yelloworangered", + "yelloworangered-3", + "yelloworangered-4", + "yelloworangered-5", + "yelloworangered-6", + "yelloworangered-7", + "yelloworangered-8", + "yelloworangered-9", + "darkblue", + "darkblue-3", + "darkblue-4", + "darkblue-5", + "darkblue-6", + "darkblue-7", + "darkblue-8", + "darkblue-9", + "darkgold", + "darkgold-3", + "darkgold-4", + "darkgold-5", + "darkgold-6", + "darkgold-7", + "darkgold-8", + "darkgold-9", + "darkgreen", + "darkgreen-3", + "darkgreen-4", + "darkgreen-5", + "darkgreen-6", + "darkgreen-7", + "darkgreen-8", + "darkgreen-9", + "darkmulti", + "darkmulti-3", + "darkmulti-4", + "darkmulti-5", + "darkmulti-6", + "darkmulti-7", + "darkmulti-8", + "darkmulti-9", + "darkred", + "darkred-3", + "darkred-4", + "darkred-5", + "darkred-6", + "darkred-7", + "darkred-8", + "darkred-9", + "lightgreyred", + "lightgreyred-3", + "lightgreyred-4", + "lightgreyred-5", + "lightgreyred-6", + "lightgreyred-7", + "lightgreyred-8", + "lightgreyred-9", + "lightgreyteal", + "lightgreyteal-3", + "lightgreyteal-4", + "lightgreyteal-5", + "lightgreyteal-6", + "lightgreyteal-7", + "lightgreyteal-8", + "lightgreyteal-9", + "lightmulti", + "lightmulti-3", + "lightmulti-4", + "lightmulti-5", + "lightmulti-6", + "lightmulti-7", + "lightmulti-8", + "lightmulti-9", + "lightorange", + "lightorange-3", + "lightorange-4", + "lightorange-5", + "lightorange-6", + "lightorange-7", + "lightorange-8", + "lightorange-9", + "lighttealblue", + "lighttealblue-3", + "lighttealblue-4", + "lighttealblue-5", + "lighttealblue-6", + "lighttealblue-7", + "lighttealblue-8", + "lighttealblue-9", ], UndefinedType, ] = Undefined, type: Union[ - Union[ - Literal[ - "linear", - "log", - "pow", - "sqrt", - "symlog", - "identity", - "sequential", - "time", - "utc", - "quantile", - "quantize", - "threshold", - "bin-ordinal", - "ordinal", - "point", - "band", - ], - core.ScaleType, + core.SchemaBase, + Literal[ + "linear", + "log", + "pow", + "sqrt", + "symlog", + "identity", + "sequential", + "time", + "utc", + "quantile", + "quantize", + "threshold", + "bin-ordinal", + "ordinal", + "point", + "band", ], UndefinedType, ] = Undefined, zero: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "XDatum": @@ -76014,28 +66682,23 @@ def type( def __init__( self, datum, - axis: Union[Union[None, Union[core.Axis, dict]], UndefinedType] = Undefined, + axis: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - impute: Union[ - Union[None, Union[core.ImputeParams, dict]], UndefinedType - ] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + impute: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, stack: Union[ - Union[ - None, - Union[Literal["zero", "center", "normalize"], core.StackOffset], - bool, - ], + bool, + None, + core.SchemaBase, + Literal["zero", "center", "normalize"], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -76056,15 +66719,13 @@ def __init__( @with_property_setters class XValue(ValueChannelMixin, core.PositionValueDef): """XValue schema wrapper - - :class:`PositionValueDef`, Dict[required=[value]] Definition object for a constant value (primitive value or gradient definition) of an encoding channel. Parameters ---------- - value : :class:`ExprRef`, Dict[required=[expr]], float, str + value : str, dict, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -76080,17 +66741,15 @@ def __init__(self, value, **kwds): @with_property_setters class X2(FieldChannelMixin, core.SecondaryFieldDef): """X2 schema wrapper - - :class:`SecondaryFieldDef`, Dict[required=[shorthand]] A field definition of a secondary channel that shares a scale with another primary channel. For example, ``x2``, ``xError`` and ``xError2`` share the same scale with ``x``. Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -76123,7 +66782,7 @@ class X2(FieldChannelMixin, core.SecondaryFieldDef): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -76138,7 +66797,7 @@ class X2(FieldChannelMixin, core.SecondaryFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -76147,7 +66806,7 @@ class X2(FieldChannelMixin, core.SecondaryFieldDef): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -76204,17 +66863,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "X2": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "X2": ... @@ -76409,114 +67064,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -76540,200 +67175,166 @@ def title(self, _: None, **kwds) -> "X2": def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, bin: Union[None, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, **kwds, ): @@ -76753,8 +67354,6 @@ def __init__( class X2Datum(DatumChannelMixin, core.DatumDef): """X2Datum schema wrapper - :class:`DatumDef`, Dict - Parameters ---------- @@ -76762,9 +67361,9 @@ class X2Datum(DatumChannelMixin, core.DatumDef): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -76887,13 +67486,11 @@ def __init__( datum, bandPosition: Union[float, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -76906,15 +67503,13 @@ def __init__( @with_property_setters class X2Value(ValueChannelMixin, core.PositionValueDef): """X2Value schema wrapper - - :class:`PositionValueDef`, Dict[required=[value]] Definition object for a constant value (primitive value or gradient definition) of an encoding channel. Parameters ---------- - value : :class:`ExprRef`, Dict[required=[expr]], float, str + value : str, dict, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -76930,17 +67525,15 @@ def __init__(self, value, **kwds): @with_property_setters class XError(FieldChannelMixin, core.SecondaryFieldDef): """XError schema wrapper - - :class:`SecondaryFieldDef`, Dict[required=[shorthand]] A field definition of a secondary channel that shares a scale with another primary channel. For example, ``x2``, ``xError`` and ``xError2`` share the same scale with ``x``. Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -76973,7 +67566,7 @@ class XError(FieldChannelMixin, core.SecondaryFieldDef): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -76988,7 +67581,7 @@ class XError(FieldChannelMixin, core.SecondaryFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -76997,7 +67590,7 @@ class XError(FieldChannelMixin, core.SecondaryFieldDef): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -77054,17 +67647,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "XError": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "XError": ... @@ -77259,114 +67848,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -77390,200 +67959,166 @@ def title(self, _: None, **kwds) -> "XError": def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, bin: Union[None, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, **kwds, ): @@ -77602,8 +68137,6 @@ def __init__( @with_property_setters class XErrorValue(ValueChannelMixin, core.ValueDefnumber): """XErrorValue schema wrapper - - :class:`ValueDefnumber`, Dict[required=[value]] Definition object for a constant value (primitive value or gradient definition) of an encoding channel. @@ -77626,17 +68159,15 @@ def __init__(self, value, **kwds): @with_property_setters class XError2(FieldChannelMixin, core.SecondaryFieldDef): """XError2 schema wrapper - - :class:`SecondaryFieldDef`, Dict[required=[shorthand]] A field definition of a secondary channel that shares a scale with another primary channel. For example, ``x2``, ``xError`` and ``xError2`` share the same scale with ``x``. Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -77669,7 +68200,7 @@ class XError2(FieldChannelMixin, core.SecondaryFieldDef): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -77684,7 +68215,7 @@ class XError2(FieldChannelMixin, core.SecondaryFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -77693,7 +68224,7 @@ class XError2(FieldChannelMixin, core.SecondaryFieldDef): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -77750,17 +68281,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "XError2": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "XError2": ... @@ -77955,114 +68482,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -78086,200 +68593,166 @@ def title(self, _: None, **kwds) -> "XError2": def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, bin: Union[None, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, **kwds, ): @@ -78298,8 +68771,6 @@ def __init__( @with_property_setters class XError2Value(ValueChannelMixin, core.ValueDefnumber): """XError2Value schema wrapper - - :class:`ValueDefnumber`, Dict[required=[value]] Definition object for a constant value (primitive value or gradient definition) of an encoding channel. @@ -78323,14 +68794,12 @@ def __init__(self, value, **kwds): class XOffset(FieldChannelMixin, core.ScaleFieldDef): """XOffset schema wrapper - :class:`ScaleFieldDef`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -78342,7 +68811,7 @@ class XOffset(FieldChannelMixin, core.ScaleFieldDef): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool + bin : bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -78363,7 +68832,7 @@ class XOffset(FieldChannelMixin, core.ScaleFieldDef): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -78378,7 +68847,7 @@ class XOffset(FieldChannelMixin, core.ScaleFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -78391,7 +68860,7 @@ class XOffset(FieldChannelMixin, core.ScaleFieldDef): **See also:** `scale `__ documentation. - sort : :class:`AllSortString`, :class:`SortByChannelDesc`, Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'], :class:`SortByChannel`, Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], :class:`SortOrder`, Literal['ascending', 'descending'], :class:`EncodingSortField`, Dict, :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str], :class:`SortByEncoding`, Dict[required=[encoding]], :class:`Sort`, None + sort : dict, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'], Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -78430,7 +68899,7 @@ class XOffset(FieldChannelMixin, core.ScaleFieldDef): **See also:** `sort `__ documentation. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -78439,7 +68908,7 @@ class XOffset(FieldChannelMixin, core.ScaleFieldDef): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -78565,17 +69034,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "XOffset": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "XOffset": ... @@ -78595,12 +69060,7 @@ def bin( binned: Union[bool, UndefinedType] = Undefined, divide: Union[Sequence[float], UndefinedType] = Undefined, extent: Union[ - Union[ - Sequence[float], - Union[core.ParameterExtent, core._Parameter, dict], - core.BinExtent, - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, maxbins: Union[float, UndefinedType] = Undefined, minstep: Union[float, UndefinedType] = Undefined, @@ -78633,542 +69093,487 @@ def field( def scale( self, align: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, base: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - bins: Union[ - Union[Sequence[float], Union[core.ScaleBinParams, dict], core.ScaleBins], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + bins: Union[dict, core.SchemaBase, Sequence[float], UndefinedType] = Undefined, clamp: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, constant: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domain: Union[ - Union[ - Sequence[ - Union[ - None, - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - bool, - float, - str, - ] - ], - Union[core.DomainUnionWith, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ParameterExtent, core._Parameter, dict], - str, + str, + dict, + core._Parameter, + core.SchemaBase, + Sequence[ + Union[str, bool, dict, None, float, core._Parameter, core.SchemaBase] ], UndefinedType, ] = Undefined, domainMax: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMid: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMin: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainRaw: Union[ - Union[core.ExprRef, core._Parameter, dict], UndefinedType + dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, exponent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "rgb", - "lab", - "hcl", - "hsl", - "hsl-long", - "hcl-long", - "cubehelix", - "cubehelix-long", - ], - core.ScaleInterpolateEnum, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ScaleInterpolateParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "rgb", + "lab", + "hcl", + "hsl", + "hsl-long", + "hcl-long", + "cubehelix", + "cubehelix-long", ], UndefinedType, ] = Undefined, nice: Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.TimeIntervalStep, dict], - bool, - float, + bool, + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingInner: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingOuter: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, range: Union[ - Union[ - Sequence[ - Union[ - Sequence[float], - Union[core.ExprRef, core._Parameter, dict], - float, - str, - ] - ], + dict, + core.SchemaBase, + Sequence[ Union[ - Literal[ - "width", - "height", - "symbol", - "category", - "ordinal", - "ramp", - "diverging", - "heatmap", - ], - core.RangeEnum, - ], - Union[core.FieldRange, dict], + str, dict, float, core._Parameter, core.SchemaBase, Sequence[float] + ] + ], + Literal[ + "width", + "height", + "symbol", + "category", + "ordinal", + "ramp", + "diverging", + "heatmap", ], UndefinedType, ] = Undefined, rangeMax: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rangeMin: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, reverse: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, round: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, scheme: Union[ - Union[ - Union[ - Union[ - Literal[ - "accent", - "category10", - "category20", - "category20b", - "category20c", - "dark2", - "paired", - "pastel1", - "pastel2", - "set1", - "set2", - "set3", - "tableau10", - "tableau20", - ], - core.Categorical, - ], - Union[ - Literal[ - "blueorange", - "blueorange-3", - "blueorange-4", - "blueorange-5", - "blueorange-6", - "blueorange-7", - "blueorange-8", - "blueorange-9", - "blueorange-10", - "blueorange-11", - "brownbluegreen", - "brownbluegreen-3", - "brownbluegreen-4", - "brownbluegreen-5", - "brownbluegreen-6", - "brownbluegreen-7", - "brownbluegreen-8", - "brownbluegreen-9", - "brownbluegreen-10", - "brownbluegreen-11", - "purplegreen", - "purplegreen-3", - "purplegreen-4", - "purplegreen-5", - "purplegreen-6", - "purplegreen-7", - "purplegreen-8", - "purplegreen-9", - "purplegreen-10", - "purplegreen-11", - "pinkyellowgreen", - "pinkyellowgreen-3", - "pinkyellowgreen-4", - "pinkyellowgreen-5", - "pinkyellowgreen-6", - "pinkyellowgreen-7", - "pinkyellowgreen-8", - "pinkyellowgreen-9", - "pinkyellowgreen-10", - "pinkyellowgreen-11", - "purpleorange", - "purpleorange-3", - "purpleorange-4", - "purpleorange-5", - "purpleorange-6", - "purpleorange-7", - "purpleorange-8", - "purpleorange-9", - "purpleorange-10", - "purpleorange-11", - "redblue", - "redblue-3", - "redblue-4", - "redblue-5", - "redblue-6", - "redblue-7", - "redblue-8", - "redblue-9", - "redblue-10", - "redblue-11", - "redgrey", - "redgrey-3", - "redgrey-4", - "redgrey-5", - "redgrey-6", - "redgrey-7", - "redgrey-8", - "redgrey-9", - "redgrey-10", - "redgrey-11", - "redyellowblue", - "redyellowblue-3", - "redyellowblue-4", - "redyellowblue-5", - "redyellowblue-6", - "redyellowblue-7", - "redyellowblue-8", - "redyellowblue-9", - "redyellowblue-10", - "redyellowblue-11", - "redyellowgreen", - "redyellowgreen-3", - "redyellowgreen-4", - "redyellowgreen-5", - "redyellowgreen-6", - "redyellowgreen-7", - "redyellowgreen-8", - "redyellowgreen-9", - "redyellowgreen-10", - "redyellowgreen-11", - "spectral", - "spectral-3", - "spectral-4", - "spectral-5", - "spectral-6", - "spectral-7", - "spectral-8", - "spectral-9", - "spectral-10", - "spectral-11", - ], - core.Diverging, - ], - Union[ - Literal[ - "blues", - "tealblues", - "teals", - "greens", - "browns", - "greys", - "purples", - "warmgreys", - "reds", - "oranges", - ], - core.SequentialSingleHue, - ], - Union[Literal["rainbow", "sinebow"], core.Cyclical], - Union[ - Literal[ - "turbo", - "viridis", - "inferno", - "magma", - "plasma", - "cividis", - "bluegreen", - "bluegreen-3", - "bluegreen-4", - "bluegreen-5", - "bluegreen-6", - "bluegreen-7", - "bluegreen-8", - "bluegreen-9", - "bluepurple", - "bluepurple-3", - "bluepurple-4", - "bluepurple-5", - "bluepurple-6", - "bluepurple-7", - "bluepurple-8", - "bluepurple-9", - "goldgreen", - "goldgreen-3", - "goldgreen-4", - "goldgreen-5", - "goldgreen-6", - "goldgreen-7", - "goldgreen-8", - "goldgreen-9", - "goldorange", - "goldorange-3", - "goldorange-4", - "goldorange-5", - "goldorange-6", - "goldorange-7", - "goldorange-8", - "goldorange-9", - "goldred", - "goldred-3", - "goldred-4", - "goldred-5", - "goldred-6", - "goldred-7", - "goldred-8", - "goldred-9", - "greenblue", - "greenblue-3", - "greenblue-4", - "greenblue-5", - "greenblue-6", - "greenblue-7", - "greenblue-8", - "greenblue-9", - "orangered", - "orangered-3", - "orangered-4", - "orangered-5", - "orangered-6", - "orangered-7", - "orangered-8", - "orangered-9", - "purplebluegreen", - "purplebluegreen-3", - "purplebluegreen-4", - "purplebluegreen-5", - "purplebluegreen-6", - "purplebluegreen-7", - "purplebluegreen-8", - "purplebluegreen-9", - "purpleblue", - "purpleblue-3", - "purpleblue-4", - "purpleblue-5", - "purpleblue-6", - "purpleblue-7", - "purpleblue-8", - "purpleblue-9", - "purplered", - "purplered-3", - "purplered-4", - "purplered-5", - "purplered-6", - "purplered-7", - "purplered-8", - "purplered-9", - "redpurple", - "redpurple-3", - "redpurple-4", - "redpurple-5", - "redpurple-6", - "redpurple-7", - "redpurple-8", - "redpurple-9", - "yellowgreenblue", - "yellowgreenblue-3", - "yellowgreenblue-4", - "yellowgreenblue-5", - "yellowgreenblue-6", - "yellowgreenblue-7", - "yellowgreenblue-8", - "yellowgreenblue-9", - "yellowgreen", - "yellowgreen-3", - "yellowgreen-4", - "yellowgreen-5", - "yellowgreen-6", - "yellowgreen-7", - "yellowgreen-8", - "yellowgreen-9", - "yelloworangebrown", - "yelloworangebrown-3", - "yelloworangebrown-4", - "yelloworangebrown-5", - "yelloworangebrown-6", - "yelloworangebrown-7", - "yelloworangebrown-8", - "yelloworangebrown-9", - "yelloworangered", - "yelloworangered-3", - "yelloworangered-4", - "yelloworangered-5", - "yelloworangered-6", - "yelloworangered-7", - "yelloworangered-8", - "yelloworangered-9", - "darkblue", - "darkblue-3", - "darkblue-4", - "darkblue-5", - "darkblue-6", - "darkblue-7", - "darkblue-8", - "darkblue-9", - "darkgold", - "darkgold-3", - "darkgold-4", - "darkgold-5", - "darkgold-6", - "darkgold-7", - "darkgold-8", - "darkgold-9", - "darkgreen", - "darkgreen-3", - "darkgreen-4", - "darkgreen-5", - "darkgreen-6", - "darkgreen-7", - "darkgreen-8", - "darkgreen-9", - "darkmulti", - "darkmulti-3", - "darkmulti-4", - "darkmulti-5", - "darkmulti-6", - "darkmulti-7", - "darkmulti-8", - "darkmulti-9", - "darkred", - "darkred-3", - "darkred-4", - "darkred-5", - "darkred-6", - "darkred-7", - "darkred-8", - "darkred-9", - "lightgreyred", - "lightgreyred-3", - "lightgreyred-4", - "lightgreyred-5", - "lightgreyred-6", - "lightgreyred-7", - "lightgreyred-8", - "lightgreyred-9", - "lightgreyteal", - "lightgreyteal-3", - "lightgreyteal-4", - "lightgreyteal-5", - "lightgreyteal-6", - "lightgreyteal-7", - "lightgreyteal-8", - "lightgreyteal-9", - "lightmulti", - "lightmulti-3", - "lightmulti-4", - "lightmulti-5", - "lightmulti-6", - "lightmulti-7", - "lightmulti-8", - "lightmulti-9", - "lightorange", - "lightorange-3", - "lightorange-4", - "lightorange-5", - "lightorange-6", - "lightorange-7", - "lightorange-8", - "lightorange-9", - "lighttealblue", - "lighttealblue-3", - "lighttealblue-4", - "lighttealblue-5", - "lighttealblue-6", - "lighttealblue-7", - "lighttealblue-8", - "lighttealblue-9", - ], - core.SequentialMultiHue, - ], - core.ColorScheme, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.SchemeParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal["rainbow", "sinebow"], + Literal[ + "blues", + "tealblues", + "teals", + "greens", + "browns", + "greys", + "purples", + "warmgreys", + "reds", + "oranges", + ], + Literal[ + "accent", + "category10", + "category20", + "category20b", + "category20c", + "dark2", + "paired", + "pastel1", + "pastel2", + "set1", + "set2", + "set3", + "tableau10", + "tableau20", + ], + Literal[ + "blueorange", + "blueorange-3", + "blueorange-4", + "blueorange-5", + "blueorange-6", + "blueorange-7", + "blueorange-8", + "blueorange-9", + "blueorange-10", + "blueorange-11", + "brownbluegreen", + "brownbluegreen-3", + "brownbluegreen-4", + "brownbluegreen-5", + "brownbluegreen-6", + "brownbluegreen-7", + "brownbluegreen-8", + "brownbluegreen-9", + "brownbluegreen-10", + "brownbluegreen-11", + "purplegreen", + "purplegreen-3", + "purplegreen-4", + "purplegreen-5", + "purplegreen-6", + "purplegreen-7", + "purplegreen-8", + "purplegreen-9", + "purplegreen-10", + "purplegreen-11", + "pinkyellowgreen", + "pinkyellowgreen-3", + "pinkyellowgreen-4", + "pinkyellowgreen-5", + "pinkyellowgreen-6", + "pinkyellowgreen-7", + "pinkyellowgreen-8", + "pinkyellowgreen-9", + "pinkyellowgreen-10", + "pinkyellowgreen-11", + "purpleorange", + "purpleorange-3", + "purpleorange-4", + "purpleorange-5", + "purpleorange-6", + "purpleorange-7", + "purpleorange-8", + "purpleorange-9", + "purpleorange-10", + "purpleorange-11", + "redblue", + "redblue-3", + "redblue-4", + "redblue-5", + "redblue-6", + "redblue-7", + "redblue-8", + "redblue-9", + "redblue-10", + "redblue-11", + "redgrey", + "redgrey-3", + "redgrey-4", + "redgrey-5", + "redgrey-6", + "redgrey-7", + "redgrey-8", + "redgrey-9", + "redgrey-10", + "redgrey-11", + "redyellowblue", + "redyellowblue-3", + "redyellowblue-4", + "redyellowblue-5", + "redyellowblue-6", + "redyellowblue-7", + "redyellowblue-8", + "redyellowblue-9", + "redyellowblue-10", + "redyellowblue-11", + "redyellowgreen", + "redyellowgreen-3", + "redyellowgreen-4", + "redyellowgreen-5", + "redyellowgreen-6", + "redyellowgreen-7", + "redyellowgreen-8", + "redyellowgreen-9", + "redyellowgreen-10", + "redyellowgreen-11", + "spectral", + "spectral-3", + "spectral-4", + "spectral-5", + "spectral-6", + "spectral-7", + "spectral-8", + "spectral-9", + "spectral-10", + "spectral-11", + ], + Literal[ + "turbo", + "viridis", + "inferno", + "magma", + "plasma", + "cividis", + "bluegreen", + "bluegreen-3", + "bluegreen-4", + "bluegreen-5", + "bluegreen-6", + "bluegreen-7", + "bluegreen-8", + "bluegreen-9", + "bluepurple", + "bluepurple-3", + "bluepurple-4", + "bluepurple-5", + "bluepurple-6", + "bluepurple-7", + "bluepurple-8", + "bluepurple-9", + "goldgreen", + "goldgreen-3", + "goldgreen-4", + "goldgreen-5", + "goldgreen-6", + "goldgreen-7", + "goldgreen-8", + "goldgreen-9", + "goldorange", + "goldorange-3", + "goldorange-4", + "goldorange-5", + "goldorange-6", + "goldorange-7", + "goldorange-8", + "goldorange-9", + "goldred", + "goldred-3", + "goldred-4", + "goldred-5", + "goldred-6", + "goldred-7", + "goldred-8", + "goldred-9", + "greenblue", + "greenblue-3", + "greenblue-4", + "greenblue-5", + "greenblue-6", + "greenblue-7", + "greenblue-8", + "greenblue-9", + "orangered", + "orangered-3", + "orangered-4", + "orangered-5", + "orangered-6", + "orangered-7", + "orangered-8", + "orangered-9", + "purplebluegreen", + "purplebluegreen-3", + "purplebluegreen-4", + "purplebluegreen-5", + "purplebluegreen-6", + "purplebluegreen-7", + "purplebluegreen-8", + "purplebluegreen-9", + "purpleblue", + "purpleblue-3", + "purpleblue-4", + "purpleblue-5", + "purpleblue-6", + "purpleblue-7", + "purpleblue-8", + "purpleblue-9", + "purplered", + "purplered-3", + "purplered-4", + "purplered-5", + "purplered-6", + "purplered-7", + "purplered-8", + "purplered-9", + "redpurple", + "redpurple-3", + "redpurple-4", + "redpurple-5", + "redpurple-6", + "redpurple-7", + "redpurple-8", + "redpurple-9", + "yellowgreenblue", + "yellowgreenblue-3", + "yellowgreenblue-4", + "yellowgreenblue-5", + "yellowgreenblue-6", + "yellowgreenblue-7", + "yellowgreenblue-8", + "yellowgreenblue-9", + "yellowgreen", + "yellowgreen-3", + "yellowgreen-4", + "yellowgreen-5", + "yellowgreen-6", + "yellowgreen-7", + "yellowgreen-8", + "yellowgreen-9", + "yelloworangebrown", + "yelloworangebrown-3", + "yelloworangebrown-4", + "yelloworangebrown-5", + "yelloworangebrown-6", + "yelloworangebrown-7", + "yelloworangebrown-8", + "yelloworangebrown-9", + "yelloworangered", + "yelloworangered-3", + "yelloworangered-4", + "yelloworangered-5", + "yelloworangered-6", + "yelloworangered-7", + "yelloworangered-8", + "yelloworangered-9", + "darkblue", + "darkblue-3", + "darkblue-4", + "darkblue-5", + "darkblue-6", + "darkblue-7", + "darkblue-8", + "darkblue-9", + "darkgold", + "darkgold-3", + "darkgold-4", + "darkgold-5", + "darkgold-6", + "darkgold-7", + "darkgold-8", + "darkgold-9", + "darkgreen", + "darkgreen-3", + "darkgreen-4", + "darkgreen-5", + "darkgreen-6", + "darkgreen-7", + "darkgreen-8", + "darkgreen-9", + "darkmulti", + "darkmulti-3", + "darkmulti-4", + "darkmulti-5", + "darkmulti-6", + "darkmulti-7", + "darkmulti-8", + "darkmulti-9", + "darkred", + "darkred-3", + "darkred-4", + "darkred-5", + "darkred-6", + "darkred-7", + "darkred-8", + "darkred-9", + "lightgreyred", + "lightgreyred-3", + "lightgreyred-4", + "lightgreyred-5", + "lightgreyred-6", + "lightgreyred-7", + "lightgreyred-8", + "lightgreyred-9", + "lightgreyteal", + "lightgreyteal-3", + "lightgreyteal-4", + "lightgreyteal-5", + "lightgreyteal-6", + "lightgreyteal-7", + "lightgreyteal-8", + "lightgreyteal-9", + "lightmulti", + "lightmulti-3", + "lightmulti-4", + "lightmulti-5", + "lightmulti-6", + "lightmulti-7", + "lightmulti-8", + "lightmulti-9", + "lightorange", + "lightorange-3", + "lightorange-4", + "lightorange-5", + "lightorange-6", + "lightorange-7", + "lightorange-8", + "lightorange-9", + "lighttealblue", + "lighttealblue-3", + "lighttealblue-4", + "lighttealblue-5", + "lighttealblue-6", + "lighttealblue-7", + "lighttealblue-8", + "lighttealblue-9", ], UndefinedType, ] = Undefined, type: Union[ - Union[ - Literal[ - "linear", - "log", - "pow", - "sqrt", - "symlog", - "identity", - "sequential", - "time", - "utc", - "quantile", - "quantize", - "threshold", - "bin-ordinal", - "ordinal", - "point", - "band", - ], - core.ScaleType, + core.SchemaBase, + Literal[ + "linear", + "log", + "pow", + "sqrt", + "symlog", + "identity", + "sequential", + "time", + "utc", + "quantile", + "quantize", + "threshold", + "bin-ordinal", + "ordinal", + "point", + "band", ], UndefinedType, ] = Undefined, zero: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "XOffset": @@ -79243,42 +69648,36 @@ def sort( @overload def sort( self, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, op: Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "XOffset": @@ -79288,28 +69687,25 @@ def sort( def sort( self, encoding: Union[ - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, + core.SchemaBase, + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "XOffset": @@ -79488,114 +69884,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -79625,263 +70001,210 @@ def type( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -79905,8 +70228,6 @@ def __init__( class XOffsetDatum(DatumChannelMixin, core.ScaleDatumDef): """XOffsetDatum schema wrapper - :class:`ScaleDatumDef`, Dict - Parameters ---------- @@ -79914,9 +70235,9 @@ class XOffsetDatum(DatumChannelMixin, core.ScaleDatumDef): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -79929,7 +70250,7 @@ class XOffsetDatum(DatumChannelMixin, core.ScaleDatumDef): **See also:** `scale `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -80031,542 +70352,487 @@ def bandPosition(self, _: float, **kwds) -> "XOffsetDatum": def scale( self, align: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, base: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - bins: Union[ - Union[Sequence[float], Union[core.ScaleBinParams, dict], core.ScaleBins], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + bins: Union[dict, core.SchemaBase, Sequence[float], UndefinedType] = Undefined, clamp: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, constant: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domain: Union[ - Union[ - Sequence[ - Union[ - None, - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - bool, - float, - str, - ] - ], - Union[core.DomainUnionWith, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ParameterExtent, core._Parameter, dict], - str, + str, + dict, + core._Parameter, + core.SchemaBase, + Sequence[ + Union[str, bool, dict, None, float, core._Parameter, core.SchemaBase] ], UndefinedType, ] = Undefined, domainMax: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMid: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMin: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainRaw: Union[ - Union[core.ExprRef, core._Parameter, dict], UndefinedType + dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, exponent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "rgb", - "lab", - "hcl", - "hsl", - "hsl-long", - "hcl-long", - "cubehelix", - "cubehelix-long", - ], - core.ScaleInterpolateEnum, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ScaleInterpolateParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "rgb", + "lab", + "hcl", + "hsl", + "hsl-long", + "hcl-long", + "cubehelix", + "cubehelix-long", ], UndefinedType, ] = Undefined, nice: Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.TimeIntervalStep, dict], - bool, - float, + bool, + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingInner: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingOuter: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, range: Union[ - Union[ - Sequence[ - Union[ - Sequence[float], - Union[core.ExprRef, core._Parameter, dict], - float, - str, - ] - ], + dict, + core.SchemaBase, + Sequence[ Union[ - Literal[ - "width", - "height", - "symbol", - "category", - "ordinal", - "ramp", - "diverging", - "heatmap", - ], - core.RangeEnum, - ], - Union[core.FieldRange, dict], + str, dict, float, core._Parameter, core.SchemaBase, Sequence[float] + ] + ], + Literal[ + "width", + "height", + "symbol", + "category", + "ordinal", + "ramp", + "diverging", + "heatmap", ], UndefinedType, ] = Undefined, rangeMax: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rangeMin: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, reverse: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, round: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, scheme: Union[ - Union[ - Union[ - Union[ - Literal[ - "accent", - "category10", - "category20", - "category20b", - "category20c", - "dark2", - "paired", - "pastel1", - "pastel2", - "set1", - "set2", - "set3", - "tableau10", - "tableau20", - ], - core.Categorical, - ], - Union[ - Literal[ - "blueorange", - "blueorange-3", - "blueorange-4", - "blueorange-5", - "blueorange-6", - "blueorange-7", - "blueorange-8", - "blueorange-9", - "blueorange-10", - "blueorange-11", - "brownbluegreen", - "brownbluegreen-3", - "brownbluegreen-4", - "brownbluegreen-5", - "brownbluegreen-6", - "brownbluegreen-7", - "brownbluegreen-8", - "brownbluegreen-9", - "brownbluegreen-10", - "brownbluegreen-11", - "purplegreen", - "purplegreen-3", - "purplegreen-4", - "purplegreen-5", - "purplegreen-6", - "purplegreen-7", - "purplegreen-8", - "purplegreen-9", - "purplegreen-10", - "purplegreen-11", - "pinkyellowgreen", - "pinkyellowgreen-3", - "pinkyellowgreen-4", - "pinkyellowgreen-5", - "pinkyellowgreen-6", - "pinkyellowgreen-7", - "pinkyellowgreen-8", - "pinkyellowgreen-9", - "pinkyellowgreen-10", - "pinkyellowgreen-11", - "purpleorange", - "purpleorange-3", - "purpleorange-4", - "purpleorange-5", - "purpleorange-6", - "purpleorange-7", - "purpleorange-8", - "purpleorange-9", - "purpleorange-10", - "purpleorange-11", - "redblue", - "redblue-3", - "redblue-4", - "redblue-5", - "redblue-6", - "redblue-7", - "redblue-8", - "redblue-9", - "redblue-10", - "redblue-11", - "redgrey", - "redgrey-3", - "redgrey-4", - "redgrey-5", - "redgrey-6", - "redgrey-7", - "redgrey-8", - "redgrey-9", - "redgrey-10", - "redgrey-11", - "redyellowblue", - "redyellowblue-3", - "redyellowblue-4", - "redyellowblue-5", - "redyellowblue-6", - "redyellowblue-7", - "redyellowblue-8", - "redyellowblue-9", - "redyellowblue-10", - "redyellowblue-11", - "redyellowgreen", - "redyellowgreen-3", - "redyellowgreen-4", - "redyellowgreen-5", - "redyellowgreen-6", - "redyellowgreen-7", - "redyellowgreen-8", - "redyellowgreen-9", - "redyellowgreen-10", - "redyellowgreen-11", - "spectral", - "spectral-3", - "spectral-4", - "spectral-5", - "spectral-6", - "spectral-7", - "spectral-8", - "spectral-9", - "spectral-10", - "spectral-11", - ], - core.Diverging, - ], - Union[ - Literal[ - "blues", - "tealblues", - "teals", - "greens", - "browns", - "greys", - "purples", - "warmgreys", - "reds", - "oranges", - ], - core.SequentialSingleHue, - ], - Union[Literal["rainbow", "sinebow"], core.Cyclical], - Union[ - Literal[ - "turbo", - "viridis", - "inferno", - "magma", - "plasma", - "cividis", - "bluegreen", - "bluegreen-3", - "bluegreen-4", - "bluegreen-5", - "bluegreen-6", - "bluegreen-7", - "bluegreen-8", - "bluegreen-9", - "bluepurple", - "bluepurple-3", - "bluepurple-4", - "bluepurple-5", - "bluepurple-6", - "bluepurple-7", - "bluepurple-8", - "bluepurple-9", - "goldgreen", - "goldgreen-3", - "goldgreen-4", - "goldgreen-5", - "goldgreen-6", - "goldgreen-7", - "goldgreen-8", - "goldgreen-9", - "goldorange", - "goldorange-3", - "goldorange-4", - "goldorange-5", - "goldorange-6", - "goldorange-7", - "goldorange-8", - "goldorange-9", - "goldred", - "goldred-3", - "goldred-4", - "goldred-5", - "goldred-6", - "goldred-7", - "goldred-8", - "goldred-9", - "greenblue", - "greenblue-3", - "greenblue-4", - "greenblue-5", - "greenblue-6", - "greenblue-7", - "greenblue-8", - "greenblue-9", - "orangered", - "orangered-3", - "orangered-4", - "orangered-5", - "orangered-6", - "orangered-7", - "orangered-8", - "orangered-9", - "purplebluegreen", - "purplebluegreen-3", - "purplebluegreen-4", - "purplebluegreen-5", - "purplebluegreen-6", - "purplebluegreen-7", - "purplebluegreen-8", - "purplebluegreen-9", - "purpleblue", - "purpleblue-3", - "purpleblue-4", - "purpleblue-5", - "purpleblue-6", - "purpleblue-7", - "purpleblue-8", - "purpleblue-9", - "purplered", - "purplered-3", - "purplered-4", - "purplered-5", - "purplered-6", - "purplered-7", - "purplered-8", - "purplered-9", - "redpurple", - "redpurple-3", - "redpurple-4", - "redpurple-5", - "redpurple-6", - "redpurple-7", - "redpurple-8", - "redpurple-9", - "yellowgreenblue", - "yellowgreenblue-3", - "yellowgreenblue-4", - "yellowgreenblue-5", - "yellowgreenblue-6", - "yellowgreenblue-7", - "yellowgreenblue-8", - "yellowgreenblue-9", - "yellowgreen", - "yellowgreen-3", - "yellowgreen-4", - "yellowgreen-5", - "yellowgreen-6", - "yellowgreen-7", - "yellowgreen-8", - "yellowgreen-9", - "yelloworangebrown", - "yelloworangebrown-3", - "yelloworangebrown-4", - "yelloworangebrown-5", - "yelloworangebrown-6", - "yelloworangebrown-7", - "yelloworangebrown-8", - "yelloworangebrown-9", - "yelloworangered", - "yelloworangered-3", - "yelloworangered-4", - "yelloworangered-5", - "yelloworangered-6", - "yelloworangered-7", - "yelloworangered-8", - "yelloworangered-9", - "darkblue", - "darkblue-3", - "darkblue-4", - "darkblue-5", - "darkblue-6", - "darkblue-7", - "darkblue-8", - "darkblue-9", - "darkgold", - "darkgold-3", - "darkgold-4", - "darkgold-5", - "darkgold-6", - "darkgold-7", - "darkgold-8", - "darkgold-9", - "darkgreen", - "darkgreen-3", - "darkgreen-4", - "darkgreen-5", - "darkgreen-6", - "darkgreen-7", - "darkgreen-8", - "darkgreen-9", - "darkmulti", - "darkmulti-3", - "darkmulti-4", - "darkmulti-5", - "darkmulti-6", - "darkmulti-7", - "darkmulti-8", - "darkmulti-9", - "darkred", - "darkred-3", - "darkred-4", - "darkred-5", - "darkred-6", - "darkred-7", - "darkred-8", - "darkred-9", - "lightgreyred", - "lightgreyred-3", - "lightgreyred-4", - "lightgreyred-5", - "lightgreyred-6", - "lightgreyred-7", - "lightgreyred-8", - "lightgreyred-9", - "lightgreyteal", - "lightgreyteal-3", - "lightgreyteal-4", - "lightgreyteal-5", - "lightgreyteal-6", - "lightgreyteal-7", - "lightgreyteal-8", - "lightgreyteal-9", - "lightmulti", - "lightmulti-3", - "lightmulti-4", - "lightmulti-5", - "lightmulti-6", - "lightmulti-7", - "lightmulti-8", - "lightmulti-9", - "lightorange", - "lightorange-3", - "lightorange-4", - "lightorange-5", - "lightorange-6", - "lightorange-7", - "lightorange-8", - "lightorange-9", - "lighttealblue", - "lighttealblue-3", - "lighttealblue-4", - "lighttealblue-5", - "lighttealblue-6", - "lighttealblue-7", - "lighttealblue-8", - "lighttealblue-9", - ], - core.SequentialMultiHue, - ], - core.ColorScheme, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.SchemeParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal["rainbow", "sinebow"], + Literal[ + "blues", + "tealblues", + "teals", + "greens", + "browns", + "greys", + "purples", + "warmgreys", + "reds", + "oranges", + ], + Literal[ + "accent", + "category10", + "category20", + "category20b", + "category20c", + "dark2", + "paired", + "pastel1", + "pastel2", + "set1", + "set2", + "set3", + "tableau10", + "tableau20", + ], + Literal[ + "blueorange", + "blueorange-3", + "blueorange-4", + "blueorange-5", + "blueorange-6", + "blueorange-7", + "blueorange-8", + "blueorange-9", + "blueorange-10", + "blueorange-11", + "brownbluegreen", + "brownbluegreen-3", + "brownbluegreen-4", + "brownbluegreen-5", + "brownbluegreen-6", + "brownbluegreen-7", + "brownbluegreen-8", + "brownbluegreen-9", + "brownbluegreen-10", + "brownbluegreen-11", + "purplegreen", + "purplegreen-3", + "purplegreen-4", + "purplegreen-5", + "purplegreen-6", + "purplegreen-7", + "purplegreen-8", + "purplegreen-9", + "purplegreen-10", + "purplegreen-11", + "pinkyellowgreen", + "pinkyellowgreen-3", + "pinkyellowgreen-4", + "pinkyellowgreen-5", + "pinkyellowgreen-6", + "pinkyellowgreen-7", + "pinkyellowgreen-8", + "pinkyellowgreen-9", + "pinkyellowgreen-10", + "pinkyellowgreen-11", + "purpleorange", + "purpleorange-3", + "purpleorange-4", + "purpleorange-5", + "purpleorange-6", + "purpleorange-7", + "purpleorange-8", + "purpleorange-9", + "purpleorange-10", + "purpleorange-11", + "redblue", + "redblue-3", + "redblue-4", + "redblue-5", + "redblue-6", + "redblue-7", + "redblue-8", + "redblue-9", + "redblue-10", + "redblue-11", + "redgrey", + "redgrey-3", + "redgrey-4", + "redgrey-5", + "redgrey-6", + "redgrey-7", + "redgrey-8", + "redgrey-9", + "redgrey-10", + "redgrey-11", + "redyellowblue", + "redyellowblue-3", + "redyellowblue-4", + "redyellowblue-5", + "redyellowblue-6", + "redyellowblue-7", + "redyellowblue-8", + "redyellowblue-9", + "redyellowblue-10", + "redyellowblue-11", + "redyellowgreen", + "redyellowgreen-3", + "redyellowgreen-4", + "redyellowgreen-5", + "redyellowgreen-6", + "redyellowgreen-7", + "redyellowgreen-8", + "redyellowgreen-9", + "redyellowgreen-10", + "redyellowgreen-11", + "spectral", + "spectral-3", + "spectral-4", + "spectral-5", + "spectral-6", + "spectral-7", + "spectral-8", + "spectral-9", + "spectral-10", + "spectral-11", + ], + Literal[ + "turbo", + "viridis", + "inferno", + "magma", + "plasma", + "cividis", + "bluegreen", + "bluegreen-3", + "bluegreen-4", + "bluegreen-5", + "bluegreen-6", + "bluegreen-7", + "bluegreen-8", + "bluegreen-9", + "bluepurple", + "bluepurple-3", + "bluepurple-4", + "bluepurple-5", + "bluepurple-6", + "bluepurple-7", + "bluepurple-8", + "bluepurple-9", + "goldgreen", + "goldgreen-3", + "goldgreen-4", + "goldgreen-5", + "goldgreen-6", + "goldgreen-7", + "goldgreen-8", + "goldgreen-9", + "goldorange", + "goldorange-3", + "goldorange-4", + "goldorange-5", + "goldorange-6", + "goldorange-7", + "goldorange-8", + "goldorange-9", + "goldred", + "goldred-3", + "goldred-4", + "goldred-5", + "goldred-6", + "goldred-7", + "goldred-8", + "goldred-9", + "greenblue", + "greenblue-3", + "greenblue-4", + "greenblue-5", + "greenblue-6", + "greenblue-7", + "greenblue-8", + "greenblue-9", + "orangered", + "orangered-3", + "orangered-4", + "orangered-5", + "orangered-6", + "orangered-7", + "orangered-8", + "orangered-9", + "purplebluegreen", + "purplebluegreen-3", + "purplebluegreen-4", + "purplebluegreen-5", + "purplebluegreen-6", + "purplebluegreen-7", + "purplebluegreen-8", + "purplebluegreen-9", + "purpleblue", + "purpleblue-3", + "purpleblue-4", + "purpleblue-5", + "purpleblue-6", + "purpleblue-7", + "purpleblue-8", + "purpleblue-9", + "purplered", + "purplered-3", + "purplered-4", + "purplered-5", + "purplered-6", + "purplered-7", + "purplered-8", + "purplered-9", + "redpurple", + "redpurple-3", + "redpurple-4", + "redpurple-5", + "redpurple-6", + "redpurple-7", + "redpurple-8", + "redpurple-9", + "yellowgreenblue", + "yellowgreenblue-3", + "yellowgreenblue-4", + "yellowgreenblue-5", + "yellowgreenblue-6", + "yellowgreenblue-7", + "yellowgreenblue-8", + "yellowgreenblue-9", + "yellowgreen", + "yellowgreen-3", + "yellowgreen-4", + "yellowgreen-5", + "yellowgreen-6", + "yellowgreen-7", + "yellowgreen-8", + "yellowgreen-9", + "yelloworangebrown", + "yelloworangebrown-3", + "yelloworangebrown-4", + "yelloworangebrown-5", + "yelloworangebrown-6", + "yelloworangebrown-7", + "yelloworangebrown-8", + "yelloworangebrown-9", + "yelloworangered", + "yelloworangered-3", + "yelloworangered-4", + "yelloworangered-5", + "yelloworangered-6", + "yelloworangered-7", + "yelloworangered-8", + "yelloworangered-9", + "darkblue", + "darkblue-3", + "darkblue-4", + "darkblue-5", + "darkblue-6", + "darkblue-7", + "darkblue-8", + "darkblue-9", + "darkgold", + "darkgold-3", + "darkgold-4", + "darkgold-5", + "darkgold-6", + "darkgold-7", + "darkgold-8", + "darkgold-9", + "darkgreen", + "darkgreen-3", + "darkgreen-4", + "darkgreen-5", + "darkgreen-6", + "darkgreen-7", + "darkgreen-8", + "darkgreen-9", + "darkmulti", + "darkmulti-3", + "darkmulti-4", + "darkmulti-5", + "darkmulti-6", + "darkmulti-7", + "darkmulti-8", + "darkmulti-9", + "darkred", + "darkred-3", + "darkred-4", + "darkred-5", + "darkred-6", + "darkred-7", + "darkred-8", + "darkred-9", + "lightgreyred", + "lightgreyred-3", + "lightgreyred-4", + "lightgreyred-5", + "lightgreyred-6", + "lightgreyred-7", + "lightgreyred-8", + "lightgreyred-9", + "lightgreyteal", + "lightgreyteal-3", + "lightgreyteal-4", + "lightgreyteal-5", + "lightgreyteal-6", + "lightgreyteal-7", + "lightgreyteal-8", + "lightgreyteal-9", + "lightmulti", + "lightmulti-3", + "lightmulti-4", + "lightmulti-5", + "lightmulti-6", + "lightmulti-7", + "lightmulti-8", + "lightmulti-9", + "lightorange", + "lightorange-3", + "lightorange-4", + "lightorange-5", + "lightorange-6", + "lightorange-7", + "lightorange-8", + "lightorange-9", + "lighttealblue", + "lighttealblue-3", + "lighttealblue-4", + "lighttealblue-5", + "lighttealblue-6", + "lighttealblue-7", + "lighttealblue-8", + "lighttealblue-9", ], UndefinedType, ] = Undefined, type: Union[ - Union[ - Literal[ - "linear", - "log", - "pow", - "sqrt", - "symlog", - "identity", - "sequential", - "time", - "utc", - "quantile", - "quantize", - "threshold", - "bin-ordinal", - "ordinal", - "point", - "band", - ], - core.ScaleType, + core.SchemaBase, + Literal[ + "linear", + "log", + "pow", + "sqrt", + "symlog", + "identity", + "sequential", + "time", + "utc", + "quantile", + "quantize", + "threshold", + "bin-ordinal", + "ordinal", + "point", + "band", ], UndefinedType, ] = Undefined, zero: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "XOffsetDatum": @@ -80600,15 +70866,13 @@ def __init__( self, datum, bandPosition: Union[float, UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -80626,8 +70890,6 @@ def __init__( @with_property_setters class XOffsetValue(ValueChannelMixin, core.ValueDefnumber): """XOffsetValue schema wrapper - - :class:`ValueDefnumber`, Dict[required=[value]] Definition object for a constant value (primitive value or gradient definition) of an encoding channel. @@ -80651,14 +70913,12 @@ def __init__(self, value, **kwds): class Y(FieldChannelMixin, core.PositionFieldDef): """Y schema wrapper - :class:`PositionFieldDef`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -80666,7 +70926,7 @@ class Y(FieldChannelMixin, core.PositionFieldDef): **See also:** `aggregate `__ documentation. - axis : :class:`Axis`, Dict, None + axis : dict, None, :class:`Axis` An object defining properties of axis's gridlines, ticks and labels. If ``null``, the axis for the encoding channel will be removed. @@ -80679,7 +70939,7 @@ class Y(FieldChannelMixin, core.PositionFieldDef): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool, str + bin : str, bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -80700,7 +70960,7 @@ class Y(FieldChannelMixin, core.PositionFieldDef): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -80715,7 +70975,7 @@ class Y(FieldChannelMixin, core.PositionFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - impute : :class:`ImputeParams`, Dict, None + impute : dict, None, :class:`ImputeParams` An object defining the properties of the Impute Operation to be applied. The field value of the other positional channel is taken as ``key`` of the ``Impute`` Operation. The field of the ``color`` channel if specified is used as ``groupby`` of @@ -80723,7 +70983,7 @@ class Y(FieldChannelMixin, core.PositionFieldDef): **See also:** `impute `__ documentation. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -80736,7 +70996,7 @@ class Y(FieldChannelMixin, core.PositionFieldDef): **See also:** `scale `__ documentation. - sort : :class:`AllSortString`, :class:`SortByChannelDesc`, Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'], :class:`SortByChannel`, Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], :class:`SortOrder`, Literal['ascending', 'descending'], :class:`EncodingSortField`, Dict, :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str], :class:`SortByEncoding`, Dict[required=[encoding]], :class:`Sort`, None + sort : dict, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'], Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -80775,7 +71035,7 @@ class Y(FieldChannelMixin, core.PositionFieldDef): **See also:** `sort `__ documentation. - stack : :class:`StackOffset`, Literal['zero', 'center', 'normalize'], None, bool + stack : bool, None, :class:`StackOffset`, Literal['zero', 'center', 'normalize'] Type of stacking offset if the field should be stacked. ``stack`` is only applicable for ``x``, ``y``, ``theta``, and ``radius`` channels with continuous domains. For example, ``stack`` of ``y`` can be used to customize stacking for a vertical bar @@ -80806,7 +71066,7 @@ class Y(FieldChannelMixin, core.PositionFieldDef): **See also:** `stack `__ documentation. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -80815,7 +71075,7 @@ class Y(FieldChannelMixin, core.PositionFieldDef): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -80941,17 +71201,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Y": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Y": ... @@ -80959,1236 +71215,1086 @@ def aggregate( def axis( self, aria: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, bandPosition: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, description: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domain: Union[bool, UndefinedType] = Undefined, domainCap: Union[ - Union[ - Union[Literal["butt", "round", "square"], core.StrokeCap], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, domainColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, domainDash: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, domainDashOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - format: Union[Union[Union[core.Dict, dict], str], UndefinedType] = Undefined, + format: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, grid: Union[bool, UndefinedType] = Undefined, gridCap: Union[ - Union[ - Union[Literal["butt", "round", "square"], core.StrokeCap], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, gridColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ConditionalAxisColor, dict], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, gridDash: Union[ - Union[ - Sequence[float], - Union[core.ConditionalAxisNumberArray, dict], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, gridDashOffset: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gridOpacity: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gridWidth: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ConditionalAxisLabelAlign, dict], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, labelAngle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ConditionalAxisLabelBaseline, dict], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, labelBound: Union[ - Union[Union[bool, float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + bool, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ConditionalAxisColor, dict], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, labelExpr: Union[str, UndefinedType] = Undefined, - labelFlush: Union[Union[bool, float], UndefinedType] = Undefined, + labelFlush: Union[bool, float, UndefinedType] = Undefined, labelFlushOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFont: Union[ - Union[ - Union[core.ConditionalAxisString, dict], - Union[core.ExprRef, core._Parameter, dict], - str, - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontSize: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontStyle: Union[ - Union[ - Union[core.ConditionalAxisLabelFontStyle, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.FontStyle, str], - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ConditionalAxisLabelFontWeight, dict], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, labelLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelLineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOffset: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOpacity: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOverlap: Union[ - Union[ - Union[bool, core.LabelOverlap, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelPadding: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelSeparation: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labels: Union[bool, UndefinedType] = Undefined, maxExtent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, minExtent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, orient: Union[ - Union[ - Union[Literal["top", "bottom", "left", "right"], core.AxisOrient], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "bottom", "left", "right"], UndefinedType, ] = Undefined, position: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - style: Union[Union[Sequence[str], str], UndefinedType] = Undefined, + style: Union[str, Sequence[str], UndefinedType] = Undefined, tickBand: Union[ - Union[ - Literal["center", "extent"], Union[core.ExprRef, core._Parameter, dict] - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["center", "extent"], UndefinedType, ] = Undefined, tickCap: Union[ - Union[ - Union[Literal["butt", "round", "square"], core.StrokeCap], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, tickColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ConditionalAxisColor, dict], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, tickCount: Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.TimeIntervalStep, dict], - float, + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, tickDash: Union[ - Union[ - Sequence[float], - Union[core.ConditionalAxisNumberArray, dict], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, tickDashOffset: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickExtra: Union[bool, UndefinedType] = Undefined, tickMinStep: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickOpacity: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickRound: Union[bool, UndefinedType] = Undefined, tickSize: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickWidth: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ticks: Union[bool, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, titleAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, titleAnchor: Union[ - Union[ - Union[Literal[None, "start", "middle", "end"], core.TitleAnchor], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal[None, "start", "middle", "end"], UndefinedType, ] = Undefined, titleAngle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, titleColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, titleFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, titleLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleLineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titlePadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleX: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleY: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, translate: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, values: Union[ - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + Sequence[str], + Sequence[bool], + core._Parameter, + core.SchemaBase, + Sequence[float], + Sequence[Union[dict, core.SchemaBase]], UndefinedType, ] = Undefined, zindex: Union[float, UndefinedType] = Undefined, @@ -82216,12 +72322,7 @@ def bin( binned: Union[bool, UndefinedType] = Undefined, divide: Union[Sequence[float], UndefinedType] = Undefined, extent: Union[ - Union[ - Sequence[float], - Union[core.ParameterExtent, core._Parameter, dict], - core.BinExtent, - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, maxbins: Union[float, UndefinedType] = Undefined, minstep: Union[float, UndefinedType] = Undefined, @@ -82258,11 +72359,10 @@ def field( def impute( self, frame: Union[Sequence[Union[None, float]], UndefinedType] = Undefined, - keyvals: Union[ - Union[Sequence[Any], Union[core.ImputeSequence, dict]], UndefinedType - ] = Undefined, + keyvals: Union[dict, Sequence[Any], core.SchemaBase, UndefinedType] = Undefined, method: Union[ - Union[Literal["value", "median", "max", "min", "mean"], core.ImputeMethod], + core.SchemaBase, + Literal["value", "median", "max", "min", "mean"], UndefinedType, ] = Undefined, value: Union[Any, UndefinedType] = Undefined, @@ -82278,542 +72378,487 @@ def impute(self, _: None, **kwds) -> "Y": def scale( self, align: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, base: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - bins: Union[ - Union[Sequence[float], Union[core.ScaleBinParams, dict], core.ScaleBins], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + bins: Union[dict, core.SchemaBase, Sequence[float], UndefinedType] = Undefined, clamp: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, constant: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domain: Union[ - Union[ - Sequence[ - Union[ - None, - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - bool, - float, - str, - ] - ], - Union[core.DomainUnionWith, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ParameterExtent, core._Parameter, dict], - str, + str, + dict, + core._Parameter, + core.SchemaBase, + Sequence[ + Union[str, bool, dict, None, float, core._Parameter, core.SchemaBase] ], UndefinedType, ] = Undefined, domainMax: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMid: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMin: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainRaw: Union[ - Union[core.ExprRef, core._Parameter, dict], UndefinedType + dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, exponent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "rgb", - "lab", - "hcl", - "hsl", - "hsl-long", - "hcl-long", - "cubehelix", - "cubehelix-long", - ], - core.ScaleInterpolateEnum, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ScaleInterpolateParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "rgb", + "lab", + "hcl", + "hsl", + "hsl-long", + "hcl-long", + "cubehelix", + "cubehelix-long", ], UndefinedType, ] = Undefined, nice: Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.TimeIntervalStep, dict], - bool, - float, + bool, + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingInner: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingOuter: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, range: Union[ - Union[ - Sequence[ - Union[ - Sequence[float], - Union[core.ExprRef, core._Parameter, dict], - float, - str, - ] - ], + dict, + core.SchemaBase, + Sequence[ Union[ - Literal[ - "width", - "height", - "symbol", - "category", - "ordinal", - "ramp", - "diverging", - "heatmap", - ], - core.RangeEnum, - ], - Union[core.FieldRange, dict], + str, dict, float, core._Parameter, core.SchemaBase, Sequence[float] + ] + ], + Literal[ + "width", + "height", + "symbol", + "category", + "ordinal", + "ramp", + "diverging", + "heatmap", ], UndefinedType, ] = Undefined, rangeMax: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rangeMin: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, reverse: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, round: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, scheme: Union[ - Union[ - Union[ - Union[ - Literal[ - "accent", - "category10", - "category20", - "category20b", - "category20c", - "dark2", - "paired", - "pastel1", - "pastel2", - "set1", - "set2", - "set3", - "tableau10", - "tableau20", - ], - core.Categorical, - ], - Union[ - Literal[ - "blueorange", - "blueorange-3", - "blueorange-4", - "blueorange-5", - "blueorange-6", - "blueorange-7", - "blueorange-8", - "blueorange-9", - "blueorange-10", - "blueorange-11", - "brownbluegreen", - "brownbluegreen-3", - "brownbluegreen-4", - "brownbluegreen-5", - "brownbluegreen-6", - "brownbluegreen-7", - "brownbluegreen-8", - "brownbluegreen-9", - "brownbluegreen-10", - "brownbluegreen-11", - "purplegreen", - "purplegreen-3", - "purplegreen-4", - "purplegreen-5", - "purplegreen-6", - "purplegreen-7", - "purplegreen-8", - "purplegreen-9", - "purplegreen-10", - "purplegreen-11", - "pinkyellowgreen", - "pinkyellowgreen-3", - "pinkyellowgreen-4", - "pinkyellowgreen-5", - "pinkyellowgreen-6", - "pinkyellowgreen-7", - "pinkyellowgreen-8", - "pinkyellowgreen-9", - "pinkyellowgreen-10", - "pinkyellowgreen-11", - "purpleorange", - "purpleorange-3", - "purpleorange-4", - "purpleorange-5", - "purpleorange-6", - "purpleorange-7", - "purpleorange-8", - "purpleorange-9", - "purpleorange-10", - "purpleorange-11", - "redblue", - "redblue-3", - "redblue-4", - "redblue-5", - "redblue-6", - "redblue-7", - "redblue-8", - "redblue-9", - "redblue-10", - "redblue-11", - "redgrey", - "redgrey-3", - "redgrey-4", - "redgrey-5", - "redgrey-6", - "redgrey-7", - "redgrey-8", - "redgrey-9", - "redgrey-10", - "redgrey-11", - "redyellowblue", - "redyellowblue-3", - "redyellowblue-4", - "redyellowblue-5", - "redyellowblue-6", - "redyellowblue-7", - "redyellowblue-8", - "redyellowblue-9", - "redyellowblue-10", - "redyellowblue-11", - "redyellowgreen", - "redyellowgreen-3", - "redyellowgreen-4", - "redyellowgreen-5", - "redyellowgreen-6", - "redyellowgreen-7", - "redyellowgreen-8", - "redyellowgreen-9", - "redyellowgreen-10", - "redyellowgreen-11", - "spectral", - "spectral-3", - "spectral-4", - "spectral-5", - "spectral-6", - "spectral-7", - "spectral-8", - "spectral-9", - "spectral-10", - "spectral-11", - ], - core.Diverging, - ], - Union[ - Literal[ - "blues", - "tealblues", - "teals", - "greens", - "browns", - "greys", - "purples", - "warmgreys", - "reds", - "oranges", - ], - core.SequentialSingleHue, - ], - Union[Literal["rainbow", "sinebow"], core.Cyclical], - Union[ - Literal[ - "turbo", - "viridis", - "inferno", - "magma", - "plasma", - "cividis", - "bluegreen", - "bluegreen-3", - "bluegreen-4", - "bluegreen-5", - "bluegreen-6", - "bluegreen-7", - "bluegreen-8", - "bluegreen-9", - "bluepurple", - "bluepurple-3", - "bluepurple-4", - "bluepurple-5", - "bluepurple-6", - "bluepurple-7", - "bluepurple-8", - "bluepurple-9", - "goldgreen", - "goldgreen-3", - "goldgreen-4", - "goldgreen-5", - "goldgreen-6", - "goldgreen-7", - "goldgreen-8", - "goldgreen-9", - "goldorange", - "goldorange-3", - "goldorange-4", - "goldorange-5", - "goldorange-6", - "goldorange-7", - "goldorange-8", - "goldorange-9", - "goldred", - "goldred-3", - "goldred-4", - "goldred-5", - "goldred-6", - "goldred-7", - "goldred-8", - "goldred-9", - "greenblue", - "greenblue-3", - "greenblue-4", - "greenblue-5", - "greenblue-6", - "greenblue-7", - "greenblue-8", - "greenblue-9", - "orangered", - "orangered-3", - "orangered-4", - "orangered-5", - "orangered-6", - "orangered-7", - "orangered-8", - "orangered-9", - "purplebluegreen", - "purplebluegreen-3", - "purplebluegreen-4", - "purplebluegreen-5", - "purplebluegreen-6", - "purplebluegreen-7", - "purplebluegreen-8", - "purplebluegreen-9", - "purpleblue", - "purpleblue-3", - "purpleblue-4", - "purpleblue-5", - "purpleblue-6", - "purpleblue-7", - "purpleblue-8", - "purpleblue-9", - "purplered", - "purplered-3", - "purplered-4", - "purplered-5", - "purplered-6", - "purplered-7", - "purplered-8", - "purplered-9", - "redpurple", - "redpurple-3", - "redpurple-4", - "redpurple-5", - "redpurple-6", - "redpurple-7", - "redpurple-8", - "redpurple-9", - "yellowgreenblue", - "yellowgreenblue-3", - "yellowgreenblue-4", - "yellowgreenblue-5", - "yellowgreenblue-6", - "yellowgreenblue-7", - "yellowgreenblue-8", - "yellowgreenblue-9", - "yellowgreen", - "yellowgreen-3", - "yellowgreen-4", - "yellowgreen-5", - "yellowgreen-6", - "yellowgreen-7", - "yellowgreen-8", - "yellowgreen-9", - "yelloworangebrown", - "yelloworangebrown-3", - "yelloworangebrown-4", - "yelloworangebrown-5", - "yelloworangebrown-6", - "yelloworangebrown-7", - "yelloworangebrown-8", - "yelloworangebrown-9", - "yelloworangered", - "yelloworangered-3", - "yelloworangered-4", - "yelloworangered-5", - "yelloworangered-6", - "yelloworangered-7", - "yelloworangered-8", - "yelloworangered-9", - "darkblue", - "darkblue-3", - "darkblue-4", - "darkblue-5", - "darkblue-6", - "darkblue-7", - "darkblue-8", - "darkblue-9", - "darkgold", - "darkgold-3", - "darkgold-4", - "darkgold-5", - "darkgold-6", - "darkgold-7", - "darkgold-8", - "darkgold-9", - "darkgreen", - "darkgreen-3", - "darkgreen-4", - "darkgreen-5", - "darkgreen-6", - "darkgreen-7", - "darkgreen-8", - "darkgreen-9", - "darkmulti", - "darkmulti-3", - "darkmulti-4", - "darkmulti-5", - "darkmulti-6", - "darkmulti-7", - "darkmulti-8", - "darkmulti-9", - "darkred", - "darkred-3", - "darkred-4", - "darkred-5", - "darkred-6", - "darkred-7", - "darkred-8", - "darkred-9", - "lightgreyred", - "lightgreyred-3", - "lightgreyred-4", - "lightgreyred-5", - "lightgreyred-6", - "lightgreyred-7", - "lightgreyred-8", - "lightgreyred-9", - "lightgreyteal", - "lightgreyteal-3", - "lightgreyteal-4", - "lightgreyteal-5", - "lightgreyteal-6", - "lightgreyteal-7", - "lightgreyteal-8", - "lightgreyteal-9", - "lightmulti", - "lightmulti-3", - "lightmulti-4", - "lightmulti-5", - "lightmulti-6", - "lightmulti-7", - "lightmulti-8", - "lightmulti-9", - "lightorange", - "lightorange-3", - "lightorange-4", - "lightorange-5", - "lightorange-6", - "lightorange-7", - "lightorange-8", - "lightorange-9", - "lighttealblue", - "lighttealblue-3", - "lighttealblue-4", - "lighttealblue-5", - "lighttealblue-6", - "lighttealblue-7", - "lighttealblue-8", - "lighttealblue-9", - ], - core.SequentialMultiHue, - ], - core.ColorScheme, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.SchemeParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal["rainbow", "sinebow"], + Literal[ + "blues", + "tealblues", + "teals", + "greens", + "browns", + "greys", + "purples", + "warmgreys", + "reds", + "oranges", + ], + Literal[ + "accent", + "category10", + "category20", + "category20b", + "category20c", + "dark2", + "paired", + "pastel1", + "pastel2", + "set1", + "set2", + "set3", + "tableau10", + "tableau20", + ], + Literal[ + "blueorange", + "blueorange-3", + "blueorange-4", + "blueorange-5", + "blueorange-6", + "blueorange-7", + "blueorange-8", + "blueorange-9", + "blueorange-10", + "blueorange-11", + "brownbluegreen", + "brownbluegreen-3", + "brownbluegreen-4", + "brownbluegreen-5", + "brownbluegreen-6", + "brownbluegreen-7", + "brownbluegreen-8", + "brownbluegreen-9", + "brownbluegreen-10", + "brownbluegreen-11", + "purplegreen", + "purplegreen-3", + "purplegreen-4", + "purplegreen-5", + "purplegreen-6", + "purplegreen-7", + "purplegreen-8", + "purplegreen-9", + "purplegreen-10", + "purplegreen-11", + "pinkyellowgreen", + "pinkyellowgreen-3", + "pinkyellowgreen-4", + "pinkyellowgreen-5", + "pinkyellowgreen-6", + "pinkyellowgreen-7", + "pinkyellowgreen-8", + "pinkyellowgreen-9", + "pinkyellowgreen-10", + "pinkyellowgreen-11", + "purpleorange", + "purpleorange-3", + "purpleorange-4", + "purpleorange-5", + "purpleorange-6", + "purpleorange-7", + "purpleorange-8", + "purpleorange-9", + "purpleorange-10", + "purpleorange-11", + "redblue", + "redblue-3", + "redblue-4", + "redblue-5", + "redblue-6", + "redblue-7", + "redblue-8", + "redblue-9", + "redblue-10", + "redblue-11", + "redgrey", + "redgrey-3", + "redgrey-4", + "redgrey-5", + "redgrey-6", + "redgrey-7", + "redgrey-8", + "redgrey-9", + "redgrey-10", + "redgrey-11", + "redyellowblue", + "redyellowblue-3", + "redyellowblue-4", + "redyellowblue-5", + "redyellowblue-6", + "redyellowblue-7", + "redyellowblue-8", + "redyellowblue-9", + "redyellowblue-10", + "redyellowblue-11", + "redyellowgreen", + "redyellowgreen-3", + "redyellowgreen-4", + "redyellowgreen-5", + "redyellowgreen-6", + "redyellowgreen-7", + "redyellowgreen-8", + "redyellowgreen-9", + "redyellowgreen-10", + "redyellowgreen-11", + "spectral", + "spectral-3", + "spectral-4", + "spectral-5", + "spectral-6", + "spectral-7", + "spectral-8", + "spectral-9", + "spectral-10", + "spectral-11", + ], + Literal[ + "turbo", + "viridis", + "inferno", + "magma", + "plasma", + "cividis", + "bluegreen", + "bluegreen-3", + "bluegreen-4", + "bluegreen-5", + "bluegreen-6", + "bluegreen-7", + "bluegreen-8", + "bluegreen-9", + "bluepurple", + "bluepurple-3", + "bluepurple-4", + "bluepurple-5", + "bluepurple-6", + "bluepurple-7", + "bluepurple-8", + "bluepurple-9", + "goldgreen", + "goldgreen-3", + "goldgreen-4", + "goldgreen-5", + "goldgreen-6", + "goldgreen-7", + "goldgreen-8", + "goldgreen-9", + "goldorange", + "goldorange-3", + "goldorange-4", + "goldorange-5", + "goldorange-6", + "goldorange-7", + "goldorange-8", + "goldorange-9", + "goldred", + "goldred-3", + "goldred-4", + "goldred-5", + "goldred-6", + "goldred-7", + "goldred-8", + "goldred-9", + "greenblue", + "greenblue-3", + "greenblue-4", + "greenblue-5", + "greenblue-6", + "greenblue-7", + "greenblue-8", + "greenblue-9", + "orangered", + "orangered-3", + "orangered-4", + "orangered-5", + "orangered-6", + "orangered-7", + "orangered-8", + "orangered-9", + "purplebluegreen", + "purplebluegreen-3", + "purplebluegreen-4", + "purplebluegreen-5", + "purplebluegreen-6", + "purplebluegreen-7", + "purplebluegreen-8", + "purplebluegreen-9", + "purpleblue", + "purpleblue-3", + "purpleblue-4", + "purpleblue-5", + "purpleblue-6", + "purpleblue-7", + "purpleblue-8", + "purpleblue-9", + "purplered", + "purplered-3", + "purplered-4", + "purplered-5", + "purplered-6", + "purplered-7", + "purplered-8", + "purplered-9", + "redpurple", + "redpurple-3", + "redpurple-4", + "redpurple-5", + "redpurple-6", + "redpurple-7", + "redpurple-8", + "redpurple-9", + "yellowgreenblue", + "yellowgreenblue-3", + "yellowgreenblue-4", + "yellowgreenblue-5", + "yellowgreenblue-6", + "yellowgreenblue-7", + "yellowgreenblue-8", + "yellowgreenblue-9", + "yellowgreen", + "yellowgreen-3", + "yellowgreen-4", + "yellowgreen-5", + "yellowgreen-6", + "yellowgreen-7", + "yellowgreen-8", + "yellowgreen-9", + "yelloworangebrown", + "yelloworangebrown-3", + "yelloworangebrown-4", + "yelloworangebrown-5", + "yelloworangebrown-6", + "yelloworangebrown-7", + "yelloworangebrown-8", + "yelloworangebrown-9", + "yelloworangered", + "yelloworangered-3", + "yelloworangered-4", + "yelloworangered-5", + "yelloworangered-6", + "yelloworangered-7", + "yelloworangered-8", + "yelloworangered-9", + "darkblue", + "darkblue-3", + "darkblue-4", + "darkblue-5", + "darkblue-6", + "darkblue-7", + "darkblue-8", + "darkblue-9", + "darkgold", + "darkgold-3", + "darkgold-4", + "darkgold-5", + "darkgold-6", + "darkgold-7", + "darkgold-8", + "darkgold-9", + "darkgreen", + "darkgreen-3", + "darkgreen-4", + "darkgreen-5", + "darkgreen-6", + "darkgreen-7", + "darkgreen-8", + "darkgreen-9", + "darkmulti", + "darkmulti-3", + "darkmulti-4", + "darkmulti-5", + "darkmulti-6", + "darkmulti-7", + "darkmulti-8", + "darkmulti-9", + "darkred", + "darkred-3", + "darkred-4", + "darkred-5", + "darkred-6", + "darkred-7", + "darkred-8", + "darkred-9", + "lightgreyred", + "lightgreyred-3", + "lightgreyred-4", + "lightgreyred-5", + "lightgreyred-6", + "lightgreyred-7", + "lightgreyred-8", + "lightgreyred-9", + "lightgreyteal", + "lightgreyteal-3", + "lightgreyteal-4", + "lightgreyteal-5", + "lightgreyteal-6", + "lightgreyteal-7", + "lightgreyteal-8", + "lightgreyteal-9", + "lightmulti", + "lightmulti-3", + "lightmulti-4", + "lightmulti-5", + "lightmulti-6", + "lightmulti-7", + "lightmulti-8", + "lightmulti-9", + "lightorange", + "lightorange-3", + "lightorange-4", + "lightorange-5", + "lightorange-6", + "lightorange-7", + "lightorange-8", + "lightorange-9", + "lighttealblue", + "lighttealblue-3", + "lighttealblue-4", + "lighttealblue-5", + "lighttealblue-6", + "lighttealblue-7", + "lighttealblue-8", + "lighttealblue-9", ], UndefinedType, ] = Undefined, type: Union[ - Union[ - Literal[ - "linear", - "log", - "pow", - "sqrt", - "symlog", - "identity", - "sequential", - "time", - "utc", - "quantile", - "quantize", - "threshold", - "bin-ordinal", - "ordinal", - "point", - "band", - ], - core.ScaleType, + core.SchemaBase, + Literal[ + "linear", + "log", + "pow", + "sqrt", + "symlog", + "identity", + "sequential", + "time", + "utc", + "quantile", + "quantize", + "threshold", + "bin-ordinal", + "ordinal", + "point", + "band", ], UndefinedType, ] = Undefined, zero: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "Y": @@ -82888,42 +72933,36 @@ def sort( @overload def sort( self, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, op: Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "Y": @@ -82933,28 +72972,25 @@ def sort( def sort( self, encoding: Union[ - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, + core.SchemaBase, + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "Y": @@ -83145,114 +73181,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -83282,275 +73298,219 @@ def type( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, - ], - UndefinedType, - ] = Undefined, - axis: Union[Union[None, Union[core.Axis, dict]], UndefinedType] = Undefined, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", + ], + UndefinedType, + ] = Undefined, + axis: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool, str], UndefinedType - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - impute: Union[ - Union[None, Union[core.ImputeParams, dict]], UndefinedType - ] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + bin: Union[str, bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + impute: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, stack: Union[ - Union[ - None, - Union[Literal["zero", "center", "normalize"], core.StackOffset], - bool, - ], + bool, + None, + core.SchemaBase, + Literal["zero", "center", "normalize"], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -83577,12 +73537,10 @@ def __init__( class YDatum(DatumChannelMixin, core.PositionDatumDef): """YDatum schema wrapper - :class:`PositionDatumDef`, Dict - Parameters ---------- - axis : :class:`Axis`, Dict, None + axis : dict, None, :class:`Axis` An object defining properties of axis's gridlines, ticks and labels. If ``null``, the axis for the encoding channel will be removed. @@ -83595,9 +73553,9 @@ class YDatum(DatumChannelMixin, core.PositionDatumDef): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - impute : :class:`ImputeParams`, Dict, None + impute : dict, None, :class:`ImputeParams` An object defining the properties of the Impute Operation to be applied. The field value of the other positional channel is taken as ``key`` of the ``Impute`` Operation. The field of the ``color`` channel if specified is used as ``groupby`` of @@ -83605,7 +73563,7 @@ class YDatum(DatumChannelMixin, core.PositionDatumDef): **See also:** `impute `__ documentation. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -83618,7 +73576,7 @@ class YDatum(DatumChannelMixin, core.PositionDatumDef): **See also:** `scale `__ documentation. - stack : :class:`StackOffset`, Literal['zero', 'center', 'normalize'], None, bool + stack : bool, None, :class:`StackOffset`, Literal['zero', 'center', 'normalize'] Type of stacking offset if the field should be stacked. ``stack`` is only applicable for ``x``, ``y``, ``theta``, and ``radius`` channels with continuous domains. For example, ``stack`` of ``y`` can be used to customize stacking for a vertical bar @@ -83649,7 +73607,7 @@ class YDatum(DatumChannelMixin, core.PositionDatumDef): **See also:** `stack `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -83747,1236 +73705,1086 @@ class YDatum(DatumChannelMixin, core.PositionDatumDef): def axis( self, aria: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, bandPosition: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, description: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domain: Union[bool, UndefinedType] = Undefined, domainCap: Union[ - Union[ - Union[Literal["butt", "round", "square"], core.StrokeCap], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, domainColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, domainDash: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, domainDashOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - format: Union[Union[Union[core.Dict, dict], str], UndefinedType] = Undefined, + format: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, grid: Union[bool, UndefinedType] = Undefined, gridCap: Union[ - Union[ - Union[Literal["butt", "round", "square"], core.StrokeCap], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, gridColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ConditionalAxisColor, dict], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, gridDash: Union[ - Union[ - Sequence[float], - Union[core.ConditionalAxisNumberArray, dict], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, gridDashOffset: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gridOpacity: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, gridWidth: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ConditionalAxisLabelAlign, dict], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, labelAngle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ConditionalAxisLabelBaseline, dict], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, labelBound: Union[ - Union[Union[bool, float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + bool, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ConditionalAxisColor, dict], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, labelExpr: Union[str, UndefinedType] = Undefined, - labelFlush: Union[Union[bool, float], UndefinedType] = Undefined, + labelFlush: Union[bool, float, UndefinedType] = Undefined, labelFlushOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFont: Union[ - Union[ - Union[core.ConditionalAxisString, dict], - Union[core.ExprRef, core._Parameter, dict], - str, - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontSize: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontStyle: Union[ - Union[ - Union[core.ConditionalAxisLabelFontStyle, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.FontStyle, str], - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ConditionalAxisLabelFontWeight, dict], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, labelLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelLineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOffset: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOpacity: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelOverlap: Union[ - Union[ - Union[bool, core.LabelOverlap, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelPadding: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labelSeparation: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, labels: Union[bool, UndefinedType] = Undefined, maxExtent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, minExtent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, orient: Union[ - Union[ - Union[Literal["top", "bottom", "left", "right"], core.AxisOrient], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "bottom", "left", "right"], UndefinedType, ] = Undefined, position: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - style: Union[Union[Sequence[str], str], UndefinedType] = Undefined, + style: Union[str, Sequence[str], UndefinedType] = Undefined, tickBand: Union[ - Union[ - Literal["center", "extent"], Union[core.ExprRef, core._Parameter, dict] - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["center", "extent"], UndefinedType, ] = Undefined, tickCap: Union[ - Union[ - Union[Literal["butt", "round", "square"], core.StrokeCap], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, tickColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ConditionalAxisColor, dict], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, tickCount: Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.TimeIntervalStep, dict], - float, + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, tickDash: Union[ - Union[ - Sequence[float], - Union[core.ConditionalAxisNumberArray, dict], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, tickDashOffset: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickExtra: Union[bool, UndefinedType] = Undefined, tickMinStep: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickOpacity: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickRound: Union[bool, UndefinedType] = Undefined, tickSize: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, tickWidth: Union[ - Union[ - Union[core.ConditionalAxisNumber, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ticks: Union[bool, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, titleAlign: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, titleAnchor: Union[ - Union[ - Union[Literal[None, "start", "middle", "end"], core.TitleAnchor], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal[None, "start", "middle", "end"], UndefinedType, ] = Undefined, titleAngle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleBaseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, titleColor: Union[ - Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, titleFont: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleFontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, titleLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleLineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titlePadding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleX: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, titleY: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, translate: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, values: Union[ - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + Sequence[str], + Sequence[bool], + core._Parameter, + core.SchemaBase, + Sequence[float], + Sequence[Union[dict, core.SchemaBase]], UndefinedType, ] = Undefined, zindex: Union[float, UndefinedType] = Undefined, @@ -84996,11 +74804,10 @@ def bandPosition(self, _: float, **kwds) -> "YDatum": def impute( self, frame: Union[Sequence[Union[None, float]], UndefinedType] = Undefined, - keyvals: Union[ - Union[Sequence[Any], Union[core.ImputeSequence, dict]], UndefinedType - ] = Undefined, + keyvals: Union[dict, Sequence[Any], core.SchemaBase, UndefinedType] = Undefined, method: Union[ - Union[Literal["value", "median", "max", "min", "mean"], core.ImputeMethod], + core.SchemaBase, + Literal["value", "median", "max", "min", "mean"], UndefinedType, ] = Undefined, value: Union[Any, UndefinedType] = Undefined, @@ -85016,542 +74823,487 @@ def impute(self, _: None, **kwds) -> "YDatum": def scale( self, align: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, base: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - bins: Union[ - Union[Sequence[float], Union[core.ScaleBinParams, dict], core.ScaleBins], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + bins: Union[dict, core.SchemaBase, Sequence[float], UndefinedType] = Undefined, clamp: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, constant: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domain: Union[ - Union[ - Sequence[ - Union[ - None, - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - bool, - float, - str, - ] - ], - Union[core.DomainUnionWith, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ParameterExtent, core._Parameter, dict], - str, + str, + dict, + core._Parameter, + core.SchemaBase, + Sequence[ + Union[str, bool, dict, None, float, core._Parameter, core.SchemaBase] ], UndefinedType, ] = Undefined, domainMax: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMid: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMin: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainRaw: Union[ - Union[core.ExprRef, core._Parameter, dict], UndefinedType + dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, exponent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "rgb", - "lab", - "hcl", - "hsl", - "hsl-long", - "hcl-long", - "cubehelix", - "cubehelix-long", - ], - core.ScaleInterpolateEnum, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ScaleInterpolateParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "rgb", + "lab", + "hcl", + "hsl", + "hsl-long", + "hcl-long", + "cubehelix", + "cubehelix-long", ], UndefinedType, ] = Undefined, nice: Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.TimeIntervalStep, dict], - bool, - float, + bool, + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingInner: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingOuter: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, range: Union[ - Union[ - Sequence[ - Union[ - Sequence[float], - Union[core.ExprRef, core._Parameter, dict], - float, - str, - ] - ], + dict, + core.SchemaBase, + Sequence[ Union[ - Literal[ - "width", - "height", - "symbol", - "category", - "ordinal", - "ramp", - "diverging", - "heatmap", - ], - core.RangeEnum, - ], - Union[core.FieldRange, dict], + str, dict, float, core._Parameter, core.SchemaBase, Sequence[float] + ] + ], + Literal[ + "width", + "height", + "symbol", + "category", + "ordinal", + "ramp", + "diverging", + "heatmap", ], UndefinedType, ] = Undefined, rangeMax: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rangeMin: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, reverse: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, round: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, scheme: Union[ - Union[ - Union[ - Union[ - Literal[ - "accent", - "category10", - "category20", - "category20b", - "category20c", - "dark2", - "paired", - "pastel1", - "pastel2", - "set1", - "set2", - "set3", - "tableau10", - "tableau20", - ], - core.Categorical, - ], - Union[ - Literal[ - "blueorange", - "blueorange-3", - "blueorange-4", - "blueorange-5", - "blueorange-6", - "blueorange-7", - "blueorange-8", - "blueorange-9", - "blueorange-10", - "blueorange-11", - "brownbluegreen", - "brownbluegreen-3", - "brownbluegreen-4", - "brownbluegreen-5", - "brownbluegreen-6", - "brownbluegreen-7", - "brownbluegreen-8", - "brownbluegreen-9", - "brownbluegreen-10", - "brownbluegreen-11", - "purplegreen", - "purplegreen-3", - "purplegreen-4", - "purplegreen-5", - "purplegreen-6", - "purplegreen-7", - "purplegreen-8", - "purplegreen-9", - "purplegreen-10", - "purplegreen-11", - "pinkyellowgreen", - "pinkyellowgreen-3", - "pinkyellowgreen-4", - "pinkyellowgreen-5", - "pinkyellowgreen-6", - "pinkyellowgreen-7", - "pinkyellowgreen-8", - "pinkyellowgreen-9", - "pinkyellowgreen-10", - "pinkyellowgreen-11", - "purpleorange", - "purpleorange-3", - "purpleorange-4", - "purpleorange-5", - "purpleorange-6", - "purpleorange-7", - "purpleorange-8", - "purpleorange-9", - "purpleorange-10", - "purpleorange-11", - "redblue", - "redblue-3", - "redblue-4", - "redblue-5", - "redblue-6", - "redblue-7", - "redblue-8", - "redblue-9", - "redblue-10", - "redblue-11", - "redgrey", - "redgrey-3", - "redgrey-4", - "redgrey-5", - "redgrey-6", - "redgrey-7", - "redgrey-8", - "redgrey-9", - "redgrey-10", - "redgrey-11", - "redyellowblue", - "redyellowblue-3", - "redyellowblue-4", - "redyellowblue-5", - "redyellowblue-6", - "redyellowblue-7", - "redyellowblue-8", - "redyellowblue-9", - "redyellowblue-10", - "redyellowblue-11", - "redyellowgreen", - "redyellowgreen-3", - "redyellowgreen-4", - "redyellowgreen-5", - "redyellowgreen-6", - "redyellowgreen-7", - "redyellowgreen-8", - "redyellowgreen-9", - "redyellowgreen-10", - "redyellowgreen-11", - "spectral", - "spectral-3", - "spectral-4", - "spectral-5", - "spectral-6", - "spectral-7", - "spectral-8", - "spectral-9", - "spectral-10", - "spectral-11", - ], - core.Diverging, - ], - Union[ - Literal[ - "blues", - "tealblues", - "teals", - "greens", - "browns", - "greys", - "purples", - "warmgreys", - "reds", - "oranges", - ], - core.SequentialSingleHue, - ], - Union[Literal["rainbow", "sinebow"], core.Cyclical], - Union[ - Literal[ - "turbo", - "viridis", - "inferno", - "magma", - "plasma", - "cividis", - "bluegreen", - "bluegreen-3", - "bluegreen-4", - "bluegreen-5", - "bluegreen-6", - "bluegreen-7", - "bluegreen-8", - "bluegreen-9", - "bluepurple", - "bluepurple-3", - "bluepurple-4", - "bluepurple-5", - "bluepurple-6", - "bluepurple-7", - "bluepurple-8", - "bluepurple-9", - "goldgreen", - "goldgreen-3", - "goldgreen-4", - "goldgreen-5", - "goldgreen-6", - "goldgreen-7", - "goldgreen-8", - "goldgreen-9", - "goldorange", - "goldorange-3", - "goldorange-4", - "goldorange-5", - "goldorange-6", - "goldorange-7", - "goldorange-8", - "goldorange-9", - "goldred", - "goldred-3", - "goldred-4", - "goldred-5", - "goldred-6", - "goldred-7", - "goldred-8", - "goldred-9", - "greenblue", - "greenblue-3", - "greenblue-4", - "greenblue-5", - "greenblue-6", - "greenblue-7", - "greenblue-8", - "greenblue-9", - "orangered", - "orangered-3", - "orangered-4", - "orangered-5", - "orangered-6", - "orangered-7", - "orangered-8", - "orangered-9", - "purplebluegreen", - "purplebluegreen-3", - "purplebluegreen-4", - "purplebluegreen-5", - "purplebluegreen-6", - "purplebluegreen-7", - "purplebluegreen-8", - "purplebluegreen-9", - "purpleblue", - "purpleblue-3", - "purpleblue-4", - "purpleblue-5", - "purpleblue-6", - "purpleblue-7", - "purpleblue-8", - "purpleblue-9", - "purplered", - "purplered-3", - "purplered-4", - "purplered-5", - "purplered-6", - "purplered-7", - "purplered-8", - "purplered-9", - "redpurple", - "redpurple-3", - "redpurple-4", - "redpurple-5", - "redpurple-6", - "redpurple-7", - "redpurple-8", - "redpurple-9", - "yellowgreenblue", - "yellowgreenblue-3", - "yellowgreenblue-4", - "yellowgreenblue-5", - "yellowgreenblue-6", - "yellowgreenblue-7", - "yellowgreenblue-8", - "yellowgreenblue-9", - "yellowgreen", - "yellowgreen-3", - "yellowgreen-4", - "yellowgreen-5", - "yellowgreen-6", - "yellowgreen-7", - "yellowgreen-8", - "yellowgreen-9", - "yelloworangebrown", - "yelloworangebrown-3", - "yelloworangebrown-4", - "yelloworangebrown-5", - "yelloworangebrown-6", - "yelloworangebrown-7", - "yelloworangebrown-8", - "yelloworangebrown-9", - "yelloworangered", - "yelloworangered-3", - "yelloworangered-4", - "yelloworangered-5", - "yelloworangered-6", - "yelloworangered-7", - "yelloworangered-8", - "yelloworangered-9", - "darkblue", - "darkblue-3", - "darkblue-4", - "darkblue-5", - "darkblue-6", - "darkblue-7", - "darkblue-8", - "darkblue-9", - "darkgold", - "darkgold-3", - "darkgold-4", - "darkgold-5", - "darkgold-6", - "darkgold-7", - "darkgold-8", - "darkgold-9", - "darkgreen", - "darkgreen-3", - "darkgreen-4", - "darkgreen-5", - "darkgreen-6", - "darkgreen-7", - "darkgreen-8", - "darkgreen-9", - "darkmulti", - "darkmulti-3", - "darkmulti-4", - "darkmulti-5", - "darkmulti-6", - "darkmulti-7", - "darkmulti-8", - "darkmulti-9", - "darkred", - "darkred-3", - "darkred-4", - "darkred-5", - "darkred-6", - "darkred-7", - "darkred-8", - "darkred-9", - "lightgreyred", - "lightgreyred-3", - "lightgreyred-4", - "lightgreyred-5", - "lightgreyred-6", - "lightgreyred-7", - "lightgreyred-8", - "lightgreyred-9", - "lightgreyteal", - "lightgreyteal-3", - "lightgreyteal-4", - "lightgreyteal-5", - "lightgreyteal-6", - "lightgreyteal-7", - "lightgreyteal-8", - "lightgreyteal-9", - "lightmulti", - "lightmulti-3", - "lightmulti-4", - "lightmulti-5", - "lightmulti-6", - "lightmulti-7", - "lightmulti-8", - "lightmulti-9", - "lightorange", - "lightorange-3", - "lightorange-4", - "lightorange-5", - "lightorange-6", - "lightorange-7", - "lightorange-8", - "lightorange-9", - "lighttealblue", - "lighttealblue-3", - "lighttealblue-4", - "lighttealblue-5", - "lighttealblue-6", - "lighttealblue-7", - "lighttealblue-8", - "lighttealblue-9", - ], - core.SequentialMultiHue, - ], - core.ColorScheme, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.SchemeParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal["rainbow", "sinebow"], + Literal[ + "blues", + "tealblues", + "teals", + "greens", + "browns", + "greys", + "purples", + "warmgreys", + "reds", + "oranges", + ], + Literal[ + "accent", + "category10", + "category20", + "category20b", + "category20c", + "dark2", + "paired", + "pastel1", + "pastel2", + "set1", + "set2", + "set3", + "tableau10", + "tableau20", + ], + Literal[ + "blueorange", + "blueorange-3", + "blueorange-4", + "blueorange-5", + "blueorange-6", + "blueorange-7", + "blueorange-8", + "blueorange-9", + "blueorange-10", + "blueorange-11", + "brownbluegreen", + "brownbluegreen-3", + "brownbluegreen-4", + "brownbluegreen-5", + "brownbluegreen-6", + "brownbluegreen-7", + "brownbluegreen-8", + "brownbluegreen-9", + "brownbluegreen-10", + "brownbluegreen-11", + "purplegreen", + "purplegreen-3", + "purplegreen-4", + "purplegreen-5", + "purplegreen-6", + "purplegreen-7", + "purplegreen-8", + "purplegreen-9", + "purplegreen-10", + "purplegreen-11", + "pinkyellowgreen", + "pinkyellowgreen-3", + "pinkyellowgreen-4", + "pinkyellowgreen-5", + "pinkyellowgreen-6", + "pinkyellowgreen-7", + "pinkyellowgreen-8", + "pinkyellowgreen-9", + "pinkyellowgreen-10", + "pinkyellowgreen-11", + "purpleorange", + "purpleorange-3", + "purpleorange-4", + "purpleorange-5", + "purpleorange-6", + "purpleorange-7", + "purpleorange-8", + "purpleorange-9", + "purpleorange-10", + "purpleorange-11", + "redblue", + "redblue-3", + "redblue-4", + "redblue-5", + "redblue-6", + "redblue-7", + "redblue-8", + "redblue-9", + "redblue-10", + "redblue-11", + "redgrey", + "redgrey-3", + "redgrey-4", + "redgrey-5", + "redgrey-6", + "redgrey-7", + "redgrey-8", + "redgrey-9", + "redgrey-10", + "redgrey-11", + "redyellowblue", + "redyellowblue-3", + "redyellowblue-4", + "redyellowblue-5", + "redyellowblue-6", + "redyellowblue-7", + "redyellowblue-8", + "redyellowblue-9", + "redyellowblue-10", + "redyellowblue-11", + "redyellowgreen", + "redyellowgreen-3", + "redyellowgreen-4", + "redyellowgreen-5", + "redyellowgreen-6", + "redyellowgreen-7", + "redyellowgreen-8", + "redyellowgreen-9", + "redyellowgreen-10", + "redyellowgreen-11", + "spectral", + "spectral-3", + "spectral-4", + "spectral-5", + "spectral-6", + "spectral-7", + "spectral-8", + "spectral-9", + "spectral-10", + "spectral-11", + ], + Literal[ + "turbo", + "viridis", + "inferno", + "magma", + "plasma", + "cividis", + "bluegreen", + "bluegreen-3", + "bluegreen-4", + "bluegreen-5", + "bluegreen-6", + "bluegreen-7", + "bluegreen-8", + "bluegreen-9", + "bluepurple", + "bluepurple-3", + "bluepurple-4", + "bluepurple-5", + "bluepurple-6", + "bluepurple-7", + "bluepurple-8", + "bluepurple-9", + "goldgreen", + "goldgreen-3", + "goldgreen-4", + "goldgreen-5", + "goldgreen-6", + "goldgreen-7", + "goldgreen-8", + "goldgreen-9", + "goldorange", + "goldorange-3", + "goldorange-4", + "goldorange-5", + "goldorange-6", + "goldorange-7", + "goldorange-8", + "goldorange-9", + "goldred", + "goldred-3", + "goldred-4", + "goldred-5", + "goldred-6", + "goldred-7", + "goldred-8", + "goldred-9", + "greenblue", + "greenblue-3", + "greenblue-4", + "greenblue-5", + "greenblue-6", + "greenblue-7", + "greenblue-8", + "greenblue-9", + "orangered", + "orangered-3", + "orangered-4", + "orangered-5", + "orangered-6", + "orangered-7", + "orangered-8", + "orangered-9", + "purplebluegreen", + "purplebluegreen-3", + "purplebluegreen-4", + "purplebluegreen-5", + "purplebluegreen-6", + "purplebluegreen-7", + "purplebluegreen-8", + "purplebluegreen-9", + "purpleblue", + "purpleblue-3", + "purpleblue-4", + "purpleblue-5", + "purpleblue-6", + "purpleblue-7", + "purpleblue-8", + "purpleblue-9", + "purplered", + "purplered-3", + "purplered-4", + "purplered-5", + "purplered-6", + "purplered-7", + "purplered-8", + "purplered-9", + "redpurple", + "redpurple-3", + "redpurple-4", + "redpurple-5", + "redpurple-6", + "redpurple-7", + "redpurple-8", + "redpurple-9", + "yellowgreenblue", + "yellowgreenblue-3", + "yellowgreenblue-4", + "yellowgreenblue-5", + "yellowgreenblue-6", + "yellowgreenblue-7", + "yellowgreenblue-8", + "yellowgreenblue-9", + "yellowgreen", + "yellowgreen-3", + "yellowgreen-4", + "yellowgreen-5", + "yellowgreen-6", + "yellowgreen-7", + "yellowgreen-8", + "yellowgreen-9", + "yelloworangebrown", + "yelloworangebrown-3", + "yelloworangebrown-4", + "yelloworangebrown-5", + "yelloworangebrown-6", + "yelloworangebrown-7", + "yelloworangebrown-8", + "yelloworangebrown-9", + "yelloworangered", + "yelloworangered-3", + "yelloworangered-4", + "yelloworangered-5", + "yelloworangered-6", + "yelloworangered-7", + "yelloworangered-8", + "yelloworangered-9", + "darkblue", + "darkblue-3", + "darkblue-4", + "darkblue-5", + "darkblue-6", + "darkblue-7", + "darkblue-8", + "darkblue-9", + "darkgold", + "darkgold-3", + "darkgold-4", + "darkgold-5", + "darkgold-6", + "darkgold-7", + "darkgold-8", + "darkgold-9", + "darkgreen", + "darkgreen-3", + "darkgreen-4", + "darkgreen-5", + "darkgreen-6", + "darkgreen-7", + "darkgreen-8", + "darkgreen-9", + "darkmulti", + "darkmulti-3", + "darkmulti-4", + "darkmulti-5", + "darkmulti-6", + "darkmulti-7", + "darkmulti-8", + "darkmulti-9", + "darkred", + "darkred-3", + "darkred-4", + "darkred-5", + "darkred-6", + "darkred-7", + "darkred-8", + "darkred-9", + "lightgreyred", + "lightgreyred-3", + "lightgreyred-4", + "lightgreyred-5", + "lightgreyred-6", + "lightgreyred-7", + "lightgreyred-8", + "lightgreyred-9", + "lightgreyteal", + "lightgreyteal-3", + "lightgreyteal-4", + "lightgreyteal-5", + "lightgreyteal-6", + "lightgreyteal-7", + "lightgreyteal-8", + "lightgreyteal-9", + "lightmulti", + "lightmulti-3", + "lightmulti-4", + "lightmulti-5", + "lightmulti-6", + "lightmulti-7", + "lightmulti-8", + "lightmulti-9", + "lightorange", + "lightorange-3", + "lightorange-4", + "lightorange-5", + "lightorange-6", + "lightorange-7", + "lightorange-8", + "lightorange-9", + "lighttealblue", + "lighttealblue-3", + "lighttealblue-4", + "lighttealblue-5", + "lighttealblue-6", + "lighttealblue-7", + "lighttealblue-8", + "lighttealblue-9", ], UndefinedType, ] = Undefined, type: Union[ - Union[ - Literal[ - "linear", - "log", - "pow", - "sqrt", - "symlog", - "identity", - "sequential", - "time", - "utc", - "quantile", - "quantize", - "threshold", - "bin-ordinal", - "ordinal", - "point", - "band", - ], - core.ScaleType, + core.SchemaBase, + Literal[ + "linear", + "log", + "pow", + "sqrt", + "symlog", + "identity", + "sequential", + "time", + "utc", + "quantile", + "quantize", + "threshold", + "bin-ordinal", + "ordinal", + "point", + "band", ], UndefinedType, ] = Undefined, zero: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "YDatum": @@ -85596,28 +75348,23 @@ def type( def __init__( self, datum, - axis: Union[Union[None, Union[core.Axis, dict]], UndefinedType] = Undefined, + axis: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - impute: Union[ - Union[None, Union[core.ImputeParams, dict]], UndefinedType - ] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + impute: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, stack: Union[ - Union[ - None, - Union[Literal["zero", "center", "normalize"], core.StackOffset], - bool, - ], + bool, + None, + core.SchemaBase, + Literal["zero", "center", "normalize"], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -85638,15 +75385,13 @@ def __init__( @with_property_setters class YValue(ValueChannelMixin, core.PositionValueDef): """YValue schema wrapper - - :class:`PositionValueDef`, Dict[required=[value]] Definition object for a constant value (primitive value or gradient definition) of an encoding channel. Parameters ---------- - value : :class:`ExprRef`, Dict[required=[expr]], float, str + value : str, dict, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -85662,17 +75407,15 @@ def __init__(self, value, **kwds): @with_property_setters class Y2(FieldChannelMixin, core.SecondaryFieldDef): """Y2 schema wrapper - - :class:`SecondaryFieldDef`, Dict[required=[shorthand]] A field definition of a secondary channel that shares a scale with another primary channel. For example, ``x2``, ``xError`` and ``xError2`` share the same scale with ``x``. Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -85705,7 +75448,7 @@ class Y2(FieldChannelMixin, core.SecondaryFieldDef): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -85720,7 +75463,7 @@ class Y2(FieldChannelMixin, core.SecondaryFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -85729,7 +75472,7 @@ class Y2(FieldChannelMixin, core.SecondaryFieldDef): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -85786,17 +75529,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Y2": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "Y2": ... @@ -85991,114 +75730,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -86122,200 +75841,166 @@ def title(self, _: None, **kwds) -> "Y2": def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, bin: Union[None, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, **kwds, ): @@ -86335,8 +76020,6 @@ def __init__( class Y2Datum(DatumChannelMixin, core.DatumDef): """Y2Datum schema wrapper - :class:`DatumDef`, Dict - Parameters ---------- @@ -86344,9 +76027,9 @@ class Y2Datum(DatumChannelMixin, core.DatumDef): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -86469,13 +76152,11 @@ def __init__( datum, bandPosition: Union[float, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -86488,15 +76169,13 @@ def __init__( @with_property_setters class Y2Value(ValueChannelMixin, core.PositionValueDef): """Y2Value schema wrapper - - :class:`PositionValueDef`, Dict[required=[value]] Definition object for a constant value (primitive value or gradient definition) of an encoding channel. Parameters ---------- - value : :class:`ExprRef`, Dict[required=[expr]], float, str + value : str, dict, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -86512,17 +76191,15 @@ def __init__(self, value, **kwds): @with_property_setters class YError(FieldChannelMixin, core.SecondaryFieldDef): """YError schema wrapper - - :class:`SecondaryFieldDef`, Dict[required=[shorthand]] A field definition of a secondary channel that shares a scale with another primary channel. For example, ``x2``, ``xError`` and ``xError2`` share the same scale with ``x``. Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -86555,7 +76232,7 @@ class YError(FieldChannelMixin, core.SecondaryFieldDef): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -86570,7 +76247,7 @@ class YError(FieldChannelMixin, core.SecondaryFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -86579,7 +76256,7 @@ class YError(FieldChannelMixin, core.SecondaryFieldDef): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -86636,17 +76313,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "YError": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "YError": ... @@ -86841,114 +76514,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -86972,200 +76625,166 @@ def title(self, _: None, **kwds) -> "YError": def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, bin: Union[None, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, **kwds, ): @@ -87184,8 +76803,6 @@ def __init__( @with_property_setters class YErrorValue(ValueChannelMixin, core.ValueDefnumber): """YErrorValue schema wrapper - - :class:`ValueDefnumber`, Dict[required=[value]] Definition object for a constant value (primitive value or gradient definition) of an encoding channel. @@ -87208,17 +76825,15 @@ def __init__(self, value, **kwds): @with_property_setters class YError2(FieldChannelMixin, core.SecondaryFieldDef): """YError2 schema wrapper - - :class:`SecondaryFieldDef`, Dict[required=[shorthand]] A field definition of a secondary channel that shares a scale with another primary channel. For example, ``x2``, ``xError`` and ``xError2`` share the same scale with ``x``. Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -87251,7 +76866,7 @@ class YError2(FieldChannelMixin, core.SecondaryFieldDef): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -87266,7 +76881,7 @@ class YError2(FieldChannelMixin, core.SecondaryFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -87275,7 +76890,7 @@ class YError2(FieldChannelMixin, core.SecondaryFieldDef): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -87332,17 +76947,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "YError2": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "YError2": ... @@ -87537,114 +77148,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -87668,200 +77259,166 @@ def title(self, _: None, **kwds) -> "YError2": def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, bin: Union[None, UndefinedType] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, **kwds, ): @@ -87880,8 +77437,6 @@ def __init__( @with_property_setters class YError2Value(ValueChannelMixin, core.ValueDefnumber): """YError2Value schema wrapper - - :class:`ValueDefnumber`, Dict[required=[value]] Definition object for a constant value (primitive value or gradient definition) of an encoding channel. @@ -87905,14 +77460,12 @@ def __init__(self, value, **kwds): class YOffset(FieldChannelMixin, core.ScaleFieldDef): """YOffset schema wrapper - :class:`ScaleFieldDef`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -87924,7 +77477,7 @@ class YOffset(FieldChannelMixin, core.ScaleFieldDef): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool + bin : bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -87945,7 +77498,7 @@ class YOffset(FieldChannelMixin, core.ScaleFieldDef): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -87960,7 +77513,7 @@ class YOffset(FieldChannelMixin, core.ScaleFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -87973,7 +77526,7 @@ class YOffset(FieldChannelMixin, core.ScaleFieldDef): **See also:** `scale `__ documentation. - sort : :class:`AllSortString`, :class:`SortByChannelDesc`, Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'], :class:`SortByChannel`, Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], :class:`SortOrder`, Literal['ascending', 'descending'], :class:`EncodingSortField`, Dict, :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str], :class:`SortByEncoding`, Dict[required=[encoding]], :class:`Sort`, None + sort : dict, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'], Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -88012,7 +77565,7 @@ class YOffset(FieldChannelMixin, core.ScaleFieldDef): **See also:** `sort `__ documentation. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -88021,7 +77574,7 @@ class YOffset(FieldChannelMixin, core.ScaleFieldDef): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -88147,17 +77700,13 @@ def aggregate( @overload def aggregate( - self, - argmax: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmax: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "YOffset": ... @overload def aggregate( - self, - argmin: Union[Union[core.FieldName, str], UndefinedType] = Undefined, - **kwds, + self, argmin: Union[str, core.SchemaBase, UndefinedType] = Undefined, **kwds ) -> "YOffset": ... @@ -88177,12 +77726,7 @@ def bin( binned: Union[bool, UndefinedType] = Undefined, divide: Union[Sequence[float], UndefinedType] = Undefined, extent: Union[ - Union[ - Sequence[float], - Union[core.ParameterExtent, core._Parameter, dict], - core.BinExtent, - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, maxbins: Union[float, UndefinedType] = Undefined, minstep: Union[float, UndefinedType] = Undefined, @@ -88215,542 +77759,487 @@ def field( def scale( self, align: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, base: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - bins: Union[ - Union[Sequence[float], Union[core.ScaleBinParams, dict], core.ScaleBins], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + bins: Union[dict, core.SchemaBase, Sequence[float], UndefinedType] = Undefined, clamp: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, constant: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domain: Union[ - Union[ - Sequence[ - Union[ - None, - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - bool, - float, - str, - ] - ], - Union[core.DomainUnionWith, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ParameterExtent, core._Parameter, dict], - str, + str, + dict, + core._Parameter, + core.SchemaBase, + Sequence[ + Union[str, bool, dict, None, float, core._Parameter, core.SchemaBase] ], UndefinedType, ] = Undefined, domainMax: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMid: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMin: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainRaw: Union[ - Union[core.ExprRef, core._Parameter, dict], UndefinedType + dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, exponent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "rgb", - "lab", - "hcl", - "hsl", - "hsl-long", - "hcl-long", - "cubehelix", - "cubehelix-long", - ], - core.ScaleInterpolateEnum, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ScaleInterpolateParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "rgb", + "lab", + "hcl", + "hsl", + "hsl-long", + "hcl-long", + "cubehelix", + "cubehelix-long", ], UndefinedType, ] = Undefined, nice: Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.TimeIntervalStep, dict], - bool, - float, + bool, + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingInner: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingOuter: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, range: Union[ - Union[ - Sequence[ - Union[ - Sequence[float], - Union[core.ExprRef, core._Parameter, dict], - float, - str, - ] - ], + dict, + core.SchemaBase, + Sequence[ Union[ - Literal[ - "width", - "height", - "symbol", - "category", - "ordinal", - "ramp", - "diverging", - "heatmap", - ], - core.RangeEnum, - ], - Union[core.FieldRange, dict], + str, dict, float, core._Parameter, core.SchemaBase, Sequence[float] + ] + ], + Literal[ + "width", + "height", + "symbol", + "category", + "ordinal", + "ramp", + "diverging", + "heatmap", ], UndefinedType, ] = Undefined, rangeMax: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rangeMin: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, reverse: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, round: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, scheme: Union[ - Union[ - Union[ - Union[ - Literal[ - "accent", - "category10", - "category20", - "category20b", - "category20c", - "dark2", - "paired", - "pastel1", - "pastel2", - "set1", - "set2", - "set3", - "tableau10", - "tableau20", - ], - core.Categorical, - ], - Union[ - Literal[ - "blueorange", - "blueorange-3", - "blueorange-4", - "blueorange-5", - "blueorange-6", - "blueorange-7", - "blueorange-8", - "blueorange-9", - "blueorange-10", - "blueorange-11", - "brownbluegreen", - "brownbluegreen-3", - "brownbluegreen-4", - "brownbluegreen-5", - "brownbluegreen-6", - "brownbluegreen-7", - "brownbluegreen-8", - "brownbluegreen-9", - "brownbluegreen-10", - "brownbluegreen-11", - "purplegreen", - "purplegreen-3", - "purplegreen-4", - "purplegreen-5", - "purplegreen-6", - "purplegreen-7", - "purplegreen-8", - "purplegreen-9", - "purplegreen-10", - "purplegreen-11", - "pinkyellowgreen", - "pinkyellowgreen-3", - "pinkyellowgreen-4", - "pinkyellowgreen-5", - "pinkyellowgreen-6", - "pinkyellowgreen-7", - "pinkyellowgreen-8", - "pinkyellowgreen-9", - "pinkyellowgreen-10", - "pinkyellowgreen-11", - "purpleorange", - "purpleorange-3", - "purpleorange-4", - "purpleorange-5", - "purpleorange-6", - "purpleorange-7", - "purpleorange-8", - "purpleorange-9", - "purpleorange-10", - "purpleorange-11", - "redblue", - "redblue-3", - "redblue-4", - "redblue-5", - "redblue-6", - "redblue-7", - "redblue-8", - "redblue-9", - "redblue-10", - "redblue-11", - "redgrey", - "redgrey-3", - "redgrey-4", - "redgrey-5", - "redgrey-6", - "redgrey-7", - "redgrey-8", - "redgrey-9", - "redgrey-10", - "redgrey-11", - "redyellowblue", - "redyellowblue-3", - "redyellowblue-4", - "redyellowblue-5", - "redyellowblue-6", - "redyellowblue-7", - "redyellowblue-8", - "redyellowblue-9", - "redyellowblue-10", - "redyellowblue-11", - "redyellowgreen", - "redyellowgreen-3", - "redyellowgreen-4", - "redyellowgreen-5", - "redyellowgreen-6", - "redyellowgreen-7", - "redyellowgreen-8", - "redyellowgreen-9", - "redyellowgreen-10", - "redyellowgreen-11", - "spectral", - "spectral-3", - "spectral-4", - "spectral-5", - "spectral-6", - "spectral-7", - "spectral-8", - "spectral-9", - "spectral-10", - "spectral-11", - ], - core.Diverging, - ], - Union[ - Literal[ - "blues", - "tealblues", - "teals", - "greens", - "browns", - "greys", - "purples", - "warmgreys", - "reds", - "oranges", - ], - core.SequentialSingleHue, - ], - Union[Literal["rainbow", "sinebow"], core.Cyclical], - Union[ - Literal[ - "turbo", - "viridis", - "inferno", - "magma", - "plasma", - "cividis", - "bluegreen", - "bluegreen-3", - "bluegreen-4", - "bluegreen-5", - "bluegreen-6", - "bluegreen-7", - "bluegreen-8", - "bluegreen-9", - "bluepurple", - "bluepurple-3", - "bluepurple-4", - "bluepurple-5", - "bluepurple-6", - "bluepurple-7", - "bluepurple-8", - "bluepurple-9", - "goldgreen", - "goldgreen-3", - "goldgreen-4", - "goldgreen-5", - "goldgreen-6", - "goldgreen-7", - "goldgreen-8", - "goldgreen-9", - "goldorange", - "goldorange-3", - "goldorange-4", - "goldorange-5", - "goldorange-6", - "goldorange-7", - "goldorange-8", - "goldorange-9", - "goldred", - "goldred-3", - "goldred-4", - "goldred-5", - "goldred-6", - "goldred-7", - "goldred-8", - "goldred-9", - "greenblue", - "greenblue-3", - "greenblue-4", - "greenblue-5", - "greenblue-6", - "greenblue-7", - "greenblue-8", - "greenblue-9", - "orangered", - "orangered-3", - "orangered-4", - "orangered-5", - "orangered-6", - "orangered-7", - "orangered-8", - "orangered-9", - "purplebluegreen", - "purplebluegreen-3", - "purplebluegreen-4", - "purplebluegreen-5", - "purplebluegreen-6", - "purplebluegreen-7", - "purplebluegreen-8", - "purplebluegreen-9", - "purpleblue", - "purpleblue-3", - "purpleblue-4", - "purpleblue-5", - "purpleblue-6", - "purpleblue-7", - "purpleblue-8", - "purpleblue-9", - "purplered", - "purplered-3", - "purplered-4", - "purplered-5", - "purplered-6", - "purplered-7", - "purplered-8", - "purplered-9", - "redpurple", - "redpurple-3", - "redpurple-4", - "redpurple-5", - "redpurple-6", - "redpurple-7", - "redpurple-8", - "redpurple-9", - "yellowgreenblue", - "yellowgreenblue-3", - "yellowgreenblue-4", - "yellowgreenblue-5", - "yellowgreenblue-6", - "yellowgreenblue-7", - "yellowgreenblue-8", - "yellowgreenblue-9", - "yellowgreen", - "yellowgreen-3", - "yellowgreen-4", - "yellowgreen-5", - "yellowgreen-6", - "yellowgreen-7", - "yellowgreen-8", - "yellowgreen-9", - "yelloworangebrown", - "yelloworangebrown-3", - "yelloworangebrown-4", - "yelloworangebrown-5", - "yelloworangebrown-6", - "yelloworangebrown-7", - "yelloworangebrown-8", - "yelloworangebrown-9", - "yelloworangered", - "yelloworangered-3", - "yelloworangered-4", - "yelloworangered-5", - "yelloworangered-6", - "yelloworangered-7", - "yelloworangered-8", - "yelloworangered-9", - "darkblue", - "darkblue-3", - "darkblue-4", - "darkblue-5", - "darkblue-6", - "darkblue-7", - "darkblue-8", - "darkblue-9", - "darkgold", - "darkgold-3", - "darkgold-4", - "darkgold-5", - "darkgold-6", - "darkgold-7", - "darkgold-8", - "darkgold-9", - "darkgreen", - "darkgreen-3", - "darkgreen-4", - "darkgreen-5", - "darkgreen-6", - "darkgreen-7", - "darkgreen-8", - "darkgreen-9", - "darkmulti", - "darkmulti-3", - "darkmulti-4", - "darkmulti-5", - "darkmulti-6", - "darkmulti-7", - "darkmulti-8", - "darkmulti-9", - "darkred", - "darkred-3", - "darkred-4", - "darkred-5", - "darkred-6", - "darkred-7", - "darkred-8", - "darkred-9", - "lightgreyred", - "lightgreyred-3", - "lightgreyred-4", - "lightgreyred-5", - "lightgreyred-6", - "lightgreyred-7", - "lightgreyred-8", - "lightgreyred-9", - "lightgreyteal", - "lightgreyteal-3", - "lightgreyteal-4", - "lightgreyteal-5", - "lightgreyteal-6", - "lightgreyteal-7", - "lightgreyteal-8", - "lightgreyteal-9", - "lightmulti", - "lightmulti-3", - "lightmulti-4", - "lightmulti-5", - "lightmulti-6", - "lightmulti-7", - "lightmulti-8", - "lightmulti-9", - "lightorange", - "lightorange-3", - "lightorange-4", - "lightorange-5", - "lightorange-6", - "lightorange-7", - "lightorange-8", - "lightorange-9", - "lighttealblue", - "lighttealblue-3", - "lighttealblue-4", - "lighttealblue-5", - "lighttealblue-6", - "lighttealblue-7", - "lighttealblue-8", - "lighttealblue-9", - ], - core.SequentialMultiHue, - ], - core.ColorScheme, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.SchemeParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal["rainbow", "sinebow"], + Literal[ + "blues", + "tealblues", + "teals", + "greens", + "browns", + "greys", + "purples", + "warmgreys", + "reds", + "oranges", + ], + Literal[ + "accent", + "category10", + "category20", + "category20b", + "category20c", + "dark2", + "paired", + "pastel1", + "pastel2", + "set1", + "set2", + "set3", + "tableau10", + "tableau20", + ], + Literal[ + "blueorange", + "blueorange-3", + "blueorange-4", + "blueorange-5", + "blueorange-6", + "blueorange-7", + "blueorange-8", + "blueorange-9", + "blueorange-10", + "blueorange-11", + "brownbluegreen", + "brownbluegreen-3", + "brownbluegreen-4", + "brownbluegreen-5", + "brownbluegreen-6", + "brownbluegreen-7", + "brownbluegreen-8", + "brownbluegreen-9", + "brownbluegreen-10", + "brownbluegreen-11", + "purplegreen", + "purplegreen-3", + "purplegreen-4", + "purplegreen-5", + "purplegreen-6", + "purplegreen-7", + "purplegreen-8", + "purplegreen-9", + "purplegreen-10", + "purplegreen-11", + "pinkyellowgreen", + "pinkyellowgreen-3", + "pinkyellowgreen-4", + "pinkyellowgreen-5", + "pinkyellowgreen-6", + "pinkyellowgreen-7", + "pinkyellowgreen-8", + "pinkyellowgreen-9", + "pinkyellowgreen-10", + "pinkyellowgreen-11", + "purpleorange", + "purpleorange-3", + "purpleorange-4", + "purpleorange-5", + "purpleorange-6", + "purpleorange-7", + "purpleorange-8", + "purpleorange-9", + "purpleorange-10", + "purpleorange-11", + "redblue", + "redblue-3", + "redblue-4", + "redblue-5", + "redblue-6", + "redblue-7", + "redblue-8", + "redblue-9", + "redblue-10", + "redblue-11", + "redgrey", + "redgrey-3", + "redgrey-4", + "redgrey-5", + "redgrey-6", + "redgrey-7", + "redgrey-8", + "redgrey-9", + "redgrey-10", + "redgrey-11", + "redyellowblue", + "redyellowblue-3", + "redyellowblue-4", + "redyellowblue-5", + "redyellowblue-6", + "redyellowblue-7", + "redyellowblue-8", + "redyellowblue-9", + "redyellowblue-10", + "redyellowblue-11", + "redyellowgreen", + "redyellowgreen-3", + "redyellowgreen-4", + "redyellowgreen-5", + "redyellowgreen-6", + "redyellowgreen-7", + "redyellowgreen-8", + "redyellowgreen-9", + "redyellowgreen-10", + "redyellowgreen-11", + "spectral", + "spectral-3", + "spectral-4", + "spectral-5", + "spectral-6", + "spectral-7", + "spectral-8", + "spectral-9", + "spectral-10", + "spectral-11", + ], + Literal[ + "turbo", + "viridis", + "inferno", + "magma", + "plasma", + "cividis", + "bluegreen", + "bluegreen-3", + "bluegreen-4", + "bluegreen-5", + "bluegreen-6", + "bluegreen-7", + "bluegreen-8", + "bluegreen-9", + "bluepurple", + "bluepurple-3", + "bluepurple-4", + "bluepurple-5", + "bluepurple-6", + "bluepurple-7", + "bluepurple-8", + "bluepurple-9", + "goldgreen", + "goldgreen-3", + "goldgreen-4", + "goldgreen-5", + "goldgreen-6", + "goldgreen-7", + "goldgreen-8", + "goldgreen-9", + "goldorange", + "goldorange-3", + "goldorange-4", + "goldorange-5", + "goldorange-6", + "goldorange-7", + "goldorange-8", + "goldorange-9", + "goldred", + "goldred-3", + "goldred-4", + "goldred-5", + "goldred-6", + "goldred-7", + "goldred-8", + "goldred-9", + "greenblue", + "greenblue-3", + "greenblue-4", + "greenblue-5", + "greenblue-6", + "greenblue-7", + "greenblue-8", + "greenblue-9", + "orangered", + "orangered-3", + "orangered-4", + "orangered-5", + "orangered-6", + "orangered-7", + "orangered-8", + "orangered-9", + "purplebluegreen", + "purplebluegreen-3", + "purplebluegreen-4", + "purplebluegreen-5", + "purplebluegreen-6", + "purplebluegreen-7", + "purplebluegreen-8", + "purplebluegreen-9", + "purpleblue", + "purpleblue-3", + "purpleblue-4", + "purpleblue-5", + "purpleblue-6", + "purpleblue-7", + "purpleblue-8", + "purpleblue-9", + "purplered", + "purplered-3", + "purplered-4", + "purplered-5", + "purplered-6", + "purplered-7", + "purplered-8", + "purplered-9", + "redpurple", + "redpurple-3", + "redpurple-4", + "redpurple-5", + "redpurple-6", + "redpurple-7", + "redpurple-8", + "redpurple-9", + "yellowgreenblue", + "yellowgreenblue-3", + "yellowgreenblue-4", + "yellowgreenblue-5", + "yellowgreenblue-6", + "yellowgreenblue-7", + "yellowgreenblue-8", + "yellowgreenblue-9", + "yellowgreen", + "yellowgreen-3", + "yellowgreen-4", + "yellowgreen-5", + "yellowgreen-6", + "yellowgreen-7", + "yellowgreen-8", + "yellowgreen-9", + "yelloworangebrown", + "yelloworangebrown-3", + "yelloworangebrown-4", + "yelloworangebrown-5", + "yelloworangebrown-6", + "yelloworangebrown-7", + "yelloworangebrown-8", + "yelloworangebrown-9", + "yelloworangered", + "yelloworangered-3", + "yelloworangered-4", + "yelloworangered-5", + "yelloworangered-6", + "yelloworangered-7", + "yelloworangered-8", + "yelloworangered-9", + "darkblue", + "darkblue-3", + "darkblue-4", + "darkblue-5", + "darkblue-6", + "darkblue-7", + "darkblue-8", + "darkblue-9", + "darkgold", + "darkgold-3", + "darkgold-4", + "darkgold-5", + "darkgold-6", + "darkgold-7", + "darkgold-8", + "darkgold-9", + "darkgreen", + "darkgreen-3", + "darkgreen-4", + "darkgreen-5", + "darkgreen-6", + "darkgreen-7", + "darkgreen-8", + "darkgreen-9", + "darkmulti", + "darkmulti-3", + "darkmulti-4", + "darkmulti-5", + "darkmulti-6", + "darkmulti-7", + "darkmulti-8", + "darkmulti-9", + "darkred", + "darkred-3", + "darkred-4", + "darkred-5", + "darkred-6", + "darkred-7", + "darkred-8", + "darkred-9", + "lightgreyred", + "lightgreyred-3", + "lightgreyred-4", + "lightgreyred-5", + "lightgreyred-6", + "lightgreyred-7", + "lightgreyred-8", + "lightgreyred-9", + "lightgreyteal", + "lightgreyteal-3", + "lightgreyteal-4", + "lightgreyteal-5", + "lightgreyteal-6", + "lightgreyteal-7", + "lightgreyteal-8", + "lightgreyteal-9", + "lightmulti", + "lightmulti-3", + "lightmulti-4", + "lightmulti-5", + "lightmulti-6", + "lightmulti-7", + "lightmulti-8", + "lightmulti-9", + "lightorange", + "lightorange-3", + "lightorange-4", + "lightorange-5", + "lightorange-6", + "lightorange-7", + "lightorange-8", + "lightorange-9", + "lighttealblue", + "lighttealblue-3", + "lighttealblue-4", + "lighttealblue-5", + "lighttealblue-6", + "lighttealblue-7", + "lighttealblue-8", + "lighttealblue-9", ], UndefinedType, ] = Undefined, type: Union[ - Union[ - Literal[ - "linear", - "log", - "pow", - "sqrt", - "symlog", - "identity", - "sequential", - "time", - "utc", - "quantile", - "quantize", - "threshold", - "bin-ordinal", - "ordinal", - "point", - "band", - ], - core.ScaleType, + core.SchemaBase, + Literal[ + "linear", + "log", + "pow", + "sqrt", + "symlog", + "identity", + "sequential", + "time", + "utc", + "quantile", + "quantize", + "threshold", + "bin-ordinal", + "ordinal", + "point", + "band", ], UndefinedType, ] = Undefined, zero: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "YOffset": @@ -88825,42 +78314,36 @@ def sort( @overload def sort( self, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, op: Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "YOffset": @@ -88870,28 +78353,25 @@ def sort( def sort( self, encoding: Union[ - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, + core.SchemaBase, + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union[Literal["ascending", "descending"], core.SortOrder]], - UndefinedType, + None, core.SchemaBase, Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ) -> "YOffset": @@ -89070,114 +78550,94 @@ def timeUnit( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -89207,263 +78667,210 @@ def type( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union[core.RepeatRef, dict], str], UndefinedType + str, dict, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, aggregate: Union[ - Union[ - Union[ - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - core.NonArgAggregateOp, - ], - Union[core.ArgmaxDef, dict], - Union[core.ArgminDef, dict], - core.Aggregate, + dict, + core.SchemaBase, + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union[core.BinParams, dict], bool], UndefinedType - ] = Undefined, - field: Union[ - Union[Union[core.FieldName, str], Union[core.RepeatRef, dict], core.Field], - UndefinedType, - ] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + bin: Union[bool, dict, None, core.SchemaBase, UndefinedType] = Undefined, + field: Union[str, dict, core.SchemaBase, UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union[ - Sequence[Union[core.DateTime, dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - core.SortArray, - ], - Union[ - Union[ - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - core.SortByChannelDesc, - ], - Union[Literal["ascending", "descending"], core.SortOrder], - Union[ - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - core.SortByChannel, - ], - core.AllSortString, - ], - Union[core.EncodingSortField, dict], - Union[core.SortByEncoding, dict], - core.Sort, + dict, + None, + Sequence[str], + Sequence[bool], + core.SchemaBase, + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, core.SchemaBase]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - core.BinnedTimeUnit, - ], - Union[ - Union[ - Union[ - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - core.UtcSingleTimeUnit, - ], - Union[ - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - core.LocalSingleTimeUnit, - ], - core.SingleTimeUnit, - ], - Union[ - Union[ - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - core.UtcMultiTimeUnit, - ], - Union[ - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - core.LocalMultiTimeUnit, - ], - core.MultiTimeUnit, - ], - core.TimeUnit, - ], - Union[core.TimeUnitParams, dict], + dict, + core.SchemaBase, + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal"], - core.StandardType, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -89487,8 +78894,6 @@ def __init__( class YOffsetDatum(DatumChannelMixin, core.ScaleDatumDef): """YOffsetDatum schema wrapper - :class:`ScaleDatumDef`, Dict - Parameters ---------- @@ -89496,9 +78901,9 @@ class YOffsetDatum(DatumChannelMixin, core.ScaleDatumDef): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -89511,7 +78916,7 @@ class YOffsetDatum(DatumChannelMixin, core.ScaleDatumDef): **See also:** `scale `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -89613,542 +79018,487 @@ def bandPosition(self, _: float, **kwds) -> "YOffsetDatum": def scale( self, align: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, base: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - bins: Union[ - Union[Sequence[float], Union[core.ScaleBinParams, dict], core.ScaleBins], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + bins: Union[dict, core.SchemaBase, Sequence[float], UndefinedType] = Undefined, clamp: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, constant: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domain: Union[ - Union[ - Sequence[ - Union[ - None, - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - bool, - float, - str, - ] - ], - Union[core.DomainUnionWith, dict], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ParameterExtent, core._Parameter, dict], - str, + str, + dict, + core._Parameter, + core.SchemaBase, + Sequence[ + Union[str, bool, dict, None, float, core._Parameter, core.SchemaBase] ], UndefinedType, ] = Undefined, domainMax: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMid: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainMin: Union[ - Union[ - Union[core.DateTime, dict], - Union[core.ExprRef, core._Parameter, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, domainRaw: Union[ - Union[core.ExprRef, core._Parameter, dict], UndefinedType + dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, exponent: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "rgb", - "lab", - "hcl", - "hsl", - "hsl-long", - "hcl-long", - "cubehelix", - "cubehelix-long", - ], - core.ScaleInterpolateEnum, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.ScaleInterpolateParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "rgb", + "lab", + "hcl", + "hsl", + "hsl-long", + "hcl-long", + "cubehelix", + "cubehelix-long", ], UndefinedType, ] = Undefined, nice: Union[ - Union[ - Union[ - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - core.TimeInterval, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.TimeIntervalStep, dict], - bool, - float, + bool, + dict, + float, + core._Parameter, + core.SchemaBase, + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingInner: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, paddingOuter: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, range: Union[ - Union[ - Sequence[ - Union[ - Sequence[float], - Union[core.ExprRef, core._Parameter, dict], - float, - str, - ] - ], + dict, + core.SchemaBase, + Sequence[ Union[ - Literal[ - "width", - "height", - "symbol", - "category", - "ordinal", - "ramp", - "diverging", - "heatmap", - ], - core.RangeEnum, - ], - Union[core.FieldRange, dict], + str, dict, float, core._Parameter, core.SchemaBase, Sequence[float] + ] + ], + Literal[ + "width", + "height", + "symbol", + "category", + "ordinal", + "ramp", + "diverging", + "heatmap", ], UndefinedType, ] = Undefined, rangeMax: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, rangeMin: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, reverse: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, round: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, scheme: Union[ - Union[ - Union[ - Union[ - Literal[ - "accent", - "category10", - "category20", - "category20b", - "category20c", - "dark2", - "paired", - "pastel1", - "pastel2", - "set1", - "set2", - "set3", - "tableau10", - "tableau20", - ], - core.Categorical, - ], - Union[ - Literal[ - "blueorange", - "blueorange-3", - "blueorange-4", - "blueorange-5", - "blueorange-6", - "blueorange-7", - "blueorange-8", - "blueorange-9", - "blueorange-10", - "blueorange-11", - "brownbluegreen", - "brownbluegreen-3", - "brownbluegreen-4", - "brownbluegreen-5", - "brownbluegreen-6", - "brownbluegreen-7", - "brownbluegreen-8", - "brownbluegreen-9", - "brownbluegreen-10", - "brownbluegreen-11", - "purplegreen", - "purplegreen-3", - "purplegreen-4", - "purplegreen-5", - "purplegreen-6", - "purplegreen-7", - "purplegreen-8", - "purplegreen-9", - "purplegreen-10", - "purplegreen-11", - "pinkyellowgreen", - "pinkyellowgreen-3", - "pinkyellowgreen-4", - "pinkyellowgreen-5", - "pinkyellowgreen-6", - "pinkyellowgreen-7", - "pinkyellowgreen-8", - "pinkyellowgreen-9", - "pinkyellowgreen-10", - "pinkyellowgreen-11", - "purpleorange", - "purpleorange-3", - "purpleorange-4", - "purpleorange-5", - "purpleorange-6", - "purpleorange-7", - "purpleorange-8", - "purpleorange-9", - "purpleorange-10", - "purpleorange-11", - "redblue", - "redblue-3", - "redblue-4", - "redblue-5", - "redblue-6", - "redblue-7", - "redblue-8", - "redblue-9", - "redblue-10", - "redblue-11", - "redgrey", - "redgrey-3", - "redgrey-4", - "redgrey-5", - "redgrey-6", - "redgrey-7", - "redgrey-8", - "redgrey-9", - "redgrey-10", - "redgrey-11", - "redyellowblue", - "redyellowblue-3", - "redyellowblue-4", - "redyellowblue-5", - "redyellowblue-6", - "redyellowblue-7", - "redyellowblue-8", - "redyellowblue-9", - "redyellowblue-10", - "redyellowblue-11", - "redyellowgreen", - "redyellowgreen-3", - "redyellowgreen-4", - "redyellowgreen-5", - "redyellowgreen-6", - "redyellowgreen-7", - "redyellowgreen-8", - "redyellowgreen-9", - "redyellowgreen-10", - "redyellowgreen-11", - "spectral", - "spectral-3", - "spectral-4", - "spectral-5", - "spectral-6", - "spectral-7", - "spectral-8", - "spectral-9", - "spectral-10", - "spectral-11", - ], - core.Diverging, - ], - Union[ - Literal[ - "blues", - "tealblues", - "teals", - "greens", - "browns", - "greys", - "purples", - "warmgreys", - "reds", - "oranges", - ], - core.SequentialSingleHue, - ], - Union[Literal["rainbow", "sinebow"], core.Cyclical], - Union[ - Literal[ - "turbo", - "viridis", - "inferno", - "magma", - "plasma", - "cividis", - "bluegreen", - "bluegreen-3", - "bluegreen-4", - "bluegreen-5", - "bluegreen-6", - "bluegreen-7", - "bluegreen-8", - "bluegreen-9", - "bluepurple", - "bluepurple-3", - "bluepurple-4", - "bluepurple-5", - "bluepurple-6", - "bluepurple-7", - "bluepurple-8", - "bluepurple-9", - "goldgreen", - "goldgreen-3", - "goldgreen-4", - "goldgreen-5", - "goldgreen-6", - "goldgreen-7", - "goldgreen-8", - "goldgreen-9", - "goldorange", - "goldorange-3", - "goldorange-4", - "goldorange-5", - "goldorange-6", - "goldorange-7", - "goldorange-8", - "goldorange-9", - "goldred", - "goldred-3", - "goldred-4", - "goldred-5", - "goldred-6", - "goldred-7", - "goldred-8", - "goldred-9", - "greenblue", - "greenblue-3", - "greenblue-4", - "greenblue-5", - "greenblue-6", - "greenblue-7", - "greenblue-8", - "greenblue-9", - "orangered", - "orangered-3", - "orangered-4", - "orangered-5", - "orangered-6", - "orangered-7", - "orangered-8", - "orangered-9", - "purplebluegreen", - "purplebluegreen-3", - "purplebluegreen-4", - "purplebluegreen-5", - "purplebluegreen-6", - "purplebluegreen-7", - "purplebluegreen-8", - "purplebluegreen-9", - "purpleblue", - "purpleblue-3", - "purpleblue-4", - "purpleblue-5", - "purpleblue-6", - "purpleblue-7", - "purpleblue-8", - "purpleblue-9", - "purplered", - "purplered-3", - "purplered-4", - "purplered-5", - "purplered-6", - "purplered-7", - "purplered-8", - "purplered-9", - "redpurple", - "redpurple-3", - "redpurple-4", - "redpurple-5", - "redpurple-6", - "redpurple-7", - "redpurple-8", - "redpurple-9", - "yellowgreenblue", - "yellowgreenblue-3", - "yellowgreenblue-4", - "yellowgreenblue-5", - "yellowgreenblue-6", - "yellowgreenblue-7", - "yellowgreenblue-8", - "yellowgreenblue-9", - "yellowgreen", - "yellowgreen-3", - "yellowgreen-4", - "yellowgreen-5", - "yellowgreen-6", - "yellowgreen-7", - "yellowgreen-8", - "yellowgreen-9", - "yelloworangebrown", - "yelloworangebrown-3", - "yelloworangebrown-4", - "yelloworangebrown-5", - "yelloworangebrown-6", - "yelloworangebrown-7", - "yelloworangebrown-8", - "yelloworangebrown-9", - "yelloworangered", - "yelloworangered-3", - "yelloworangered-4", - "yelloworangered-5", - "yelloworangered-6", - "yelloworangered-7", - "yelloworangered-8", - "yelloworangered-9", - "darkblue", - "darkblue-3", - "darkblue-4", - "darkblue-5", - "darkblue-6", - "darkblue-7", - "darkblue-8", - "darkblue-9", - "darkgold", - "darkgold-3", - "darkgold-4", - "darkgold-5", - "darkgold-6", - "darkgold-7", - "darkgold-8", - "darkgold-9", - "darkgreen", - "darkgreen-3", - "darkgreen-4", - "darkgreen-5", - "darkgreen-6", - "darkgreen-7", - "darkgreen-8", - "darkgreen-9", - "darkmulti", - "darkmulti-3", - "darkmulti-4", - "darkmulti-5", - "darkmulti-6", - "darkmulti-7", - "darkmulti-8", - "darkmulti-9", - "darkred", - "darkred-3", - "darkred-4", - "darkred-5", - "darkred-6", - "darkred-7", - "darkred-8", - "darkred-9", - "lightgreyred", - "lightgreyred-3", - "lightgreyred-4", - "lightgreyred-5", - "lightgreyred-6", - "lightgreyred-7", - "lightgreyred-8", - "lightgreyred-9", - "lightgreyteal", - "lightgreyteal-3", - "lightgreyteal-4", - "lightgreyteal-5", - "lightgreyteal-6", - "lightgreyteal-7", - "lightgreyteal-8", - "lightgreyteal-9", - "lightmulti", - "lightmulti-3", - "lightmulti-4", - "lightmulti-5", - "lightmulti-6", - "lightmulti-7", - "lightmulti-8", - "lightmulti-9", - "lightorange", - "lightorange-3", - "lightorange-4", - "lightorange-5", - "lightorange-6", - "lightorange-7", - "lightorange-8", - "lightorange-9", - "lighttealblue", - "lighttealblue-3", - "lighttealblue-4", - "lighttealblue-5", - "lighttealblue-6", - "lighttealblue-7", - "lighttealblue-8", - "lighttealblue-9", - ], - core.SequentialMultiHue, - ], - core.ColorScheme, - ], - Union[core.ExprRef, core._Parameter, dict], - Union[core.SchemeParams, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal["rainbow", "sinebow"], + Literal[ + "blues", + "tealblues", + "teals", + "greens", + "browns", + "greys", + "purples", + "warmgreys", + "reds", + "oranges", + ], + Literal[ + "accent", + "category10", + "category20", + "category20b", + "category20c", + "dark2", + "paired", + "pastel1", + "pastel2", + "set1", + "set2", + "set3", + "tableau10", + "tableau20", + ], + Literal[ + "blueorange", + "blueorange-3", + "blueorange-4", + "blueorange-5", + "blueorange-6", + "blueorange-7", + "blueorange-8", + "blueorange-9", + "blueorange-10", + "blueorange-11", + "brownbluegreen", + "brownbluegreen-3", + "brownbluegreen-4", + "brownbluegreen-5", + "brownbluegreen-6", + "brownbluegreen-7", + "brownbluegreen-8", + "brownbluegreen-9", + "brownbluegreen-10", + "brownbluegreen-11", + "purplegreen", + "purplegreen-3", + "purplegreen-4", + "purplegreen-5", + "purplegreen-6", + "purplegreen-7", + "purplegreen-8", + "purplegreen-9", + "purplegreen-10", + "purplegreen-11", + "pinkyellowgreen", + "pinkyellowgreen-3", + "pinkyellowgreen-4", + "pinkyellowgreen-5", + "pinkyellowgreen-6", + "pinkyellowgreen-7", + "pinkyellowgreen-8", + "pinkyellowgreen-9", + "pinkyellowgreen-10", + "pinkyellowgreen-11", + "purpleorange", + "purpleorange-3", + "purpleorange-4", + "purpleorange-5", + "purpleorange-6", + "purpleorange-7", + "purpleorange-8", + "purpleorange-9", + "purpleorange-10", + "purpleorange-11", + "redblue", + "redblue-3", + "redblue-4", + "redblue-5", + "redblue-6", + "redblue-7", + "redblue-8", + "redblue-9", + "redblue-10", + "redblue-11", + "redgrey", + "redgrey-3", + "redgrey-4", + "redgrey-5", + "redgrey-6", + "redgrey-7", + "redgrey-8", + "redgrey-9", + "redgrey-10", + "redgrey-11", + "redyellowblue", + "redyellowblue-3", + "redyellowblue-4", + "redyellowblue-5", + "redyellowblue-6", + "redyellowblue-7", + "redyellowblue-8", + "redyellowblue-9", + "redyellowblue-10", + "redyellowblue-11", + "redyellowgreen", + "redyellowgreen-3", + "redyellowgreen-4", + "redyellowgreen-5", + "redyellowgreen-6", + "redyellowgreen-7", + "redyellowgreen-8", + "redyellowgreen-9", + "redyellowgreen-10", + "redyellowgreen-11", + "spectral", + "spectral-3", + "spectral-4", + "spectral-5", + "spectral-6", + "spectral-7", + "spectral-8", + "spectral-9", + "spectral-10", + "spectral-11", + ], + Literal[ + "turbo", + "viridis", + "inferno", + "magma", + "plasma", + "cividis", + "bluegreen", + "bluegreen-3", + "bluegreen-4", + "bluegreen-5", + "bluegreen-6", + "bluegreen-7", + "bluegreen-8", + "bluegreen-9", + "bluepurple", + "bluepurple-3", + "bluepurple-4", + "bluepurple-5", + "bluepurple-6", + "bluepurple-7", + "bluepurple-8", + "bluepurple-9", + "goldgreen", + "goldgreen-3", + "goldgreen-4", + "goldgreen-5", + "goldgreen-6", + "goldgreen-7", + "goldgreen-8", + "goldgreen-9", + "goldorange", + "goldorange-3", + "goldorange-4", + "goldorange-5", + "goldorange-6", + "goldorange-7", + "goldorange-8", + "goldorange-9", + "goldred", + "goldred-3", + "goldred-4", + "goldred-5", + "goldred-6", + "goldred-7", + "goldred-8", + "goldred-9", + "greenblue", + "greenblue-3", + "greenblue-4", + "greenblue-5", + "greenblue-6", + "greenblue-7", + "greenblue-8", + "greenblue-9", + "orangered", + "orangered-3", + "orangered-4", + "orangered-5", + "orangered-6", + "orangered-7", + "orangered-8", + "orangered-9", + "purplebluegreen", + "purplebluegreen-3", + "purplebluegreen-4", + "purplebluegreen-5", + "purplebluegreen-6", + "purplebluegreen-7", + "purplebluegreen-8", + "purplebluegreen-9", + "purpleblue", + "purpleblue-3", + "purpleblue-4", + "purpleblue-5", + "purpleblue-6", + "purpleblue-7", + "purpleblue-8", + "purpleblue-9", + "purplered", + "purplered-3", + "purplered-4", + "purplered-5", + "purplered-6", + "purplered-7", + "purplered-8", + "purplered-9", + "redpurple", + "redpurple-3", + "redpurple-4", + "redpurple-5", + "redpurple-6", + "redpurple-7", + "redpurple-8", + "redpurple-9", + "yellowgreenblue", + "yellowgreenblue-3", + "yellowgreenblue-4", + "yellowgreenblue-5", + "yellowgreenblue-6", + "yellowgreenblue-7", + "yellowgreenblue-8", + "yellowgreenblue-9", + "yellowgreen", + "yellowgreen-3", + "yellowgreen-4", + "yellowgreen-5", + "yellowgreen-6", + "yellowgreen-7", + "yellowgreen-8", + "yellowgreen-9", + "yelloworangebrown", + "yelloworangebrown-3", + "yelloworangebrown-4", + "yelloworangebrown-5", + "yelloworangebrown-6", + "yelloworangebrown-7", + "yelloworangebrown-8", + "yelloworangebrown-9", + "yelloworangered", + "yelloworangered-3", + "yelloworangered-4", + "yelloworangered-5", + "yelloworangered-6", + "yelloworangered-7", + "yelloworangered-8", + "yelloworangered-9", + "darkblue", + "darkblue-3", + "darkblue-4", + "darkblue-5", + "darkblue-6", + "darkblue-7", + "darkblue-8", + "darkblue-9", + "darkgold", + "darkgold-3", + "darkgold-4", + "darkgold-5", + "darkgold-6", + "darkgold-7", + "darkgold-8", + "darkgold-9", + "darkgreen", + "darkgreen-3", + "darkgreen-4", + "darkgreen-5", + "darkgreen-6", + "darkgreen-7", + "darkgreen-8", + "darkgreen-9", + "darkmulti", + "darkmulti-3", + "darkmulti-4", + "darkmulti-5", + "darkmulti-6", + "darkmulti-7", + "darkmulti-8", + "darkmulti-9", + "darkred", + "darkred-3", + "darkred-4", + "darkred-5", + "darkred-6", + "darkred-7", + "darkred-8", + "darkred-9", + "lightgreyred", + "lightgreyred-3", + "lightgreyred-4", + "lightgreyred-5", + "lightgreyred-6", + "lightgreyred-7", + "lightgreyred-8", + "lightgreyred-9", + "lightgreyteal", + "lightgreyteal-3", + "lightgreyteal-4", + "lightgreyteal-5", + "lightgreyteal-6", + "lightgreyteal-7", + "lightgreyteal-8", + "lightgreyteal-9", + "lightmulti", + "lightmulti-3", + "lightmulti-4", + "lightmulti-5", + "lightmulti-6", + "lightmulti-7", + "lightmulti-8", + "lightmulti-9", + "lightorange", + "lightorange-3", + "lightorange-4", + "lightorange-5", + "lightorange-6", + "lightorange-7", + "lightorange-8", + "lightorange-9", + "lighttealblue", + "lighttealblue-3", + "lighttealblue-4", + "lighttealblue-5", + "lighttealblue-6", + "lighttealblue-7", + "lighttealblue-8", + "lighttealblue-9", ], UndefinedType, ] = Undefined, type: Union[ - Union[ - Literal[ - "linear", - "log", - "pow", - "sqrt", - "symlog", - "identity", - "sequential", - "time", - "utc", - "quantile", - "quantize", - "threshold", - "bin-ordinal", - "ordinal", - "point", - "band", - ], - core.ScaleType, + core.SchemaBase, + Literal[ + "linear", + "log", + "pow", + "sqrt", + "symlog", + "identity", + "sequential", + "time", + "utc", + "quantile", + "quantize", + "threshold", + "bin-ordinal", + "ordinal", + "point", + "band", ], UndefinedType, ] = Undefined, zero: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> "YOffsetDatum": @@ -90182,15 +79532,13 @@ def __init__( self, datum, bandPosition: Union[float, UndefinedType] = Undefined, - scale: Union[Union[None, Union[core.Scale, dict]], UndefinedType] = Undefined, + scale: Union[dict, None, core.SchemaBase, UndefinedType] = Undefined, title: Union[ - Union[None, Union[Sequence[str], core.Text, str]], UndefinedType + str, None, Sequence[str], core.SchemaBase, UndefinedType ] = Undefined, type: Union[ - Union[ - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - core.Type, - ], + core.SchemaBase, + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -90208,8 +79556,6 @@ def __init__( @with_property_setters class YOffsetValue(ValueChannelMixin, core.ValueDefnumber): """YOffsetValue schema wrapper - - :class:`ValueDefnumber`, Dict[required=[value]] Definition object for a constant value (primitive value or gradient definition) of an encoding channel. diff --git a/altair/vegalite/v5/schema/core.py b/altair/vegalite/v5/schema/core.py index e3f793213..89239c74a 100644 --- a/altair/vegalite/v5/schema/core.py +++ b/altair/vegalite/v5/schema/core.py @@ -48,12 +48,6 @@ def _default_wrapper_classes(cls) -> TypingGenerator[type, None, None]: class Root(VegaLiteSchema): """Root schema wrapper - - :class:`TopLevelConcatSpec`, Dict[required=[concat]], :class:`TopLevelFacetSpec`, - Dict[required=[data, facet, spec]], :class:`TopLevelHConcatSpec`, Dict[required=[hconcat]], - :class:`TopLevelLayerSpec`, Dict[required=[layer]], :class:`TopLevelRepeatSpec`, - Dict[required=[repeat, spec]], :class:`TopLevelSpec`, :class:`TopLevelUnitSpec`, - Dict[required=[data, mark]], :class:`TopLevelVConcatSpec`, Dict[required=[vconcat]] A Vega-Lite top-level specification. This is the root class for all Vega-Lite specifications. (The json schema is generated from this type.) """ @@ -65,13 +59,7 @@ def __init__(self, *args, **kwds): class Aggregate(VegaLiteSchema): - """Aggregate schema wrapper - - :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, - Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', - 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', - 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] - """ + """Aggregate schema wrapper""" _schema = {"$ref": "#/definitions/Aggregate"} @@ -80,12 +68,7 @@ def __init__(self, *args, **kwds): class AggregateOp(VegaLiteSchema): - """AggregateOp schema wrapper - - :class:`AggregateOp`, Literal['argmax', 'argmin', 'average', 'count', 'distinct', 'max', - 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', - 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] - """ + """AggregateOp schema wrapper""" _schema = {"$ref": "#/definitions/AggregateOp"} @@ -96,8 +79,6 @@ def __init__(self, *args): class AggregatedFieldDef(VegaLiteSchema): """AggregatedFieldDef schema wrapper - :class:`AggregatedFieldDef`, Dict[required=[op, as]] - Parameters ---------- @@ -105,10 +86,10 @@ class AggregatedFieldDef(VegaLiteSchema): The aggregation operation to apply to the fields (e.g., ``"sum"``, ``"average"``, or ``"count"`` ). See the `full list of supported aggregation operations `__ for more information. - field : :class:`FieldName`, str + field : str, :class:`FieldName` The data field for which to compute aggregate function. This is required for all aggregation operations except ``"count"``. - as : :class:`FieldName`, str + as : str, :class:`FieldName` The output field names to use for each aggregated field. """ @@ -117,47 +98,42 @@ class AggregatedFieldDef(VegaLiteSchema): def __init__( self, op: Union[ - Union[ - "AggregateOp", - Literal[ - "argmax", - "argmin", - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - ], - UndefinedType, - ] = Undefined, - field: Union[Union["FieldName", str], UndefinedType] = Undefined, + "SchemaBase", + Literal[ + "argmax", + "argmin", + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", + ], + UndefinedType, + ] = Undefined, + field: Union[str, "SchemaBase", UndefinedType] = Undefined, **kwds, ): super(AggregatedFieldDef, self).__init__(op=op, field=field, **kwds) class Align(VegaLiteSchema): - """Align schema wrapper - - :class:`Align`, Literal['left', 'center', 'right'] - """ + """Align schema wrapper""" _schema = {"$ref": "#/definitions/Align"} @@ -166,15 +142,7 @@ def __init__(self, *args): class AnyMark(VegaLiteSchema): - """AnyMark schema wrapper - - :class:`AnyMark`, :class:`BoxPlotDef`, Dict[required=[type]], :class:`CompositeMarkDef`, - :class:`ErrorBandDef`, Dict[required=[type]], :class:`ErrorBarDef`, Dict[required=[type]], - :class:`BoxPlot`, str, :class:`CompositeMark`, :class:`ErrorBand`, str, :class:`ErrorBar`, - str, :class:`MarkDef`, Dict[required=[type]], :class:`Mark`, Literal['arc', 'area', 'bar', - 'image', 'line', 'point', 'rect', 'rule', 'text', 'tick', 'trail', 'circle', 'square', - 'geoshape'] - """ + """AnyMark schema wrapper""" _schema = {"$ref": "#/definitions/AnyMark"} @@ -183,12 +151,7 @@ def __init__(self, *args, **kwds): class AnyMarkConfig(VegaLiteSchema): - """AnyMarkConfig schema wrapper - - :class:`AnyMarkConfig`, :class:`AreaConfig`, Dict, :class:`BarConfig`, Dict, - :class:`LineConfig`, Dict, :class:`MarkConfig`, Dict, :class:`RectConfig`, Dict, - :class:`TickConfig`, Dict - """ + """AnyMarkConfig schema wrapper""" _schema = {"$ref": "#/definitions/AnyMarkConfig"} @@ -199,37 +162,35 @@ def __init__(self, *args, **kwds): class AreaConfig(AnyMarkConfig): """AreaConfig schema wrapper - :class:`AreaConfig`, Dict - Parameters ---------- - align : :class:`Align`, Literal['left', 'center', 'right'], :class:`ExprRef`, Dict[required=[expr]] + align : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] The horizontal alignment of the text or ranged marks (area, bar, image, rect, rule). One of ``"left"``, ``"right"``, ``"center"``. **Note:** Expression reference is *not* supported for range marks. - angle : :class:`ExprRef`, Dict[required=[expr]], float + angle : dict, float, :class:`ExprRef` The rotation angle of the text, in degrees. - aria : :class:`ExprRef`, Dict[required=[expr]], bool + aria : bool, dict, :class:`ExprRef` A boolean flag indicating if `ARIA attributes `__ should be included (SVG output only). If ``false``, the "aria-hidden" attribute will be set on the output SVG element, removing the mark item from the ARIA accessibility tree. - ariaRole : :class:`ExprRef`, Dict[required=[expr]], str + ariaRole : str, dict, :class:`ExprRef` Sets the type of user interface element of the mark item for `ARIA accessibility `__ (SVG output only). If specified, this property determines the "role" attribute. Warning: this property is experimental and may be changed in the future. - ariaRoleDescription : :class:`ExprRef`, Dict[required=[expr]], str + ariaRoleDescription : str, dict, :class:`ExprRef` A human-readable, author-localized description for the role of the mark item for `ARIA accessibility `__ (SVG output only). If specified, this property determines the "aria-roledescription" attribute. Warning: this property is experimental and may be changed in the future. - aspect : :class:`ExprRef`, Dict[required=[expr]], bool + aspect : bool, dict, :class:`ExprRef` Whether to keep aspect ratio of image marks. - baseline : :class:`Baseline`, Literal['top', 'middle', 'bottom'], :class:`TextBaseline`, str, :class:`ExprRef`, Dict[required=[expr]] + baseline : str, dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['top', 'middle', 'bottom'] For text marks, the vertical text baseline. One of ``"alphabetic"`` (default), ``"top"``, ``"middle"``, ``"bottom"``, ``"line-top"``, ``"line-bottom"``, or an expression reference that provides one of the valid values. The ``"line-top"`` and @@ -240,13 +201,13 @@ class AreaConfig(AnyMarkConfig): ``"middle"``, ``"bottom"``. **Note:** Expression reference is *not* supported for range marks. - blend : :class:`Blend`, Literal[None, 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'], :class:`ExprRef`, Dict[required=[expr]] + blend : dict, :class:`Blend`, :class:`ExprRef`, Literal[None, 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'] The color blend mode for drawing an item on its current background. Any valid `CSS mix-blend-mode `__ value can be used. __Default value:__ ``"source-over"`` - color : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]] + color : str, dict, :class:`Color`, :class:`ExprRef`, :class:`Gradient`, :class:`HexColor`, :class:`ColorName`, :class:`LinearGradient`, :class:`RadialGradient`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Default color. **Default value:** :raw-html:`` @@ -259,59 +220,59 @@ class AreaConfig(AnyMarkConfig): `__. * The ``fill`` and ``stroke`` properties have higher precedence than ``color`` and will override ``color``. - cornerRadius : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadius : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles or arcs' corners. **Default value:** ``0`` - cornerRadiusBottomLeft : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusBottomLeft : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom left corner. **Default value:** ``0`` - cornerRadiusBottomRight : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusBottomRight : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom right corner. **Default value:** ``0`` - cornerRadiusTopLeft : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusTopLeft : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top right corner. **Default value:** ``0`` - cornerRadiusTopRight : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusTopRight : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top left corner. **Default value:** ``0`` - cursor : :class:`Cursor`, Literal['auto', 'default', 'none', 'context-menu', 'help', 'pointer', 'progress', 'wait', 'cell', 'crosshair', 'text', 'vertical-text', 'alias', 'copy', 'move', 'no-drop', 'not-allowed', 'e-resize', 'n-resize', 'ne-resize', 'nw-resize', 's-resize', 'se-resize', 'sw-resize', 'w-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'col-resize', 'row-resize', 'all-scroll', 'zoom-in', 'zoom-out', 'grab', 'grabbing'], :class:`ExprRef`, Dict[required=[expr]] + cursor : dict, :class:`Cursor`, :class:`ExprRef`, Literal['auto', 'default', 'none', 'context-menu', 'help', 'pointer', 'progress', 'wait', 'cell', 'crosshair', 'text', 'vertical-text', 'alias', 'copy', 'move', 'no-drop', 'not-allowed', 'e-resize', 'n-resize', 'ne-resize', 'nw-resize', 's-resize', 'se-resize', 'sw-resize', 'w-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'col-resize', 'row-resize', 'all-scroll', 'zoom-in', 'zoom-out', 'grab', 'grabbing'] The mouse cursor used over the mark. Any valid `CSS cursor type `__ can be used. - description : :class:`ExprRef`, Dict[required=[expr]], str + description : str, dict, :class:`ExprRef` A text description of the mark item for `ARIA accessibility `__ (SVG output only). If specified, this property determines the `"aria-label" attribute `__. - dir : :class:`ExprRef`, Dict[required=[expr]], :class:`TextDirection`, Literal['ltr', 'rtl'] + dir : dict, :class:`ExprRef`, Literal['ltr', 'rtl'], :class:`TextDirection` The direction of the text. One of ``"ltr"`` (left-to-right) or ``"rtl"`` (right-to-left). This property determines on which side is truncated in response to the limit parameter. **Default value:** ``"ltr"`` - dx : :class:`ExprRef`, Dict[required=[expr]], float + dx : dict, float, :class:`ExprRef` The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the *angle* property. - dy : :class:`ExprRef`, Dict[required=[expr]], float + dy : dict, float, :class:`ExprRef` The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the *angle* property. - ellipsis : :class:`ExprRef`, Dict[required=[expr]], str + ellipsis : str, dict, :class:`ExprRef` The ellipsis string for text truncated in response to the limit parameter. **Default value:** ``"…"`` - endAngle : :class:`ExprRef`, Dict[required=[expr]], float + endAngle : dict, float, :class:`ExprRef` The end angle in radians for arc marks. A value of ``0`` indicates up (north), increasing values proceed clockwise. - fill : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]], None + fill : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`Gradient`, :class:`HexColor`, :class:`ColorName`, :class:`LinearGradient`, :class:`RadialGradient`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Default fill color. This property has higher precedence than ``config.color``. Set to ``null`` to remove fill. **Default value:** (None) - fillOpacity : :class:`ExprRef`, Dict[required=[expr]], float + fillOpacity : dict, float, :class:`ExprRef` The fill opacity (value between [0,1]). **Default value:** ``1`` @@ -325,28 +286,28 @@ class AreaConfig(AnyMarkConfig): **Note:** This property cannot be used in a `style config `__. - font : :class:`ExprRef`, Dict[required=[expr]], str + font : str, dict, :class:`ExprRef` The typeface to set the text in (e.g., ``"Helvetica Neue"`` ). - fontSize : :class:`ExprRef`, Dict[required=[expr]], float + fontSize : dict, float, :class:`ExprRef` The font size, in pixels. **Default value:** ``11`` - fontStyle : :class:`ExprRef`, Dict[required=[expr]], :class:`FontStyle`, str + fontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` The font style (e.g., ``"italic"`` ). - fontWeight : :class:`ExprRef`, Dict[required=[expr]], :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + fontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] The font weight. This can be either a string (e.g ``"bold"``, ``"normal"`` ) or a number ( ``100``, ``200``, ``300``, ..., ``900`` where ``"normal"`` = ``400`` and ``"bold"`` = ``700`` ). - height : :class:`ExprRef`, Dict[required=[expr]], float + height : dict, float, :class:`ExprRef` Height of the marks. - href : :class:`ExprRef`, Dict[required=[expr]], :class:`URI`, str + href : str, dict, :class:`URI`, :class:`ExprRef` A URL to load upon mouse click. If defined, the mark acts as a hyperlink. - innerRadius : :class:`ExprRef`, Dict[required=[expr]], float + innerRadius : dict, float, :class:`ExprRef` The inner radius in pixels of arc marks. ``innerRadius`` is an alias for ``radius2``. **Default value:** ``0`` - interpolate : :class:`ExprRef`, Dict[required=[expr]], :class:`Interpolate`, Literal['basis', 'basis-open', 'basis-closed', 'bundle', 'cardinal', 'cardinal-open', 'cardinal-closed', 'catmull-rom', 'linear', 'linear-closed', 'monotone', 'natural', 'step', 'step-before', 'step-after'] + interpolate : dict, :class:`ExprRef`, :class:`Interpolate`, Literal['basis', 'basis-open', 'basis-closed', 'bundle', 'cardinal', 'cardinal-open', 'cardinal-closed', 'catmull-rom', 'linear', 'linear-closed', 'monotone', 'natural', 'step', 'step-before', 'step-after'] The line interpolation method to use for line and area marks. One of the following: @@ -377,12 +338,12 @@ class AreaConfig(AnyMarkConfig): (for line, trail, and area marks) or filtered (for other marks). * If ``null``, all data items are included. In this case, invalid values will be interpreted as zeroes. - limit : :class:`ExprRef`, Dict[required=[expr]], float + limit : dict, float, :class:`ExprRef` The maximum length of the text mark in pixels. The text value will be automatically truncated if the rendered size exceeds the limit. **Default value:** ``0`` -- indicating no limit - line : :class:`OverlayMarkDef`, Dict, bool + line : bool, dict, :class:`OverlayMarkDef` A flag for overlaying line on top of area marks, or an object defining the properties of the overlayed lines. @@ -393,18 +354,18 @@ class AreaConfig(AnyMarkConfig): If this value is ``false``, no lines would be automatically added to area marks. **Default value:** ``false``. - lineBreak : :class:`ExprRef`, Dict[required=[expr]], str + lineBreak : str, dict, :class:`ExprRef` A delimiter, such as a newline character, upon which to break text strings into multiple lines. This property is ignored if the text is array-valued. - lineHeight : :class:`ExprRef`, Dict[required=[expr]], float + lineHeight : dict, float, :class:`ExprRef` The line height in pixels (the spacing between subsequent lines of text) for multi-line text marks. - opacity : :class:`ExprRef`, Dict[required=[expr]], float + opacity : dict, float, :class:`ExprRef` The overall opacity (value between [0,1]). **Default value:** ``0.7`` for non-aggregate plots with ``point``, ``tick``, ``circle``, or ``square`` marks or layered ``bar`` charts and ``1`` otherwise. - order : None, bool + order : bool, None For line and trail marks, this ``order`` property can be set to ``null`` or ``false`` to make the lines use the original order in the data sources. orient : :class:`Orientation`, Literal['horizontal', 'vertical'] @@ -419,13 +380,13 @@ class AreaConfig(AnyMarkConfig): the line if ``config.sortLineBy`` is not specified. For stacked charts, this is always determined by the orientation of the stack; therefore explicitly specified value will be ignored. - outerRadius : :class:`ExprRef`, Dict[required=[expr]], float + outerRadius : dict, float, :class:`ExprRef` The outer radius in pixels of arc marks. ``outerRadius`` is an alias for ``radius``. **Default value:** ``0`` - padAngle : :class:`ExprRef`, Dict[required=[expr]], float + padAngle : dict, float, :class:`ExprRef` The angular padding applied to sides of the arc, in radians. - point : :class:`OverlayMarkDef`, Dict, bool, str + point : str, bool, dict, :class:`OverlayMarkDef` A flag for overlaying points on top of line or area marks, or an object defining the properties of the overlayed points. @@ -440,18 +401,18 @@ class AreaConfig(AnyMarkConfig): area marks. **Default value:** ``false``. - radius : :class:`ExprRef`, Dict[required=[expr]], float + radius : dict, float, :class:`ExprRef` For arc mark, the primary (outer) radius in pixels. For text marks, polar coordinate radial offset, in pixels, of the text from the origin determined by the ``x`` and ``y`` properties. **Default value:** ``min(plot_width, plot_height)/2`` - radius2 : :class:`ExprRef`, Dict[required=[expr]], float + radius2 : dict, float, :class:`ExprRef` The secondary (inner) radius in pixels of arc marks. **Default value:** ``0`` - shape : :class:`ExprRef`, Dict[required=[expr]], :class:`SymbolShape`, str, str + shape : str, dict, :class:`ExprRef`, :class:`SymbolShape` Shape of the point marks. Supported values include: @@ -466,7 +427,7 @@ class AreaConfig(AnyMarkConfig): coordinates ranging from -1 to 1 along both the x and y dimensions.) **Default value:** ``"circle"`` - size : :class:`ExprRef`, Dict[required=[expr]], float + size : dict, float, :class:`ExprRef` Default size for marks. @@ -483,56 +444,56 @@ class AreaConfig(AnyMarkConfig): * ``2`` for bar marks with discrete dimensions; * ``5`` for bar marks with continuous dimensions; * ``11`` for text marks. - smooth : :class:`ExprRef`, Dict[required=[expr]], bool + smooth : bool, dict, :class:`ExprRef` A boolean flag (default true) indicating if the image should be smoothed when resized. If false, individual pixels should be scaled directly rather than interpolated with smoothing. For SVG rendering, this option may not work in some browsers due to lack of standardization. - startAngle : :class:`ExprRef`, Dict[required=[expr]], float + startAngle : dict, float, :class:`ExprRef` The start angle in radians for arc marks. A value of ``0`` indicates up (north), increasing values proceed clockwise. - stroke : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]], None + stroke : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`Gradient`, :class:`HexColor`, :class:`ColorName`, :class:`LinearGradient`, :class:`RadialGradient`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Default stroke color. This property has higher precedence than ``config.color``. Set to ``null`` to remove stroke. **Default value:** (None) - strokeCap : :class:`ExprRef`, Dict[required=[expr]], :class:`StrokeCap`, Literal['butt', 'round', 'square'] + strokeCap : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] The stroke cap for line ending style. One of ``"butt"``, ``"round"``, or ``"square"``. **Default value:** ``"butt"`` - strokeDash : :class:`ExprRef`, Dict[required=[expr]], Sequence[float] + strokeDash : dict, Sequence[float], :class:`ExprRef` An array of alternating stroke, space lengths for creating dashed or dotted lines. - strokeDashOffset : :class:`ExprRef`, Dict[required=[expr]], float + strokeDashOffset : dict, float, :class:`ExprRef` The offset (in pixels) into which to begin drawing with the stroke dash array. - strokeJoin : :class:`ExprRef`, Dict[required=[expr]], :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] + strokeJoin : dict, :class:`ExprRef`, :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] The stroke line join method. One of ``"miter"``, ``"round"`` or ``"bevel"``. **Default value:** ``"miter"`` - strokeMiterLimit : :class:`ExprRef`, Dict[required=[expr]], float + strokeMiterLimit : dict, float, :class:`ExprRef` The miter limit at which to bevel a line join. - strokeOffset : :class:`ExprRef`, Dict[required=[expr]], float + strokeOffset : dict, float, :class:`ExprRef` The offset in pixels at which to draw the group stroke and fill. If unspecified, the default behavior is to dynamically offset stroked groups such that 1 pixel stroke widths align with the pixel grid. - strokeOpacity : :class:`ExprRef`, Dict[required=[expr]], float + strokeOpacity : dict, float, :class:`ExprRef` The stroke opacity (value between [0,1]). **Default value:** ``1`` - strokeWidth : :class:`ExprRef`, Dict[required=[expr]], float + strokeWidth : dict, float, :class:`ExprRef` The stroke width, in pixels. - tension : :class:`ExprRef`, Dict[required=[expr]], float + tension : dict, float, :class:`ExprRef` Depending on the interpolation type, sets the tension parameter (for line and area marks). - text : :class:`ExprRef`, Dict[required=[expr]], :class:`Text`, Sequence[str], str + text : str, dict, :class:`Text`, Sequence[str], :class:`ExprRef` Placeholder text if the ``text`` channel is not specified - theta : :class:`ExprRef`, Dict[required=[expr]], float + theta : dict, float, :class:`ExprRef` For arc marks, the arc length in radians if theta2 is not specified, otherwise the start arc angle. (A value of 0 indicates up or “north”, increasing values proceed clockwise.) For text marks, polar coordinate angle in radians. - theta2 : :class:`ExprRef`, Dict[required=[expr]], float + theta2 : dict, float, :class:`ExprRef` The end angle of arc marks in radians. A value of 0 indicates up or “north”, increasing values proceed clockwise. timeUnitBandPosition : float @@ -543,7 +504,7 @@ class AreaConfig(AnyMarkConfig): Default relative band size for a time unit. If set to ``1``, the bandwidth of the marks will be equal to the time unit band step. If set to ``0.5``, bandwidth of the marks will be half of the time unit band step. - tooltip : :class:`ExprRef`, Dict[required=[expr]], :class:`TooltipContent`, Dict[required=[content]], None, bool, float, str + tooltip : str, bool, dict, None, float, :class:`ExprRef`, :class:`TooltipContent` The tooltip text string to show upon mouse hover or an object defining which fields should the tooltip be derived from. @@ -558,28 +519,28 @@ class AreaConfig(AnyMarkConfig): documentation for a detailed discussion about tooltip in Vega-Lite. **Default value:** ``null`` - url : :class:`ExprRef`, Dict[required=[expr]], :class:`URI`, str + url : str, dict, :class:`URI`, :class:`ExprRef` The URL of the image file for image marks. - width : :class:`ExprRef`, Dict[required=[expr]], float + width : dict, float, :class:`ExprRef` Width of the marks. - x : :class:`ExprRef`, Dict[required=[expr]], float, str + x : str, dict, float, :class:`ExprRef` X coordinates of the marks, or width of horizontal ``"bar"`` and ``"area"`` without specified ``x2`` or ``width``. The ``value`` of this channel can be a number or a string ``"width"`` for the width of the plot. - x2 : :class:`ExprRef`, Dict[required=[expr]], float, str + x2 : str, dict, float, :class:`ExprRef` X2 coordinates for ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. The ``value`` of this channel can be a number or a string ``"width"`` for the width of the plot. - y : :class:`ExprRef`, Dict[required=[expr]], float, str + y : str, dict, float, :class:`ExprRef` Y coordinates of the marks, or height of vertical ``"bar"`` and ``"area"`` without specified ``y2`` or ``height``. The ``value`` of this channel can be a number or a string ``"height"`` for the height of the plot. - y2 : :class:`ExprRef`, Dict[required=[expr]], float, str + y2 : str, dict, float, :class:`ExprRef` Y2 coordinates for ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. The ``value`` of this channel can be a number or a string ``"height"`` for the @@ -591,861 +552,768 @@ class AreaConfig(AnyMarkConfig): def __init__( self, align: Union[ - Union[ - Union["Align", Literal["left", "center", "right"]], - Union["ExprRef", "_Parameter", dict], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["left", "center", "right"], UndefinedType, ] = Undefined, angle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - aria: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + aria: Union[bool, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, ariaRole: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, ariaRoleDescription: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, aspect: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + bool, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, baseline: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "TextBaseline", - Union["Baseline", Literal["top", "middle", "bottom"]], - str, - ], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, blend: Union[ - Union[ - Union[ - "Blend", - Literal[ - None, - "multiply", - "screen", - "overlay", - "darken", - "lighten", - "color-dodge", - "color-burn", - "hard-light", - "soft-light", - "difference", - "exclusion", - "hue", - "saturation", - "color", - "luminosity", - ], - ], - Union["ExprRef", "_Parameter", dict], + dict, + "_Parameter", + "SchemaBase", + Literal[ + None, + "multiply", + "screen", + "overlay", + "darken", + "lighten", + "color-dodge", + "color-burn", + "hard-light", + "soft-light", + "difference", + "exclusion", + "hue", + "saturation", + "color", + "luminosity", ], UndefinedType, ] = Undefined, color: Union[ - Union[ - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], - Union[ - "Gradient", - Union["LinearGradient", dict], - Union["RadialGradient", dict], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, cornerRadius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusBottomLeft: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusBottomRight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusTopLeft: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusTopRight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cursor: Union[ - Union[ - Union[ - "Cursor", - Literal[ - "auto", - "default", - "none", - "context-menu", - "help", - "pointer", - "progress", - "wait", - "cell", - "crosshair", - "text", - "vertical-text", - "alias", - "copy", - "move", - "no-drop", - "not-allowed", - "e-resize", - "n-resize", - "ne-resize", - "nw-resize", - "s-resize", - "se-resize", - "sw-resize", - "w-resize", - "ew-resize", - "ns-resize", - "nesw-resize", - "nwse-resize", - "col-resize", - "row-resize", - "all-scroll", - "zoom-in", - "zoom-out", - "grab", - "grabbing", - ], - ], - Union["ExprRef", "_Parameter", dict], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "auto", + "default", + "none", + "context-menu", + "help", + "pointer", + "progress", + "wait", + "cell", + "crosshair", + "text", + "vertical-text", + "alias", + "copy", + "move", + "no-drop", + "not-allowed", + "e-resize", + "n-resize", + "ne-resize", + "nw-resize", + "s-resize", + "se-resize", + "sw-resize", + "w-resize", + "ew-resize", + "ns-resize", + "nesw-resize", + "nwse-resize", + "col-resize", + "row-resize", + "all-scroll", + "zoom-in", + "zoom-out", + "grab", + "grabbing", ], UndefinedType, ] = Undefined, description: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, dir: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["TextDirection", Literal["ltr", "rtl"]], - ], - UndefinedType, - ] = Undefined, - dx: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - dy: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, "_Parameter", "SchemaBase", Literal["ltr", "rtl"], UndefinedType ] = Undefined, + dx: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, + dy: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, ellipsis: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, endAngle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, fill: Union[ - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], - Union[ - "Gradient", - Union["LinearGradient", dict], - Union["RadialGradient", dict], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, fillOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, filled: Union[bool, UndefinedType] = Undefined, - font: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType - ] = Undefined, + font: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, fontSize: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, fontStyle: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["FontStyle", str]], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, fontWeight: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "FontWeight", - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, height: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - href: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["URI", str]], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + href: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, innerRadius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "Interpolate", - Literal[ - "basis", - "basis-open", - "basis-closed", - "bundle", - "cardinal", - "cardinal-open", - "cardinal-closed", - "catmull-rom", - "linear", - "linear-closed", - "monotone", - "natural", - "step", - "step-before", - "step-after", - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "basis", + "basis-open", + "basis-closed", + "bundle", + "cardinal", + "cardinal-open", + "cardinal-closed", + "catmull-rom", + "linear", + "linear-closed", + "monotone", + "natural", + "step", + "step-before", + "step-after", ], UndefinedType, ] = Undefined, invalid: Union[Literal["filter", None], UndefinedType] = Undefined, limit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - line: Union[ - Union[Union["OverlayMarkDef", dict], bool], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + line: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, lineBreak: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, lineHeight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, opacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, - order: Union[Union[None, bool], UndefinedType] = Undefined, + order: Union[bool, None, UndefinedType] = Undefined, orient: Union[ - Union["Orientation", Literal["horizontal", "vertical"]], UndefinedType + "SchemaBase", Literal["horizontal", "vertical"], UndefinedType ] = Undefined, outerRadius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, padAngle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - point: Union[ - Union[Union["OverlayMarkDef", dict], bool, str], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + point: Union[str, bool, dict, "SchemaBase", UndefinedType] = Undefined, radius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, radius2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - shape: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[Union["SymbolShape", str], str], - ], - UndefinedType, - ] = Undefined, - size: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + shape: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, + size: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, smooth: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + bool, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, startAngle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, stroke: Union[ - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], - Union[ - "Gradient", - Union["LinearGradient", dict], - Union["RadialGradient", dict], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, strokeCap: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["StrokeCap", Literal["butt", "round", "square"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, strokeDash: Union[ - Union[Sequence[float], Union["ExprRef", "_Parameter", dict]], UndefinedType + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, strokeDashOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeJoin: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["StrokeJoin", Literal["miter", "round", "bevel"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["miter", "round", "bevel"], UndefinedType, ] = Undefined, strokeMiterLimit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeWidth: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, tension: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, text: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], Union["Text", Sequence[str], str] - ], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", Sequence[str], UndefinedType ] = Undefined, theta: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, theta2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, timeUnitBandPosition: Union[float, UndefinedType] = Undefined, timeUnitBandSize: Union[float, UndefinedType] = Undefined, tooltip: Union[ - Union[ - None, - Union["ExprRef", "_Parameter", dict], - Union["TooltipContent", dict], - bool, - float, - str, - ], - UndefinedType, - ] = Undefined, - url: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["URI", str]], - UndefinedType, + str, bool, dict, None, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + url: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, width: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, x: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, x2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, y: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, y2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, **kwds, ): @@ -1528,19 +1396,17 @@ def __init__( class ArgmaxDef(Aggregate): """ArgmaxDef schema wrapper - :class:`ArgmaxDef`, Dict[required=[argmax]] - Parameters ---------- - argmax : :class:`FieldName`, str + argmax : str, :class:`FieldName` """ _schema = {"$ref": "#/definitions/ArgmaxDef"} def __init__( - self, argmax: Union[Union["FieldName", str], UndefinedType] = Undefined, **kwds + self, argmax: Union[str, "SchemaBase", UndefinedType] = Undefined, **kwds ): super(ArgmaxDef, self).__init__(argmax=argmax, **kwds) @@ -1548,19 +1414,17 @@ def __init__( class ArgminDef(Aggregate): """ArgminDef schema wrapper - :class:`ArgminDef`, Dict[required=[argmin]] - Parameters ---------- - argmin : :class:`FieldName`, str + argmin : str, :class:`FieldName` """ _schema = {"$ref": "#/definitions/ArgminDef"} def __init__( - self, argmin: Union[Union["FieldName", str], UndefinedType] = Undefined, **kwds + self, argmin: Union[str, "SchemaBase", UndefinedType] = Undefined, **kwds ): super(ArgminDef, self).__init__(argmin=argmin, **kwds) @@ -1568,8 +1432,6 @@ def __init__( class AutoSizeParams(VegaLiteSchema): """AutoSizeParams schema wrapper - :class:`AutoSizeParams`, Dict - Parameters ---------- @@ -1603,8 +1465,7 @@ def __init__( contains: Union[Literal["content", "padding"], UndefinedType] = Undefined, resize: Union[bool, UndefinedType] = Undefined, type: Union[ - Union["AutosizeType", Literal["pad", "none", "fit", "fit-x", "fit-y"]], - UndefinedType, + "SchemaBase", Literal["pad", "none", "fit", "fit-x", "fit-y"], UndefinedType ] = Undefined, **kwds, ): @@ -1614,10 +1475,7 @@ def __init__( class AutosizeType(VegaLiteSchema): - """AutosizeType schema wrapper - - :class:`AutosizeType`, Literal['pad', 'none', 'fit', 'fit-x', 'fit-y'] - """ + """AutosizeType schema wrapper""" _schema = {"$ref": "#/definitions/AutosizeType"} @@ -1628,25 +1486,23 @@ def __init__(self, *args): class Axis(VegaLiteSchema): """Axis schema wrapper - :class:`Axis`, Dict - Parameters ---------- - aria : :class:`ExprRef`, Dict[required=[expr]], bool + aria : bool, dict, :class:`ExprRef` A boolean flag indicating if `ARIA attributes `__ should be included (SVG output only). If ``false``, the "aria-hidden" attribute will be set on the output SVG group, removing the axis from the ARIA accessibility tree. **Default value:** ``true`` - bandPosition : :class:`ExprRef`, Dict[required=[expr]], float + bandPosition : dict, float, :class:`ExprRef` An interpolation fraction indicating where, for ``band`` scales, axis ticks should be positioned. A value of ``0`` places ticks at the left edge of their bands. A value of ``0.5`` places ticks in the middle of their bands. **Default value:** ``0.5`` - description : :class:`ExprRef`, Dict[required=[expr]], str + description : str, dict, :class:`ExprRef` A text description of this axis for `ARIA accessibility `__ (SVG output only). If the ``aria`` property is true, for SVG output the `"aria-label" attribute @@ -1658,26 +1514,26 @@ class Axis(VegaLiteSchema): part of the axis. **Default value:** ``true`` - domainCap : :class:`ExprRef`, Dict[required=[expr]], :class:`StrokeCap`, Literal['butt', 'round', 'square'] + domainCap : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] The stroke cap for the domain line's ending style. One of ``"butt"``, ``"round"`` or ``"square"``. **Default value:** ``"butt"`` - domainColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ExprRef`, Dict[required=[expr]] + domainColor : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Color of axis domain line. **Default value:** ``"gray"``. - domainDash : :class:`ExprRef`, Dict[required=[expr]], Sequence[float] + domainDash : dict, Sequence[float], :class:`ExprRef` An array of alternating [stroke, space] lengths for dashed domain lines. - domainDashOffset : :class:`ExprRef`, Dict[required=[expr]], float + domainDashOffset : dict, float, :class:`ExprRef` The pixel offset at which to start drawing with the domain dash array. - domainOpacity : :class:`ExprRef`, Dict[required=[expr]], float + domainOpacity : dict, float, :class:`ExprRef` Opacity of the axis domain line. - domainWidth : :class:`ExprRef`, Dict[required=[expr]], float + domainWidth : dict, float, :class:`ExprRef` Stroke width of axis domain line **Default value:** ``1`` - format : :class:`Dict`, Dict, str + format : str, dict, :class:`Dict` When used with the default ``"number"`` and ``"time"`` format type, the text formatting pattern for labels of guides (axes, legends, headers) and text marks. @@ -1717,41 +1573,41 @@ class Axis(VegaLiteSchema): **Default value:** ``true`` for `continuous scales `__ that are not binned; otherwise, ``false``. - gridCap : :class:`ExprRef`, Dict[required=[expr]], :class:`StrokeCap`, Literal['butt', 'round', 'square'] + gridCap : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] The stroke cap for grid lines' ending style. One of ``"butt"``, ``"round"`` or ``"square"``. **Default value:** ``"butt"`` - gridColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ConditionalAxisColor`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]] + gridColor : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, :class:`ConditionalAxisColor`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Color of gridlines. **Default value:** ``"lightGray"``. - gridDash : :class:`ConditionalAxisNumberArray`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], Sequence[float] + gridDash : dict, Sequence[float], :class:`ExprRef`, :class:`ConditionalAxisNumberArray` An array of alternating [stroke, space] lengths for dashed grid lines. - gridDashOffset : :class:`ConditionalAxisNumber`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], float + gridDashOffset : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The pixel offset at which to start drawing with the grid dash array. - gridOpacity : :class:`ConditionalAxisNumber`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], float + gridOpacity : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The stroke opacity of grid (value between [0,1]) **Default value:** ``1`` - gridWidth : :class:`ConditionalAxisNumber`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], float + gridWidth : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The grid width, in pixels. **Default value:** ``1`` - labelAlign : :class:`Align`, Literal['left', 'center', 'right'], :class:`ConditionalAxisLabelAlign`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]] + labelAlign : dict, :class:`Align`, :class:`ExprRef`, :class:`ConditionalAxisLabelAlign`, Literal['left', 'center', 'right'] Horizontal text alignment of axis tick labels, overriding the default setting for the current axis orientation. - labelAngle : :class:`ExprRef`, Dict[required=[expr]], float + labelAngle : dict, float, :class:`ExprRef` The rotation angle of the axis labels. **Default value:** ``-90`` for nominal and ordinal fields; ``0`` otherwise. - labelBaseline : :class:`Baseline`, Literal['top', 'middle', 'bottom'], :class:`TextBaseline`, str, :class:`ConditionalAxisLabelBaseline`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]] + labelBaseline : str, dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['top', 'middle', 'bottom'], :class:`ConditionalAxisLabelBaseline` Vertical text baseline of axis tick labels, overriding the default setting for the current axis orientation. One of ``"alphabetic"`` (default), ``"top"``, ``"middle"``, ``"bottom"``, ``"line-top"``, or ``"line-bottom"``. The ``"line-top"`` and ``"line-bottom"`` values operate similarly to ``"top"`` and ``"bottom"``, but are calculated relative to the *lineHeight* rather than *fontSize* alone. - labelBound : :class:`ExprRef`, Dict[required=[expr]], bool, float + labelBound : bool, dict, float, :class:`ExprRef` Indicates if labels should be hidden if they exceed the axis range. If ``false`` (the default) no bounds overlap analysis is performed. If ``true``, labels will be hidden if they exceed the axis range by more than 1 pixel. If this property is a @@ -1759,7 +1615,7 @@ class Axis(VegaLiteSchema): bounding box may exceed the axis range. **Default value:** ``false``. - labelColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ConditionalAxisColor`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]] + labelColor : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, :class:`ConditionalAxisColor`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] The color of the tick label, can be in hex color code or regular color name. labelExpr : str `Vega expression `__ for customizing @@ -1778,35 +1634,35 @@ class Axis(VegaLiteSchema): visually group with corresponding axis ticks. **Default value:** ``true`` for axis of a continuous x-scale. Otherwise, ``false``. - labelFlushOffset : :class:`ExprRef`, Dict[required=[expr]], float + labelFlushOffset : dict, float, :class:`ExprRef` Indicates the number of pixels by which to offset flush-adjusted labels. For example, a value of ``2`` will push flush-adjusted labels 2 pixels outward from the center of the axis. Offsets can help the labels better visually group with corresponding axis ticks. **Default value:** ``0``. - labelFont : :class:`ConditionalAxisString`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], str + labelFont : str, dict, :class:`ExprRef`, :class:`ConditionalAxisString` The font of the tick label. - labelFontSize : :class:`ConditionalAxisNumber`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], float + labelFontSize : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The font size of the label, in pixels. - labelFontStyle : :class:`ConditionalAxisLabelFontStyle`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], :class:`FontStyle`, str + labelFontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle`, :class:`ConditionalAxisLabelFontStyle` Font style of the title. - labelFontWeight : :class:`ConditionalAxisLabelFontWeight`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + labelFontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, :class:`ConditionalAxisLabelFontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] Font weight of axis tick labels. - labelLimit : :class:`ExprRef`, Dict[required=[expr]], float + labelLimit : dict, float, :class:`ExprRef` Maximum allowed pixel width of axis tick labels. **Default value:** ``180`` - labelLineHeight : :class:`ExprRef`, Dict[required=[expr]], float + labelLineHeight : dict, float, :class:`ExprRef` Line height in pixels for multi-line label text or label text with ``"line-top"`` or ``"line-bottom"`` baseline. - labelOffset : :class:`ConditionalAxisNumber`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], float + labelOffset : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` Position offset in pixels to apply to labels, in addition to tickOffset. **Default value:** ``0`` - labelOpacity : :class:`ConditionalAxisNumber`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], float + labelOpacity : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The opacity of the labels. - labelOverlap : :class:`ExprRef`, Dict[required=[expr]], :class:`LabelOverlap`, bool, str + labelOverlap : str, bool, dict, :class:`ExprRef`, :class:`LabelOverlap` The strategy to use for resolving overlap of axis labels. If ``false`` (the default), no overlap reduction is attempted. If set to ``true`` or ``"parity"``, a strategy of removing every other label is used (this works well for standard linear @@ -1816,11 +1672,11 @@ class Axis(VegaLiteSchema): **Default value:** ``true`` for non-nominal fields with non-log scales; ``"greedy"`` for log scales; otherwise ``false``. - labelPadding : :class:`ConditionalAxisNumber`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], float + labelPadding : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The padding in pixels between labels and ticks. **Default value:** ``2`` - labelSeparation : :class:`ExprRef`, Dict[required=[expr]], float + labelSeparation : dict, float, :class:`ExprRef` The minimum separation that must be between label bounding boxes for them to be considered non-overlapping (default ``0`` ). This property is ignored if *labelOverlap* resolution is not enabled. @@ -1828,36 +1684,36 @@ class Axis(VegaLiteSchema): A boolean flag indicating if labels should be included as part of the axis. **Default value:** ``true``. - maxExtent : :class:`ExprRef`, Dict[required=[expr]], float + maxExtent : dict, float, :class:`ExprRef` The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles. **Default value:** ``undefined``. - minExtent : :class:`ExprRef`, Dict[required=[expr]], float + minExtent : dict, float, :class:`ExprRef` The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles. **Default value:** ``30`` for y-axis; ``undefined`` for x-axis. - offset : :class:`ExprRef`, Dict[required=[expr]], float + offset : dict, float, :class:`ExprRef` The offset, in pixels, by which to displace the axis from the edge of the enclosing group or data rectangle. **Default value:** derived from the `axis config `__ 's ``offset`` ( ``0`` by default) - orient : :class:`AxisOrient`, Literal['top', 'bottom', 'left', 'right'], :class:`ExprRef`, Dict[required=[expr]] + orient : dict, :class:`ExprRef`, :class:`AxisOrient`, Literal['top', 'bottom', 'left', 'right'] The orientation of the axis. One of ``"top"``, ``"bottom"``, ``"left"`` or ``"right"``. The orientation can be used to further specialize the axis type (e.g., a y-axis oriented towards the right edge of the chart). **Default value:** ``"bottom"`` for x-axes and ``"left"`` for y-axes. - position : :class:`ExprRef`, Dict[required=[expr]], float + position : dict, float, :class:`ExprRef` The anchor position of the axis in pixels. For x-axes with top or bottom orientation, this sets the axis group x coordinate. For y-axes with left or right orientation, this sets the axis group y coordinate. **Default value** : ``0`` - style : Sequence[str], str + style : str, Sequence[str] A string or array of strings indicating the name of custom styles to apply to the axis. A style is a named collection of axis property defined within the `style configuration `__. If @@ -1866,19 +1722,19 @@ class Axis(VegaLiteSchema): **Default value:** (none) **Note:** Any specified style will augment the default style. For example, an x-axis mark with ``"style": "foo"`` will use ``config.axisX`` and ``config.style.foo`` (the specified style ``"foo"`` has higher precedence). - tickBand : :class:`ExprRef`, Dict[required=[expr]], Literal['center', 'extent'] + tickBand : dict, :class:`ExprRef`, Literal['center', 'extent'] For band scales, indicates if ticks and grid lines should be placed at the ``"center"`` of a band (default) or at the band ``"extent"`` s to indicate intervals - tickCap : :class:`ExprRef`, Dict[required=[expr]], :class:`StrokeCap`, Literal['butt', 'round', 'square'] + tickCap : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] The stroke cap for the tick lines' ending style. One of ``"butt"``, ``"round"`` or ``"square"``. **Default value:** ``"butt"`` - tickColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ConditionalAxisColor`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]] + tickColor : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, :class:`ConditionalAxisColor`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] The color of the axis's tick. **Default value:** ``"gray"`` - tickCount : :class:`ExprRef`, Dict[required=[expr]], :class:`TimeIntervalStep`, Dict[required=[interval, step]], :class:`TimeInterval`, Literal['millisecond', 'second', 'minute', 'hour', 'day', 'week', 'month', 'year'], float + tickCount : dict, float, :class:`ExprRef`, :class:`TimeInterval`, :class:`TimeIntervalStep`, Literal['millisecond', 'second', 'minute', 'hour', 'day', 'week', 'month', 'year'] A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are "nice" (multiples of 2, 5, 10) and lie within the underlying scale's range. @@ -1892,34 +1748,34 @@ class Axis(VegaLiteSchema): **Default value** : Determine using a formula ``ceil(width/40)`` for x and ``ceil(height/40)`` for y. - tickDash : :class:`ConditionalAxisNumberArray`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], Sequence[float] + tickDash : dict, Sequence[float], :class:`ExprRef`, :class:`ConditionalAxisNumberArray` An array of alternating [stroke, space] lengths for dashed tick mark lines. - tickDashOffset : :class:`ConditionalAxisNumber`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], float + tickDashOffset : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The pixel offset at which to start drawing with the tick mark dash array. tickExtra : bool Boolean flag indicating if an extra axis tick should be added for the initial position of the axis. This flag is useful for styling axes for ``band`` scales such that ticks are placed on band boundaries rather in the middle of a band. Use in conjunction with ``"bandPosition": 1`` and an axis ``"padding"`` value of ``0``. - tickMinStep : :class:`ExprRef`, Dict[required=[expr]], float + tickMinStep : dict, float, :class:`ExprRef` The minimum desired step between axis ticks, in terms of scale domain values. For example, a value of ``1`` indicates that ticks should not be less than 1 unit apart. If ``tickMinStep`` is specified, the ``tickCount`` value will be adjusted, if necessary, to enforce the minimum step value. - tickOffset : :class:`ExprRef`, Dict[required=[expr]], float + tickOffset : dict, float, :class:`ExprRef` Position offset in pixels to apply to ticks, labels, and gridlines. - tickOpacity : :class:`ConditionalAxisNumber`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], float + tickOpacity : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` Opacity of the ticks. tickRound : bool Boolean flag indicating if pixel position values should be rounded to the nearest integer. **Default value:** ``true`` - tickSize : :class:`ConditionalAxisNumber`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], float + tickSize : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The size in pixels of axis ticks. **Default value:** ``5`` - tickWidth : :class:`ConditionalAxisNumber`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], float + tickWidth : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The width, in pixels, of ticks. **Default value:** ``1`` @@ -1927,7 +1783,7 @@ class Axis(VegaLiteSchema): Boolean value that determines whether the axis should include ticks. **Default value:** ``true`` - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -1947,44 +1803,44 @@ class Axis(VegaLiteSchema): 2) If both field definition's ``title`` and axis, header, or legend ``title`` are defined, axis/header/legend title will be used. - titleAlign : :class:`Align`, Literal['left', 'center', 'right'], :class:`ExprRef`, Dict[required=[expr]] + titleAlign : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] Horizontal text alignment of axis titles. - titleAnchor : :class:`ExprRef`, Dict[required=[expr]], :class:`TitleAnchor`, Literal[None, 'start', 'middle', 'end'] + titleAnchor : dict, :class:`ExprRef`, :class:`TitleAnchor`, Literal[None, 'start', 'middle', 'end'] Text anchor position for placing axis titles. - titleAngle : :class:`ExprRef`, Dict[required=[expr]], float + titleAngle : dict, float, :class:`ExprRef` Angle in degrees of axis titles. - titleBaseline : :class:`Baseline`, Literal['top', 'middle', 'bottom'], :class:`TextBaseline`, str, :class:`ExprRef`, Dict[required=[expr]] + titleBaseline : str, dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['top', 'middle', 'bottom'] Vertical text baseline for axis titles. One of ``"alphabetic"`` (default), ``"top"``, ``"middle"``, ``"bottom"``, ``"line-top"``, or ``"line-bottom"``. The ``"line-top"`` and ``"line-bottom"`` values operate similarly to ``"top"`` and ``"bottom"``, but are calculated relative to the *lineHeight* rather than *fontSize* alone. - titleColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ExprRef`, Dict[required=[expr]] + titleColor : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Color of the title, can be in hex color code or regular color name. - titleFont : :class:`ExprRef`, Dict[required=[expr]], str + titleFont : str, dict, :class:`ExprRef` Font of the title. (e.g., ``"Helvetica Neue"`` ). - titleFontSize : :class:`ExprRef`, Dict[required=[expr]], float + titleFontSize : dict, float, :class:`ExprRef` Font size of the title. - titleFontStyle : :class:`ExprRef`, Dict[required=[expr]], :class:`FontStyle`, str + titleFontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` Font style of the title. - titleFontWeight : :class:`ExprRef`, Dict[required=[expr]], :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + titleFontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] Font weight of the title. This can be either a string (e.g ``"bold"``, ``"normal"`` ) or a number ( ``100``, ``200``, ``300``, ..., ``900`` where ``"normal"`` = ``400`` and ``"bold"`` = ``700`` ). - titleLimit : :class:`ExprRef`, Dict[required=[expr]], float + titleLimit : dict, float, :class:`ExprRef` Maximum allowed pixel width of axis titles. - titleLineHeight : :class:`ExprRef`, Dict[required=[expr]], float + titleLineHeight : dict, float, :class:`ExprRef` Line height in pixels for multi-line title text or title text with ``"line-top"`` or ``"line-bottom"`` baseline. - titleOpacity : :class:`ExprRef`, Dict[required=[expr]], float + titleOpacity : dict, float, :class:`ExprRef` Opacity of the axis title. - titlePadding : :class:`ExprRef`, Dict[required=[expr]], float + titlePadding : dict, float, :class:`ExprRef` The padding, in pixels, between title and axis. - titleX : :class:`ExprRef`, Dict[required=[expr]], float + titleX : dict, float, :class:`ExprRef` X-coordinate of the axis title relative to the axis group. - titleY : :class:`ExprRef`, Dict[required=[expr]], float + titleY : dict, float, :class:`ExprRef` Y-coordinate of the axis title relative to the axis group. - translate : :class:`ExprRef`, Dict[required=[expr]], float + translate : dict, float, :class:`ExprRef` Coordinate space translation offset for axis layout. By default, axes are translated by a 0.5 pixel offset for both the x and y coordinates in order to align stroked lines with the pixel grid. However, for vector graphics output these pixel-specific @@ -1992,7 +1848,7 @@ class Axis(VegaLiteSchema): to zero). **Default value:** ``0.5`` - values : :class:`ExprRef`, Dict[required=[expr]], Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str] + values : dict, Sequence[str], Sequence[bool], Sequence[float], :class:`ExprRef`, Sequence[dict, :class:`DateTime`] Explicitly set the visible axis tick values. zindex : float A non-negative integer indicating the z-index of the axis. If zindex is 0, axes @@ -2006,1231 +1862,1079 @@ class Axis(VegaLiteSchema): def __init__( self, - aria: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType - ] = Undefined, + aria: Union[bool, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, bandPosition: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, description: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, domain: Union[bool, UndefinedType] = Undefined, domainCap: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["StrokeCap", Literal["butt", "round", "square"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, domainColor: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, domainDash: Union[ - Union[Sequence[float], Union["ExprRef", "_Parameter", dict]], UndefinedType + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, domainDashOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, domainOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, domainWidth: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, - format: Union[Union[Union["Dict", dict], str], UndefinedType] = Undefined, + format: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, grid: Union[bool, UndefinedType] = Undefined, gridCap: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["StrokeCap", Literal["butt", "round", "square"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, gridColor: Union[ - Union[ - Union["ConditionalAxisColor", dict], - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, gridDash: Union[ - Union[ - Sequence[float], - Union["ConditionalAxisNumberArray", dict], - Union["ExprRef", "_Parameter", dict], - ], - UndefinedType, + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, gridDashOffset: Union[ - Union[ - Union["ConditionalAxisNumber", dict], - Union["ExprRef", "_Parameter", dict], - float, - ], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, gridOpacity: Union[ - Union[ - Union["ConditionalAxisNumber", dict], - Union["ExprRef", "_Parameter", dict], - float, - ], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, gridWidth: Union[ - Union[ - Union["ConditionalAxisNumber", dict], - Union["ExprRef", "_Parameter", dict], - float, - ], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelAlign: Union[ - Union[ - Union["Align", Literal["left", "center", "right"]], - Union["ConditionalAxisLabelAlign", dict], - Union["ExprRef", "_Parameter", dict], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["left", "center", "right"], UndefinedType, ] = Undefined, labelAngle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelBaseline: Union[ - Union[ - Union["ConditionalAxisLabelBaseline", dict], - Union["ExprRef", "_Parameter", dict], - Union[ - "TextBaseline", - Union["Baseline", Literal["top", "middle", "bottom"]], - str, - ], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, labelBound: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union[bool, float]], - UndefinedType, + bool, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelColor: Union[ - Union[ - Union["ConditionalAxisColor", dict], - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, labelExpr: Union[str, UndefinedType] = Undefined, - labelFlush: Union[Union[bool, float], UndefinedType] = Undefined, + labelFlush: Union[bool, float, UndefinedType] = Undefined, labelFlushOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelFont: Union[ - Union[ - Union["ConditionalAxisString", dict], - Union["ExprRef", "_Parameter", dict], - str, - ], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelFontSize: Union[ - Union[ - Union["ConditionalAxisNumber", dict], - Union["ExprRef", "_Parameter", dict], - float, - ], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelFontStyle: Union[ - Union[ - Union["ConditionalAxisLabelFontStyle", dict], - Union["ExprRef", "_Parameter", dict], - Union["FontStyle", str], - ], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelFontWeight: Union[ - Union[ - Union["ConditionalAxisLabelFontWeight", dict], - Union["ExprRef", "_Parameter", dict], - Union[ - "FontWeight", - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, labelLimit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelLineHeight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelOffset: Union[ - Union[ - Union["ConditionalAxisNumber", dict], - Union["ExprRef", "_Parameter", dict], - float, - ], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelOpacity: Union[ - Union[ - Union["ConditionalAxisNumber", dict], - Union["ExprRef", "_Parameter", dict], - float, - ], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelOverlap: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], Union["LabelOverlap", bool, str] - ], - UndefinedType, + str, bool, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelPadding: Union[ - Union[ - Union["ConditionalAxisNumber", dict], - Union["ExprRef", "_Parameter", dict], - float, - ], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelSeparation: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labels: Union[bool, UndefinedType] = Undefined, maxExtent: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, minExtent: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, offset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, orient: Union[ - Union[ - Union["AxisOrient", Literal["top", "bottom", "left", "right"]], - Union["ExprRef", "_Parameter", dict], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["top", "bottom", "left", "right"], UndefinedType, ] = Undefined, position: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, - style: Union[Union[Sequence[str], str], UndefinedType] = Undefined, + style: Union[str, Sequence[str], UndefinedType] = Undefined, tickBand: Union[ - Union[Literal["center", "extent"], Union["ExprRef", "_Parameter", dict]], - UndefinedType, + dict, "_Parameter", "SchemaBase", Literal["center", "extent"], UndefinedType ] = Undefined, tickCap: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["StrokeCap", Literal["butt", "round", "square"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, tickColor: Union[ - Union[ - Union["ConditionalAxisColor", dict], - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, tickCount: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "TimeInterval", - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - ], - Union["TimeIntervalStep", dict], - float, + dict, + float, + "_Parameter", + "SchemaBase", + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, tickDash: Union[ - Union[ - Sequence[float], - Union["ConditionalAxisNumberArray", dict], - Union["ExprRef", "_Parameter", dict], - ], - UndefinedType, + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, tickDashOffset: Union[ - Union[ - Union["ConditionalAxisNumber", dict], - Union["ExprRef", "_Parameter", dict], - float, - ], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, tickExtra: Union[bool, UndefinedType] = Undefined, tickMinStep: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, tickOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, tickOpacity: Union[ - Union[ - Union["ConditionalAxisNumber", dict], - Union["ExprRef", "_Parameter", dict], - float, - ], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, tickRound: Union[bool, UndefinedType] = Undefined, tickSize: Union[ - Union[ - Union["ConditionalAxisNumber", dict], - Union["ExprRef", "_Parameter", dict], - float, - ], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, tickWidth: Union[ - Union[ - Union["ConditionalAxisNumber", dict], - Union["ExprRef", "_Parameter", dict], - float, - ], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, ticks: Union[bool, UndefinedType] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType - ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, titleAlign: Union[ - Union[ - Union["Align", Literal["left", "center", "right"]], - Union["ExprRef", "_Parameter", dict], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["left", "center", "right"], UndefinedType, ] = Undefined, titleAnchor: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["TitleAnchor", Literal[None, "start", "middle", "end"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[None, "start", "middle", "end"], UndefinedType, ] = Undefined, titleAngle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleBaseline: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "TextBaseline", - Union["Baseline", Literal["top", "middle", "bottom"]], - str, - ], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, titleColor: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, titleFont: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleFontSize: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleFontStyle: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["FontStyle", str]], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleFontWeight: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "FontWeight", - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, titleLimit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleLineHeight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titlePadding: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleX: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleY: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, translate: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, values: Union[ - Union[ - Sequence[Union["DateTime", dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - Union["ExprRef", "_Parameter", dict], - ], + dict, + "_Parameter", + "SchemaBase", + Sequence[str], + Sequence[bool], + Sequence[float], + Sequence[Union[dict, "SchemaBase"]], UndefinedType, ] = Undefined, zindex: Union[float, UndefinedType] = Undefined, @@ -3322,25 +3026,23 @@ def __init__( class AxisConfig(VegaLiteSchema): """AxisConfig schema wrapper - :class:`AxisConfig`, Dict - Parameters ---------- - aria : :class:`ExprRef`, Dict[required=[expr]], bool + aria : bool, dict, :class:`ExprRef` A boolean flag indicating if `ARIA attributes `__ should be included (SVG output only). If ``false``, the "aria-hidden" attribute will be set on the output SVG group, removing the axis from the ARIA accessibility tree. **Default value:** ``true`` - bandPosition : :class:`ExprRef`, Dict[required=[expr]], float + bandPosition : dict, float, :class:`ExprRef` An interpolation fraction indicating where, for ``band`` scales, axis ticks should be positioned. A value of ``0`` places ticks at the left edge of their bands. A value of ``0.5`` places ticks in the middle of their bands. **Default value:** ``0.5`` - description : :class:`ExprRef`, Dict[required=[expr]], str + description : str, dict, :class:`ExprRef` A text description of this axis for `ARIA accessibility `__ (SVG output only). If the ``aria`` property is true, for SVG output the `"aria-label" attribute @@ -3354,26 +3056,26 @@ class AxisConfig(VegaLiteSchema): part of the axis. **Default value:** ``true`` - domainCap : :class:`ExprRef`, Dict[required=[expr]], :class:`StrokeCap`, Literal['butt', 'round', 'square'] + domainCap : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] The stroke cap for the domain line's ending style. One of ``"butt"``, ``"round"`` or ``"square"``. **Default value:** ``"butt"`` - domainColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ExprRef`, Dict[required=[expr]] + domainColor : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Color of axis domain line. **Default value:** ``"gray"``. - domainDash : :class:`ExprRef`, Dict[required=[expr]], Sequence[float] + domainDash : dict, Sequence[float], :class:`ExprRef` An array of alternating [stroke, space] lengths for dashed domain lines. - domainDashOffset : :class:`ExprRef`, Dict[required=[expr]], float + domainDashOffset : dict, float, :class:`ExprRef` The pixel offset at which to start drawing with the domain dash array. - domainOpacity : :class:`ExprRef`, Dict[required=[expr]], float + domainOpacity : dict, float, :class:`ExprRef` Opacity of the axis domain line. - domainWidth : :class:`ExprRef`, Dict[required=[expr]], float + domainWidth : dict, float, :class:`ExprRef` Stroke width of axis domain line **Default value:** ``1`` - format : :class:`Dict`, Dict, str + format : str, dict, :class:`Dict` When used with the default ``"number"`` and ``"time"`` format type, the text formatting pattern for labels of guides (axes, legends, headers) and text marks. @@ -3413,41 +3115,41 @@ class AxisConfig(VegaLiteSchema): **Default value:** ``true`` for `continuous scales `__ that are not binned; otherwise, ``false``. - gridCap : :class:`ExprRef`, Dict[required=[expr]], :class:`StrokeCap`, Literal['butt', 'round', 'square'] + gridCap : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] The stroke cap for grid lines' ending style. One of ``"butt"``, ``"round"`` or ``"square"``. **Default value:** ``"butt"`` - gridColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ConditionalAxisColor`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]] + gridColor : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, :class:`ConditionalAxisColor`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Color of gridlines. **Default value:** ``"lightGray"``. - gridDash : :class:`ConditionalAxisNumberArray`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], Sequence[float] + gridDash : dict, Sequence[float], :class:`ExprRef`, :class:`ConditionalAxisNumberArray` An array of alternating [stroke, space] lengths for dashed grid lines. - gridDashOffset : :class:`ConditionalAxisNumber`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], float + gridDashOffset : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The pixel offset at which to start drawing with the grid dash array. - gridOpacity : :class:`ConditionalAxisNumber`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], float + gridOpacity : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The stroke opacity of grid (value between [0,1]) **Default value:** ``1`` - gridWidth : :class:`ConditionalAxisNumber`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], float + gridWidth : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The grid width, in pixels. **Default value:** ``1`` - labelAlign : :class:`Align`, Literal['left', 'center', 'right'], :class:`ConditionalAxisLabelAlign`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]] + labelAlign : dict, :class:`Align`, :class:`ExprRef`, :class:`ConditionalAxisLabelAlign`, Literal['left', 'center', 'right'] Horizontal text alignment of axis tick labels, overriding the default setting for the current axis orientation. - labelAngle : :class:`ExprRef`, Dict[required=[expr]], float + labelAngle : dict, float, :class:`ExprRef` The rotation angle of the axis labels. **Default value:** ``-90`` for nominal and ordinal fields; ``0`` otherwise. - labelBaseline : :class:`Baseline`, Literal['top', 'middle', 'bottom'], :class:`TextBaseline`, str, :class:`ConditionalAxisLabelBaseline`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]] + labelBaseline : str, dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['top', 'middle', 'bottom'], :class:`ConditionalAxisLabelBaseline` Vertical text baseline of axis tick labels, overriding the default setting for the current axis orientation. One of ``"alphabetic"`` (default), ``"top"``, ``"middle"``, ``"bottom"``, ``"line-top"``, or ``"line-bottom"``. The ``"line-top"`` and ``"line-bottom"`` values operate similarly to ``"top"`` and ``"bottom"``, but are calculated relative to the *lineHeight* rather than *fontSize* alone. - labelBound : :class:`ExprRef`, Dict[required=[expr]], bool, float + labelBound : bool, dict, float, :class:`ExprRef` Indicates if labels should be hidden if they exceed the axis range. If ``false`` (the default) no bounds overlap analysis is performed. If ``true``, labels will be hidden if they exceed the axis range by more than 1 pixel. If this property is a @@ -3455,7 +3157,7 @@ class AxisConfig(VegaLiteSchema): bounding box may exceed the axis range. **Default value:** ``false``. - labelColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ConditionalAxisColor`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]] + labelColor : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, :class:`ConditionalAxisColor`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] The color of the tick label, can be in hex color code or regular color name. labelExpr : str `Vega expression `__ for customizing @@ -3474,35 +3176,35 @@ class AxisConfig(VegaLiteSchema): visually group with corresponding axis ticks. **Default value:** ``true`` for axis of a continuous x-scale. Otherwise, ``false``. - labelFlushOffset : :class:`ExprRef`, Dict[required=[expr]], float + labelFlushOffset : dict, float, :class:`ExprRef` Indicates the number of pixels by which to offset flush-adjusted labels. For example, a value of ``2`` will push flush-adjusted labels 2 pixels outward from the center of the axis. Offsets can help the labels better visually group with corresponding axis ticks. **Default value:** ``0``. - labelFont : :class:`ConditionalAxisString`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], str + labelFont : str, dict, :class:`ExprRef`, :class:`ConditionalAxisString` The font of the tick label. - labelFontSize : :class:`ConditionalAxisNumber`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], float + labelFontSize : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The font size of the label, in pixels. - labelFontStyle : :class:`ConditionalAxisLabelFontStyle`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], :class:`FontStyle`, str + labelFontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle`, :class:`ConditionalAxisLabelFontStyle` Font style of the title. - labelFontWeight : :class:`ConditionalAxisLabelFontWeight`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + labelFontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, :class:`ConditionalAxisLabelFontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] Font weight of axis tick labels. - labelLimit : :class:`ExprRef`, Dict[required=[expr]], float + labelLimit : dict, float, :class:`ExprRef` Maximum allowed pixel width of axis tick labels. **Default value:** ``180`` - labelLineHeight : :class:`ExprRef`, Dict[required=[expr]], float + labelLineHeight : dict, float, :class:`ExprRef` Line height in pixels for multi-line label text or label text with ``"line-top"`` or ``"line-bottom"`` baseline. - labelOffset : :class:`ConditionalAxisNumber`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], float + labelOffset : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` Position offset in pixels to apply to labels, in addition to tickOffset. **Default value:** ``0`` - labelOpacity : :class:`ConditionalAxisNumber`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], float + labelOpacity : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The opacity of the labels. - labelOverlap : :class:`ExprRef`, Dict[required=[expr]], :class:`LabelOverlap`, bool, str + labelOverlap : str, bool, dict, :class:`ExprRef`, :class:`LabelOverlap` The strategy to use for resolving overlap of axis labels. If ``false`` (the default), no overlap reduction is attempted. If set to ``true`` or ``"parity"``, a strategy of removing every other label is used (this works well for standard linear @@ -3512,11 +3214,11 @@ class AxisConfig(VegaLiteSchema): **Default value:** ``true`` for non-nominal fields with non-log scales; ``"greedy"`` for log scales; otherwise ``false``. - labelPadding : :class:`ConditionalAxisNumber`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], float + labelPadding : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The padding in pixels between labels and ticks. **Default value:** ``2`` - labelSeparation : :class:`ExprRef`, Dict[required=[expr]], float + labelSeparation : dict, float, :class:`ExprRef` The minimum separation that must be between label bounding boxes for them to be considered non-overlapping (default ``0`` ). This property is ignored if *labelOverlap* resolution is not enabled. @@ -3524,36 +3226,36 @@ class AxisConfig(VegaLiteSchema): A boolean flag indicating if labels should be included as part of the axis. **Default value:** ``true``. - maxExtent : :class:`ExprRef`, Dict[required=[expr]], float + maxExtent : dict, float, :class:`ExprRef` The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles. **Default value:** ``undefined``. - minExtent : :class:`ExprRef`, Dict[required=[expr]], float + minExtent : dict, float, :class:`ExprRef` The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles. **Default value:** ``30`` for y-axis; ``undefined`` for x-axis. - offset : :class:`ExprRef`, Dict[required=[expr]], float + offset : dict, float, :class:`ExprRef` The offset, in pixels, by which to displace the axis from the edge of the enclosing group or data rectangle. **Default value:** derived from the `axis config `__ 's ``offset`` ( ``0`` by default) - orient : :class:`AxisOrient`, Literal['top', 'bottom', 'left', 'right'], :class:`ExprRef`, Dict[required=[expr]] + orient : dict, :class:`ExprRef`, :class:`AxisOrient`, Literal['top', 'bottom', 'left', 'right'] The orientation of the axis. One of ``"top"``, ``"bottom"``, ``"left"`` or ``"right"``. The orientation can be used to further specialize the axis type (e.g., a y-axis oriented towards the right edge of the chart). **Default value:** ``"bottom"`` for x-axes and ``"left"`` for y-axes. - position : :class:`ExprRef`, Dict[required=[expr]], float + position : dict, float, :class:`ExprRef` The anchor position of the axis in pixels. For x-axes with top or bottom orientation, this sets the axis group x coordinate. For y-axes with left or right orientation, this sets the axis group y coordinate. **Default value** : ``0`` - style : Sequence[str], str + style : str, Sequence[str] A string or array of strings indicating the name of custom styles to apply to the axis. A style is a named collection of axis property defined within the `style configuration `__. If @@ -3562,19 +3264,19 @@ class AxisConfig(VegaLiteSchema): **Default value:** (none) **Note:** Any specified style will augment the default style. For example, an x-axis mark with ``"style": "foo"`` will use ``config.axisX`` and ``config.style.foo`` (the specified style ``"foo"`` has higher precedence). - tickBand : :class:`ExprRef`, Dict[required=[expr]], Literal['center', 'extent'] + tickBand : dict, :class:`ExprRef`, Literal['center', 'extent'] For band scales, indicates if ticks and grid lines should be placed at the ``"center"`` of a band (default) or at the band ``"extent"`` s to indicate intervals - tickCap : :class:`ExprRef`, Dict[required=[expr]], :class:`StrokeCap`, Literal['butt', 'round', 'square'] + tickCap : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] The stroke cap for the tick lines' ending style. One of ``"butt"``, ``"round"`` or ``"square"``. **Default value:** ``"butt"`` - tickColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ConditionalAxisColor`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]] + tickColor : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, :class:`ConditionalAxisColor`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] The color of the axis's tick. **Default value:** ``"gray"`` - tickCount : :class:`ExprRef`, Dict[required=[expr]], :class:`TimeIntervalStep`, Dict[required=[interval, step]], :class:`TimeInterval`, Literal['millisecond', 'second', 'minute', 'hour', 'day', 'week', 'month', 'year'], float + tickCount : dict, float, :class:`ExprRef`, :class:`TimeInterval`, :class:`TimeIntervalStep`, Literal['millisecond', 'second', 'minute', 'hour', 'day', 'week', 'month', 'year'] A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are "nice" (multiples of 2, 5, 10) and lie within the underlying scale's range. @@ -3588,34 +3290,34 @@ class AxisConfig(VegaLiteSchema): **Default value** : Determine using a formula ``ceil(width/40)`` for x and ``ceil(height/40)`` for y. - tickDash : :class:`ConditionalAxisNumberArray`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], Sequence[float] + tickDash : dict, Sequence[float], :class:`ExprRef`, :class:`ConditionalAxisNumberArray` An array of alternating [stroke, space] lengths for dashed tick mark lines. - tickDashOffset : :class:`ConditionalAxisNumber`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], float + tickDashOffset : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The pixel offset at which to start drawing with the tick mark dash array. tickExtra : bool Boolean flag indicating if an extra axis tick should be added for the initial position of the axis. This flag is useful for styling axes for ``band`` scales such that ticks are placed on band boundaries rather in the middle of a band. Use in conjunction with ``"bandPosition": 1`` and an axis ``"padding"`` value of ``0``. - tickMinStep : :class:`ExprRef`, Dict[required=[expr]], float + tickMinStep : dict, float, :class:`ExprRef` The minimum desired step between axis ticks, in terms of scale domain values. For example, a value of ``1`` indicates that ticks should not be less than 1 unit apart. If ``tickMinStep`` is specified, the ``tickCount`` value will be adjusted, if necessary, to enforce the minimum step value. - tickOffset : :class:`ExprRef`, Dict[required=[expr]], float + tickOffset : dict, float, :class:`ExprRef` Position offset in pixels to apply to ticks, labels, and gridlines. - tickOpacity : :class:`ConditionalAxisNumber`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], float + tickOpacity : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` Opacity of the ticks. tickRound : bool Boolean flag indicating if pixel position values should be rounded to the nearest integer. **Default value:** ``true`` - tickSize : :class:`ConditionalAxisNumber`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], float + tickSize : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The size in pixels of axis ticks. **Default value:** ``5`` - tickWidth : :class:`ConditionalAxisNumber`, Dict[required=[condition, expr]], Dict[required=[condition, value]], :class:`ExprRef`, Dict[required=[expr]], float + tickWidth : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The width, in pixels, of ticks. **Default value:** ``1`` @@ -3623,7 +3325,7 @@ class AxisConfig(VegaLiteSchema): Boolean value that determines whether the axis should include ticks. **Default value:** ``true`` - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -3643,44 +3345,44 @@ class AxisConfig(VegaLiteSchema): 2) If both field definition's ``title`` and axis, header, or legend ``title`` are defined, axis/header/legend title will be used. - titleAlign : :class:`Align`, Literal['left', 'center', 'right'], :class:`ExprRef`, Dict[required=[expr]] + titleAlign : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] Horizontal text alignment of axis titles. - titleAnchor : :class:`ExprRef`, Dict[required=[expr]], :class:`TitleAnchor`, Literal[None, 'start', 'middle', 'end'] + titleAnchor : dict, :class:`ExprRef`, :class:`TitleAnchor`, Literal[None, 'start', 'middle', 'end'] Text anchor position for placing axis titles. - titleAngle : :class:`ExprRef`, Dict[required=[expr]], float + titleAngle : dict, float, :class:`ExprRef` Angle in degrees of axis titles. - titleBaseline : :class:`Baseline`, Literal['top', 'middle', 'bottom'], :class:`TextBaseline`, str, :class:`ExprRef`, Dict[required=[expr]] + titleBaseline : str, dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['top', 'middle', 'bottom'] Vertical text baseline for axis titles. One of ``"alphabetic"`` (default), ``"top"``, ``"middle"``, ``"bottom"``, ``"line-top"``, or ``"line-bottom"``. The ``"line-top"`` and ``"line-bottom"`` values operate similarly to ``"top"`` and ``"bottom"``, but are calculated relative to the *lineHeight* rather than *fontSize* alone. - titleColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ExprRef`, Dict[required=[expr]] + titleColor : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Color of the title, can be in hex color code or regular color name. - titleFont : :class:`ExprRef`, Dict[required=[expr]], str + titleFont : str, dict, :class:`ExprRef` Font of the title. (e.g., ``"Helvetica Neue"`` ). - titleFontSize : :class:`ExprRef`, Dict[required=[expr]], float + titleFontSize : dict, float, :class:`ExprRef` Font size of the title. - titleFontStyle : :class:`ExprRef`, Dict[required=[expr]], :class:`FontStyle`, str + titleFontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` Font style of the title. - titleFontWeight : :class:`ExprRef`, Dict[required=[expr]], :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + titleFontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] Font weight of the title. This can be either a string (e.g ``"bold"``, ``"normal"`` ) or a number ( ``100``, ``200``, ``300``, ..., ``900`` where ``"normal"`` = ``400`` and ``"bold"`` = ``700`` ). - titleLimit : :class:`ExprRef`, Dict[required=[expr]], float + titleLimit : dict, float, :class:`ExprRef` Maximum allowed pixel width of axis titles. - titleLineHeight : :class:`ExprRef`, Dict[required=[expr]], float + titleLineHeight : dict, float, :class:`ExprRef` Line height in pixels for multi-line title text or title text with ``"line-top"`` or ``"line-bottom"`` baseline. - titleOpacity : :class:`ExprRef`, Dict[required=[expr]], float + titleOpacity : dict, float, :class:`ExprRef` Opacity of the axis title. - titlePadding : :class:`ExprRef`, Dict[required=[expr]], float + titlePadding : dict, float, :class:`ExprRef` The padding, in pixels, between title and axis. - titleX : :class:`ExprRef`, Dict[required=[expr]], float + titleX : dict, float, :class:`ExprRef` X-coordinate of the axis title relative to the axis group. - titleY : :class:`ExprRef`, Dict[required=[expr]], float + titleY : dict, float, :class:`ExprRef` Y-coordinate of the axis title relative to the axis group. - translate : :class:`ExprRef`, Dict[required=[expr]], float + translate : dict, float, :class:`ExprRef` Coordinate space translation offset for axis layout. By default, axes are translated by a 0.5 pixel offset for both the x and y coordinates in order to align stroked lines with the pixel grid. However, for vector graphics output these pixel-specific @@ -3688,7 +3390,7 @@ class AxisConfig(VegaLiteSchema): to zero). **Default value:** ``0.5`` - values : :class:`ExprRef`, Dict[required=[expr]], Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str] + values : dict, Sequence[str], Sequence[bool], Sequence[float], :class:`ExprRef`, Sequence[dict, :class:`DateTime`] Explicitly set the visible axis tick values. zindex : float A non-negative integer indicating the z-index of the axis. If zindex is 0, axes @@ -3702,1232 +3404,1080 @@ class AxisConfig(VegaLiteSchema): def __init__( self, - aria: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType - ] = Undefined, + aria: Union[bool, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, bandPosition: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, description: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, disable: Union[bool, UndefinedType] = Undefined, domain: Union[bool, UndefinedType] = Undefined, domainCap: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["StrokeCap", Literal["butt", "round", "square"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, domainColor: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, domainDash: Union[ - Union[Sequence[float], Union["ExprRef", "_Parameter", dict]], UndefinedType + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, domainDashOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, domainOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, domainWidth: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, - format: Union[Union[Union["Dict", dict], str], UndefinedType] = Undefined, + format: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, grid: Union[bool, UndefinedType] = Undefined, gridCap: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["StrokeCap", Literal["butt", "round", "square"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, gridColor: Union[ - Union[ - Union["ConditionalAxisColor", dict], - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, gridDash: Union[ - Union[ - Sequence[float], - Union["ConditionalAxisNumberArray", dict], - Union["ExprRef", "_Parameter", dict], - ], - UndefinedType, + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, gridDashOffset: Union[ - Union[ - Union["ConditionalAxisNumber", dict], - Union["ExprRef", "_Parameter", dict], - float, - ], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, gridOpacity: Union[ - Union[ - Union["ConditionalAxisNumber", dict], - Union["ExprRef", "_Parameter", dict], - float, - ], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, gridWidth: Union[ - Union[ - Union["ConditionalAxisNumber", dict], - Union["ExprRef", "_Parameter", dict], - float, - ], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelAlign: Union[ - Union[ - Union["Align", Literal["left", "center", "right"]], - Union["ConditionalAxisLabelAlign", dict], - Union["ExprRef", "_Parameter", dict], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["left", "center", "right"], UndefinedType, ] = Undefined, labelAngle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelBaseline: Union[ - Union[ - Union["ConditionalAxisLabelBaseline", dict], - Union["ExprRef", "_Parameter", dict], - Union[ - "TextBaseline", - Union["Baseline", Literal["top", "middle", "bottom"]], - str, - ], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, labelBound: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union[bool, float]], - UndefinedType, + bool, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelColor: Union[ - Union[ - Union["ConditionalAxisColor", dict], - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, labelExpr: Union[str, UndefinedType] = Undefined, - labelFlush: Union[Union[bool, float], UndefinedType] = Undefined, + labelFlush: Union[bool, float, UndefinedType] = Undefined, labelFlushOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelFont: Union[ - Union[ - Union["ConditionalAxisString", dict], - Union["ExprRef", "_Parameter", dict], - str, - ], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelFontSize: Union[ - Union[ - Union["ConditionalAxisNumber", dict], - Union["ExprRef", "_Parameter", dict], - float, - ], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelFontStyle: Union[ - Union[ - Union["ConditionalAxisLabelFontStyle", dict], - Union["ExprRef", "_Parameter", dict], - Union["FontStyle", str], - ], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelFontWeight: Union[ - Union[ - Union["ConditionalAxisLabelFontWeight", dict], - Union["ExprRef", "_Parameter", dict], - Union[ - "FontWeight", - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, labelLimit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelLineHeight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelOffset: Union[ - Union[ - Union["ConditionalAxisNumber", dict], - Union["ExprRef", "_Parameter", dict], - float, - ], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelOpacity: Union[ - Union[ - Union["ConditionalAxisNumber", dict], - Union["ExprRef", "_Parameter", dict], - float, - ], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelOverlap: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], Union["LabelOverlap", bool, str] - ], - UndefinedType, + str, bool, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelPadding: Union[ - Union[ - Union["ConditionalAxisNumber", dict], - Union["ExprRef", "_Parameter", dict], - float, - ], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelSeparation: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labels: Union[bool, UndefinedType] = Undefined, maxExtent: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, minExtent: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, offset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, orient: Union[ - Union[ - Union["AxisOrient", Literal["top", "bottom", "left", "right"]], - Union["ExprRef", "_Parameter", dict], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["top", "bottom", "left", "right"], UndefinedType, ] = Undefined, position: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, - style: Union[Union[Sequence[str], str], UndefinedType] = Undefined, + style: Union[str, Sequence[str], UndefinedType] = Undefined, tickBand: Union[ - Union[Literal["center", "extent"], Union["ExprRef", "_Parameter", dict]], - UndefinedType, + dict, "_Parameter", "SchemaBase", Literal["center", "extent"], UndefinedType ] = Undefined, tickCap: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["StrokeCap", Literal["butt", "round", "square"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, tickColor: Union[ - Union[ - Union["ConditionalAxisColor", dict], - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, tickCount: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "TimeInterval", - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - ], - Union["TimeIntervalStep", dict], - float, + dict, + float, + "_Parameter", + "SchemaBase", + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, tickDash: Union[ - Union[ - Sequence[float], - Union["ConditionalAxisNumberArray", dict], - Union["ExprRef", "_Parameter", dict], - ], - UndefinedType, + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, tickDashOffset: Union[ - Union[ - Union["ConditionalAxisNumber", dict], - Union["ExprRef", "_Parameter", dict], - float, - ], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, tickExtra: Union[bool, UndefinedType] = Undefined, tickMinStep: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, tickOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, tickOpacity: Union[ - Union[ - Union["ConditionalAxisNumber", dict], - Union["ExprRef", "_Parameter", dict], - float, - ], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, tickRound: Union[bool, UndefinedType] = Undefined, tickSize: Union[ - Union[ - Union["ConditionalAxisNumber", dict], - Union["ExprRef", "_Parameter", dict], - float, - ], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, tickWidth: Union[ - Union[ - Union["ConditionalAxisNumber", dict], - Union["ExprRef", "_Parameter", dict], - float, - ], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, ticks: Union[bool, UndefinedType] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType - ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, titleAlign: Union[ - Union[ - Union["Align", Literal["left", "center", "right"]], - Union["ExprRef", "_Parameter", dict], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["left", "center", "right"], UndefinedType, ] = Undefined, titleAnchor: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["TitleAnchor", Literal[None, "start", "middle", "end"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[None, "start", "middle", "end"], UndefinedType, ] = Undefined, titleAngle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleBaseline: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "TextBaseline", - Union["Baseline", Literal["top", "middle", "bottom"]], - str, - ], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, titleColor: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, titleFont: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleFontSize: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleFontStyle: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["FontStyle", str]], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleFontWeight: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "FontWeight", - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, titleLimit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleLineHeight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titlePadding: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleX: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleY: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, translate: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, values: Union[ - Union[ - Sequence[Union["DateTime", dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - Union["ExprRef", "_Parameter", dict], - ], + dict, + "_Parameter", + "SchemaBase", + Sequence[str], + Sequence[bool], + Sequence[float], + Sequence[Union[dict, "SchemaBase"]], UndefinedType, ] = Undefined, zindex: Union[float, UndefinedType] = Undefined, @@ -5018,10 +4568,7 @@ def __init__( class AxisOrient(VegaLiteSchema): - """AxisOrient schema wrapper - - :class:`AxisOrient`, Literal['top', 'bottom', 'left', 'right'] - """ + """AxisOrient schema wrapper""" _schema = {"$ref": "#/definitions/AxisOrient"} @@ -5032,8 +4579,6 @@ def __init__(self, *args): class AxisResolveMap(VegaLiteSchema): """AxisResolveMap schema wrapper - :class:`AxisResolveMap`, Dict - Parameters ---------- @@ -5048,10 +4593,10 @@ class AxisResolveMap(VegaLiteSchema): def __init__( self, x: Union[ - Union["ResolveMode", Literal["independent", "shared"]], UndefinedType + "SchemaBase", Literal["independent", "shared"], UndefinedType ] = Undefined, y: Union[ - Union["ResolveMode", Literal["independent", "shared"]], UndefinedType + "SchemaBase", Literal["independent", "shared"], UndefinedType ] = Undefined, **kwds, ): @@ -5060,8 +4605,6 @@ def __init__( class BBox(VegaLiteSchema): """BBox schema wrapper - - :class:`BBox`, Sequence[float] Bounding box https://tools.ietf.org/html/rfc7946#section-5 """ @@ -5074,37 +4617,35 @@ def __init__(self, *args, **kwds): class BarConfig(AnyMarkConfig): """BarConfig schema wrapper - :class:`BarConfig`, Dict - Parameters ---------- - align : :class:`Align`, Literal['left', 'center', 'right'], :class:`ExprRef`, Dict[required=[expr]] + align : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] The horizontal alignment of the text or ranged marks (area, bar, image, rect, rule). One of ``"left"``, ``"right"``, ``"center"``. **Note:** Expression reference is *not* supported for range marks. - angle : :class:`ExprRef`, Dict[required=[expr]], float + angle : dict, float, :class:`ExprRef` The rotation angle of the text, in degrees. - aria : :class:`ExprRef`, Dict[required=[expr]], bool + aria : bool, dict, :class:`ExprRef` A boolean flag indicating if `ARIA attributes `__ should be included (SVG output only). If ``false``, the "aria-hidden" attribute will be set on the output SVG element, removing the mark item from the ARIA accessibility tree. - ariaRole : :class:`ExprRef`, Dict[required=[expr]], str + ariaRole : str, dict, :class:`ExprRef` Sets the type of user interface element of the mark item for `ARIA accessibility `__ (SVG output only). If specified, this property determines the "role" attribute. Warning: this property is experimental and may be changed in the future. - ariaRoleDescription : :class:`ExprRef`, Dict[required=[expr]], str + ariaRoleDescription : str, dict, :class:`ExprRef` A human-readable, author-localized description for the role of the mark item for `ARIA accessibility `__ (SVG output only). If specified, this property determines the "aria-roledescription" attribute. Warning: this property is experimental and may be changed in the future. - aspect : :class:`ExprRef`, Dict[required=[expr]], bool + aspect : bool, dict, :class:`ExprRef` Whether to keep aspect ratio of image marks. - baseline : :class:`Baseline`, Literal['top', 'middle', 'bottom'], :class:`TextBaseline`, str, :class:`ExprRef`, Dict[required=[expr]] + baseline : str, dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['top', 'middle', 'bottom'] For text marks, the vertical text baseline. One of ``"alphabetic"`` (default), ``"top"``, ``"middle"``, ``"bottom"``, ``"line-top"``, ``"line-bottom"``, or an expression reference that provides one of the valid values. The ``"line-top"`` and @@ -5120,13 +4661,13 @@ class BarConfig(AnyMarkConfig): (preferred by statisticians) or 1 (Vega-Lite default, D3 example style). **Default value:** ``1`` - blend : :class:`Blend`, Literal[None, 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'], :class:`ExprRef`, Dict[required=[expr]] + blend : dict, :class:`Blend`, :class:`ExprRef`, Literal[None, 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'] The color blend mode for drawing an item on its current background. Any valid `CSS mix-blend-mode `__ value can be used. __Default value:__ ``"source-over"`` - color : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]] + color : str, dict, :class:`Color`, :class:`ExprRef`, :class:`Gradient`, :class:`HexColor`, :class:`ColorName`, :class:`LinearGradient`, :class:`RadialGradient`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Default color. **Default value:** :raw-html:`` @@ -5143,66 +4684,66 @@ class BarConfig(AnyMarkConfig): The default size of the bars on continuous scales. **Default value:** ``5`` - cornerRadius : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadius : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles or arcs' corners. **Default value:** ``0`` - cornerRadiusBottomLeft : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusBottomLeft : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom left corner. **Default value:** ``0`` - cornerRadiusBottomRight : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusBottomRight : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom right corner. **Default value:** ``0`` - cornerRadiusEnd : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusEnd : dict, float, :class:`ExprRef` For vertical bars, top-left and top-right corner radius. For horizontal bars, top-right and bottom-right corner radius. - cornerRadiusTopLeft : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusTopLeft : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top right corner. **Default value:** ``0`` - cornerRadiusTopRight : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusTopRight : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top left corner. **Default value:** ``0`` - cursor : :class:`Cursor`, Literal['auto', 'default', 'none', 'context-menu', 'help', 'pointer', 'progress', 'wait', 'cell', 'crosshair', 'text', 'vertical-text', 'alias', 'copy', 'move', 'no-drop', 'not-allowed', 'e-resize', 'n-resize', 'ne-resize', 'nw-resize', 's-resize', 'se-resize', 'sw-resize', 'w-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'col-resize', 'row-resize', 'all-scroll', 'zoom-in', 'zoom-out', 'grab', 'grabbing'], :class:`ExprRef`, Dict[required=[expr]] + cursor : dict, :class:`Cursor`, :class:`ExprRef`, Literal['auto', 'default', 'none', 'context-menu', 'help', 'pointer', 'progress', 'wait', 'cell', 'crosshair', 'text', 'vertical-text', 'alias', 'copy', 'move', 'no-drop', 'not-allowed', 'e-resize', 'n-resize', 'ne-resize', 'nw-resize', 's-resize', 'se-resize', 'sw-resize', 'w-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'col-resize', 'row-resize', 'all-scroll', 'zoom-in', 'zoom-out', 'grab', 'grabbing'] The mouse cursor used over the mark. Any valid `CSS cursor type `__ can be used. - description : :class:`ExprRef`, Dict[required=[expr]], str + description : str, dict, :class:`ExprRef` A text description of the mark item for `ARIA accessibility `__ (SVG output only). If specified, this property determines the `"aria-label" attribute `__. - dir : :class:`ExprRef`, Dict[required=[expr]], :class:`TextDirection`, Literal['ltr', 'rtl'] + dir : dict, :class:`ExprRef`, Literal['ltr', 'rtl'], :class:`TextDirection` The direction of the text. One of ``"ltr"`` (left-to-right) or ``"rtl"`` (right-to-left). This property determines on which side is truncated in response to the limit parameter. **Default value:** ``"ltr"`` - discreteBandSize : :class:`RelativeBandSize`, Dict[required=[band]], float + discreteBandSize : dict, float, :class:`RelativeBandSize` The default size of the bars with discrete dimensions. If unspecified, the default size is ``step-2``, which provides 2 pixel offset between bars. - dx : :class:`ExprRef`, Dict[required=[expr]], float + dx : dict, float, :class:`ExprRef` The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the *angle* property. - dy : :class:`ExprRef`, Dict[required=[expr]], float + dy : dict, float, :class:`ExprRef` The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the *angle* property. - ellipsis : :class:`ExprRef`, Dict[required=[expr]], str + ellipsis : str, dict, :class:`ExprRef` The ellipsis string for text truncated in response to the limit parameter. **Default value:** ``"…"`` - endAngle : :class:`ExprRef`, Dict[required=[expr]], float + endAngle : dict, float, :class:`ExprRef` The end angle in radians for arc marks. A value of ``0`` indicates up (north), increasing values proceed clockwise. - fill : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]], None + fill : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`Gradient`, :class:`HexColor`, :class:`ColorName`, :class:`LinearGradient`, :class:`RadialGradient`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Default fill color. This property has higher precedence than ``config.color``. Set to ``null`` to remove fill. **Default value:** (None) - fillOpacity : :class:`ExprRef`, Dict[required=[expr]], float + fillOpacity : dict, float, :class:`ExprRef` The fill opacity (value between [0,1]). **Default value:** ``1`` @@ -5216,28 +4757,28 @@ class BarConfig(AnyMarkConfig): **Note:** This property cannot be used in a `style config `__. - font : :class:`ExprRef`, Dict[required=[expr]], str + font : str, dict, :class:`ExprRef` The typeface to set the text in (e.g., ``"Helvetica Neue"`` ). - fontSize : :class:`ExprRef`, Dict[required=[expr]], float + fontSize : dict, float, :class:`ExprRef` The font size, in pixels. **Default value:** ``11`` - fontStyle : :class:`ExprRef`, Dict[required=[expr]], :class:`FontStyle`, str + fontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` The font style (e.g., ``"italic"`` ). - fontWeight : :class:`ExprRef`, Dict[required=[expr]], :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + fontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] The font weight. This can be either a string (e.g ``"bold"``, ``"normal"`` ) or a number ( ``100``, ``200``, ``300``, ..., ``900`` where ``"normal"`` = ``400`` and ``"bold"`` = ``700`` ). - height : :class:`ExprRef`, Dict[required=[expr]], float + height : dict, float, :class:`ExprRef` Height of the marks. - href : :class:`ExprRef`, Dict[required=[expr]], :class:`URI`, str + href : str, dict, :class:`URI`, :class:`ExprRef` A URL to load upon mouse click. If defined, the mark acts as a hyperlink. - innerRadius : :class:`ExprRef`, Dict[required=[expr]], float + innerRadius : dict, float, :class:`ExprRef` The inner radius in pixels of arc marks. ``innerRadius`` is an alias for ``radius2``. **Default value:** ``0`` - interpolate : :class:`ExprRef`, Dict[required=[expr]], :class:`Interpolate`, Literal['basis', 'basis-open', 'basis-closed', 'bundle', 'cardinal', 'cardinal-open', 'cardinal-closed', 'catmull-rom', 'linear', 'linear-closed', 'monotone', 'natural', 'step', 'step-before', 'step-after'] + interpolate : dict, :class:`ExprRef`, :class:`Interpolate`, Literal['basis', 'basis-open', 'basis-closed', 'bundle', 'cardinal', 'cardinal-open', 'cardinal-closed', 'catmull-rom', 'linear', 'linear-closed', 'monotone', 'natural', 'step', 'step-before', 'step-after'] The line interpolation method to use for line and area marks. One of the following: @@ -5268,25 +4809,25 @@ class BarConfig(AnyMarkConfig): (for line, trail, and area marks) or filtered (for other marks). * If ``null``, all data items are included. In this case, invalid values will be interpreted as zeroes. - limit : :class:`ExprRef`, Dict[required=[expr]], float + limit : dict, float, :class:`ExprRef` The maximum length of the text mark in pixels. The text value will be automatically truncated if the rendered size exceeds the limit. **Default value:** ``0`` -- indicating no limit - lineBreak : :class:`ExprRef`, Dict[required=[expr]], str + lineBreak : str, dict, :class:`ExprRef` A delimiter, such as a newline character, upon which to break text strings into multiple lines. This property is ignored if the text is array-valued. - lineHeight : :class:`ExprRef`, Dict[required=[expr]], float + lineHeight : dict, float, :class:`ExprRef` The line height in pixels (the spacing between subsequent lines of text) for multi-line text marks. - minBandSize : :class:`ExprRef`, Dict[required=[expr]], float + minBandSize : dict, float, :class:`ExprRef` The minimum band size for bar and rectangle marks. **Default value:** ``0.25`` - opacity : :class:`ExprRef`, Dict[required=[expr]], float + opacity : dict, float, :class:`ExprRef` The overall opacity (value between [0,1]). **Default value:** ``0.7`` for non-aggregate plots with ``point``, ``tick``, ``circle``, or ``square`` marks or layered ``bar`` charts and ``1`` otherwise. - order : None, bool + order : bool, None For line and trail marks, this ``order`` property can be set to ``null`` or ``false`` to make the lines use the original order in the data sources. orient : :class:`Orientation`, Literal['horizontal', 'vertical'] @@ -5301,24 +4842,24 @@ class BarConfig(AnyMarkConfig): the line if ``config.sortLineBy`` is not specified. For stacked charts, this is always determined by the orientation of the stack; therefore explicitly specified value will be ignored. - outerRadius : :class:`ExprRef`, Dict[required=[expr]], float + outerRadius : dict, float, :class:`ExprRef` The outer radius in pixels of arc marks. ``outerRadius`` is an alias for ``radius``. **Default value:** ``0`` - padAngle : :class:`ExprRef`, Dict[required=[expr]], float + padAngle : dict, float, :class:`ExprRef` The angular padding applied to sides of the arc, in radians. - radius : :class:`ExprRef`, Dict[required=[expr]], float + radius : dict, float, :class:`ExprRef` For arc mark, the primary (outer) radius in pixels. For text marks, polar coordinate radial offset, in pixels, of the text from the origin determined by the ``x`` and ``y`` properties. **Default value:** ``min(plot_width, plot_height)/2`` - radius2 : :class:`ExprRef`, Dict[required=[expr]], float + radius2 : dict, float, :class:`ExprRef` The secondary (inner) radius in pixels of arc marks. **Default value:** ``0`` - shape : :class:`ExprRef`, Dict[required=[expr]], :class:`SymbolShape`, str, str + shape : str, dict, :class:`ExprRef`, :class:`SymbolShape` Shape of the point marks. Supported values include: @@ -5333,7 +4874,7 @@ class BarConfig(AnyMarkConfig): coordinates ranging from -1 to 1 along both the x and y dimensions.) **Default value:** ``"circle"`` - size : :class:`ExprRef`, Dict[required=[expr]], float + size : dict, float, :class:`ExprRef` Default size for marks. @@ -5350,56 +4891,56 @@ class BarConfig(AnyMarkConfig): * ``2`` for bar marks with discrete dimensions; * ``5`` for bar marks with continuous dimensions; * ``11`` for text marks. - smooth : :class:`ExprRef`, Dict[required=[expr]], bool + smooth : bool, dict, :class:`ExprRef` A boolean flag (default true) indicating if the image should be smoothed when resized. If false, individual pixels should be scaled directly rather than interpolated with smoothing. For SVG rendering, this option may not work in some browsers due to lack of standardization. - startAngle : :class:`ExprRef`, Dict[required=[expr]], float + startAngle : dict, float, :class:`ExprRef` The start angle in radians for arc marks. A value of ``0`` indicates up (north), increasing values proceed clockwise. - stroke : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]], None + stroke : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`Gradient`, :class:`HexColor`, :class:`ColorName`, :class:`LinearGradient`, :class:`RadialGradient`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Default stroke color. This property has higher precedence than ``config.color``. Set to ``null`` to remove stroke. **Default value:** (None) - strokeCap : :class:`ExprRef`, Dict[required=[expr]], :class:`StrokeCap`, Literal['butt', 'round', 'square'] + strokeCap : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] The stroke cap for line ending style. One of ``"butt"``, ``"round"``, or ``"square"``. **Default value:** ``"butt"`` - strokeDash : :class:`ExprRef`, Dict[required=[expr]], Sequence[float] + strokeDash : dict, Sequence[float], :class:`ExprRef` An array of alternating stroke, space lengths for creating dashed or dotted lines. - strokeDashOffset : :class:`ExprRef`, Dict[required=[expr]], float + strokeDashOffset : dict, float, :class:`ExprRef` The offset (in pixels) into which to begin drawing with the stroke dash array. - strokeJoin : :class:`ExprRef`, Dict[required=[expr]], :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] + strokeJoin : dict, :class:`ExprRef`, :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] The stroke line join method. One of ``"miter"``, ``"round"`` or ``"bevel"``. **Default value:** ``"miter"`` - strokeMiterLimit : :class:`ExprRef`, Dict[required=[expr]], float + strokeMiterLimit : dict, float, :class:`ExprRef` The miter limit at which to bevel a line join. - strokeOffset : :class:`ExprRef`, Dict[required=[expr]], float + strokeOffset : dict, float, :class:`ExprRef` The offset in pixels at which to draw the group stroke and fill. If unspecified, the default behavior is to dynamically offset stroked groups such that 1 pixel stroke widths align with the pixel grid. - strokeOpacity : :class:`ExprRef`, Dict[required=[expr]], float + strokeOpacity : dict, float, :class:`ExprRef` The stroke opacity (value between [0,1]). **Default value:** ``1`` - strokeWidth : :class:`ExprRef`, Dict[required=[expr]], float + strokeWidth : dict, float, :class:`ExprRef` The stroke width, in pixels. - tension : :class:`ExprRef`, Dict[required=[expr]], float + tension : dict, float, :class:`ExprRef` Depending on the interpolation type, sets the tension parameter (for line and area marks). - text : :class:`ExprRef`, Dict[required=[expr]], :class:`Text`, Sequence[str], str + text : str, dict, :class:`Text`, Sequence[str], :class:`ExprRef` Placeholder text if the ``text`` channel is not specified - theta : :class:`ExprRef`, Dict[required=[expr]], float + theta : dict, float, :class:`ExprRef` For arc marks, the arc length in radians if theta2 is not specified, otherwise the start arc angle. (A value of 0 indicates up or “north”, increasing values proceed clockwise.) For text marks, polar coordinate angle in radians. - theta2 : :class:`ExprRef`, Dict[required=[expr]], float + theta2 : dict, float, :class:`ExprRef` The end angle of arc marks in radians. A value of 0 indicates up or “north”, increasing values proceed clockwise. timeUnitBandPosition : float @@ -5410,7 +4951,7 @@ class BarConfig(AnyMarkConfig): Default relative band size for a time unit. If set to ``1``, the bandwidth of the marks will be equal to the time unit band step. If set to ``0.5``, bandwidth of the marks will be half of the time unit band step. - tooltip : :class:`ExprRef`, Dict[required=[expr]], :class:`TooltipContent`, Dict[required=[content]], None, bool, float, str + tooltip : str, bool, dict, None, float, :class:`ExprRef`, :class:`TooltipContent` The tooltip text string to show upon mouse hover or an object defining which fields should the tooltip be derived from. @@ -5425,28 +4966,28 @@ class BarConfig(AnyMarkConfig): documentation for a detailed discussion about tooltip in Vega-Lite. **Default value:** ``null`` - url : :class:`ExprRef`, Dict[required=[expr]], :class:`URI`, str + url : str, dict, :class:`URI`, :class:`ExprRef` The URL of the image file for image marks. - width : :class:`ExprRef`, Dict[required=[expr]], float + width : dict, float, :class:`ExprRef` Width of the marks. - x : :class:`ExprRef`, Dict[required=[expr]], float, str + x : str, dict, float, :class:`ExprRef` X coordinates of the marks, or width of horizontal ``"bar"`` and ``"area"`` without specified ``x2`` or ``width``. The ``value`` of this channel can be a number or a string ``"width"`` for the width of the plot. - x2 : :class:`ExprRef`, Dict[required=[expr]], float, str + x2 : str, dict, float, :class:`ExprRef` X2 coordinates for ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. The ``value`` of this channel can be a number or a string ``"width"`` for the width of the plot. - y : :class:`ExprRef`, Dict[required=[expr]], float, str + y : str, dict, float, :class:`ExprRef` Y coordinates of the marks, or height of vertical ``"bar"`` and ``"area"`` without specified ``y2`` or ``height``. The ``value`` of this channel can be a number or a string ``"height"`` for the height of the plot. - y2 : :class:`ExprRef`, Dict[required=[expr]], float, str + y2 : str, dict, float, :class:`ExprRef` Y2 coordinates for ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. The ``value`` of this channel can be a number or a string ``"height"`` for the @@ -5458,866 +4999,775 @@ class BarConfig(AnyMarkConfig): def __init__( self, align: Union[ - Union[ - Union["Align", Literal["left", "center", "right"]], - Union["ExprRef", "_Parameter", dict], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["left", "center", "right"], UndefinedType, ] = Undefined, angle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - aria: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + aria: Union[bool, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, ariaRole: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, ariaRoleDescription: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, aspect: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + bool, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, baseline: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "TextBaseline", - Union["Baseline", Literal["top", "middle", "bottom"]], - str, - ], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, binSpacing: Union[float, UndefinedType] = Undefined, blend: Union[ - Union[ - Union[ - "Blend", - Literal[ - None, - "multiply", - "screen", - "overlay", - "darken", - "lighten", - "color-dodge", - "color-burn", - "hard-light", - "soft-light", - "difference", - "exclusion", - "hue", - "saturation", - "color", - "luminosity", - ], - ], - Union["ExprRef", "_Parameter", dict], + dict, + "_Parameter", + "SchemaBase", + Literal[ + None, + "multiply", + "screen", + "overlay", + "darken", + "lighten", + "color-dodge", + "color-burn", + "hard-light", + "soft-light", + "difference", + "exclusion", + "hue", + "saturation", + "color", + "luminosity", ], UndefinedType, ] = Undefined, color: Union[ - Union[ - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], - Union[ - "Gradient", - Union["LinearGradient", dict], - Union["RadialGradient", dict], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, continuousBandSize: Union[float, UndefinedType] = Undefined, cornerRadius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusBottomLeft: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusBottomRight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusEnd: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusTopLeft: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusTopRight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cursor: Union[ - Union[ - Union[ - "Cursor", - Literal[ - "auto", - "default", - "none", - "context-menu", - "help", - "pointer", - "progress", - "wait", - "cell", - "crosshair", - "text", - "vertical-text", - "alias", - "copy", - "move", - "no-drop", - "not-allowed", - "e-resize", - "n-resize", - "ne-resize", - "nw-resize", - "s-resize", - "se-resize", - "sw-resize", - "w-resize", - "ew-resize", - "ns-resize", - "nesw-resize", - "nwse-resize", - "col-resize", - "row-resize", - "all-scroll", - "zoom-in", - "zoom-out", - "grab", - "grabbing", - ], - ], - Union["ExprRef", "_Parameter", dict], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "auto", + "default", + "none", + "context-menu", + "help", + "pointer", + "progress", + "wait", + "cell", + "crosshair", + "text", + "vertical-text", + "alias", + "copy", + "move", + "no-drop", + "not-allowed", + "e-resize", + "n-resize", + "ne-resize", + "nw-resize", + "s-resize", + "se-resize", + "sw-resize", + "w-resize", + "ew-resize", + "ns-resize", + "nesw-resize", + "nwse-resize", + "col-resize", + "row-resize", + "all-scroll", + "zoom-in", + "zoom-out", + "grab", + "grabbing", ], UndefinedType, ] = Undefined, description: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, dir: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["TextDirection", Literal["ltr", "rtl"]], - ], - UndefinedType, - ] = Undefined, - discreteBandSize: Union[ - Union[Union["RelativeBandSize", dict], float], UndefinedType - ] = Undefined, - dx: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - dy: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, "_Parameter", "SchemaBase", Literal["ltr", "rtl"], UndefinedType ] = Undefined, + discreteBandSize: Union[dict, float, "SchemaBase", UndefinedType] = Undefined, + dx: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, + dy: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, ellipsis: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, endAngle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, fill: Union[ - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], - Union[ - "Gradient", - Union["LinearGradient", dict], - Union["RadialGradient", dict], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, fillOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, filled: Union[bool, UndefinedType] = Undefined, - font: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType - ] = Undefined, + font: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, fontSize: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, fontStyle: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["FontStyle", str]], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, fontWeight: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "FontWeight", - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, height: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - href: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["URI", str]], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + href: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, innerRadius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "Interpolate", - Literal[ - "basis", - "basis-open", - "basis-closed", - "bundle", - "cardinal", - "cardinal-open", - "cardinal-closed", - "catmull-rom", - "linear", - "linear-closed", - "monotone", - "natural", - "step", - "step-before", - "step-after", - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "basis", + "basis-open", + "basis-closed", + "bundle", + "cardinal", + "cardinal-open", + "cardinal-closed", + "catmull-rom", + "linear", + "linear-closed", + "monotone", + "natural", + "step", + "step-before", + "step-after", ], UndefinedType, ] = Undefined, invalid: Union[Literal["filter", None], UndefinedType] = Undefined, limit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, lineBreak: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, lineHeight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, minBandSize: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, opacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, - order: Union[Union[None, bool], UndefinedType] = Undefined, + order: Union[bool, None, UndefinedType] = Undefined, orient: Union[ - Union["Orientation", Literal["horizontal", "vertical"]], UndefinedType + "SchemaBase", Literal["horizontal", "vertical"], UndefinedType ] = Undefined, outerRadius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, padAngle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, radius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, radius2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - shape: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[Union["SymbolShape", str], str], - ], - UndefinedType, - ] = Undefined, - size: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + shape: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, + size: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, smooth: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + bool, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, startAngle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, stroke: Union[ - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], - Union[ - "Gradient", - Union["LinearGradient", dict], - Union["RadialGradient", dict], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, strokeCap: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["StrokeCap", Literal["butt", "round", "square"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, strokeDash: Union[ - Union[Sequence[float], Union["ExprRef", "_Parameter", dict]], UndefinedType + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, strokeDashOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeJoin: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["StrokeJoin", Literal["miter", "round", "bevel"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["miter", "round", "bevel"], UndefinedType, ] = Undefined, strokeMiterLimit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeWidth: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, tension: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, text: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], Union["Text", Sequence[str], str] - ], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", Sequence[str], UndefinedType ] = Undefined, theta: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, theta2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, timeUnitBandPosition: Union[float, UndefinedType] = Undefined, timeUnitBandSize: Union[float, UndefinedType] = Undefined, tooltip: Union[ - Union[ - None, - Union["ExprRef", "_Parameter", dict], - Union["TooltipContent", dict], - bool, - float, - str, - ], - UndefinedType, - ] = Undefined, - url: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["URI", str]], - UndefinedType, + str, bool, dict, None, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + url: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, width: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, x: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, x2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, y: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, y2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, **kwds, ): @@ -6403,80 +5853,78 @@ def __init__( class BaseTitleNoValueRefs(VegaLiteSchema): """BaseTitleNoValueRefs schema wrapper - :class:`BaseTitleNoValueRefs`, Dict - Parameters ---------- align : :class:`Align`, Literal['left', 'center', 'right'] Horizontal text alignment for title text. One of ``"left"``, ``"center"``, or ``"right"``. - anchor : :class:`ExprRef`, Dict[required=[expr]], :class:`TitleAnchor`, Literal[None, 'start', 'middle', 'end'] + anchor : dict, :class:`ExprRef`, :class:`TitleAnchor`, Literal[None, 'start', 'middle', 'end'] The anchor position for placing the title and subtitle text. One of ``"start"``, ``"middle"``, or ``"end"``. For example, with an orientation of top these anchor positions map to a left-, center-, or right-aligned title. - angle : :class:`ExprRef`, Dict[required=[expr]], float + angle : dict, float, :class:`ExprRef` Angle in degrees of title and subtitle text. - aria : :class:`ExprRef`, Dict[required=[expr]], bool + aria : bool, dict, :class:`ExprRef` A boolean flag indicating if `ARIA attributes `__ should be included (SVG output only). If ``false``, the "aria-hidden" attribute will be set on the output SVG group, removing the title from the ARIA accessibility tree. **Default value:** ``true`` - baseline : :class:`Baseline`, Literal['top', 'middle', 'bottom'], :class:`TextBaseline`, str + baseline : str, :class:`Baseline`, :class:`TextBaseline`, Literal['top', 'middle', 'bottom'] Vertical text baseline for title and subtitle text. One of ``"alphabetic"`` (default), ``"top"``, ``"middle"``, ``"bottom"``, ``"line-top"``, or ``"line-bottom"``. The ``"line-top"`` and ``"line-bottom"`` values operate similarly to ``"top"`` and ``"bottom"``, but are calculated relative to the *lineHeight* rather than *fontSize* alone. - color : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ExprRef`, Dict[required=[expr]] + color : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Text color for title text. - dx : :class:`ExprRef`, Dict[required=[expr]], float + dx : dict, float, :class:`ExprRef` Delta offset for title and subtitle text x-coordinate. - dy : :class:`ExprRef`, Dict[required=[expr]], float + dy : dict, float, :class:`ExprRef` Delta offset for title and subtitle text y-coordinate. - font : :class:`ExprRef`, Dict[required=[expr]], str + font : str, dict, :class:`ExprRef` Font name for title text. - fontSize : :class:`ExprRef`, Dict[required=[expr]], float + fontSize : dict, float, :class:`ExprRef` Font size in pixels for title text. - fontStyle : :class:`ExprRef`, Dict[required=[expr]], :class:`FontStyle`, str + fontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` Font style for title text. - fontWeight : :class:`ExprRef`, Dict[required=[expr]], :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + fontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] Font weight for title text. This can be either a string (e.g ``"bold"``, ``"normal"`` ) or a number ( ``100``, ``200``, ``300``, ..., ``900`` where ``"normal"`` = ``400`` and ``"bold"`` = ``700`` ). - frame : :class:`ExprRef`, Dict[required=[expr]], :class:`TitleFrame`, Literal['bounds', 'group'], str + frame : str, dict, :class:`ExprRef`, :class:`TitleFrame`, Literal['bounds', 'group'] The reference frame for the anchor position, one of ``"bounds"`` (to anchor relative to the full bounding box) or ``"group"`` (to anchor relative to the group width or height). - limit : :class:`ExprRef`, Dict[required=[expr]], float + limit : dict, float, :class:`ExprRef` The maximum allowed length in pixels of title and subtitle text. - lineHeight : :class:`ExprRef`, Dict[required=[expr]], float + lineHeight : dict, float, :class:`ExprRef` Line height in pixels for multi-line title text or title text with ``"line-top"`` or ``"line-bottom"`` baseline. - offset : :class:`ExprRef`, Dict[required=[expr]], float + offset : dict, float, :class:`ExprRef` The orthogonal offset in pixels by which to displace the title group from its position along the edge of the chart. - orient : :class:`ExprRef`, Dict[required=[expr]], :class:`TitleOrient`, Literal['none', 'left', 'right', 'top', 'bottom'] + orient : dict, :class:`ExprRef`, :class:`TitleOrient`, Literal['none', 'left', 'right', 'top', 'bottom'] Default title orientation ( ``"top"``, ``"bottom"``, ``"left"``, or ``"right"`` ) - subtitleColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ExprRef`, Dict[required=[expr]] + subtitleColor : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Text color for subtitle text. - subtitleFont : :class:`ExprRef`, Dict[required=[expr]], str + subtitleFont : str, dict, :class:`ExprRef` Font name for subtitle text. - subtitleFontSize : :class:`ExprRef`, Dict[required=[expr]], float + subtitleFontSize : dict, float, :class:`ExprRef` Font size in pixels for subtitle text. - subtitleFontStyle : :class:`ExprRef`, Dict[required=[expr]], :class:`FontStyle`, str + subtitleFontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` Font style for subtitle text. - subtitleFontWeight : :class:`ExprRef`, Dict[required=[expr]], :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + subtitleFontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] Font weight for subtitle text. This can be either a string (e.g ``"bold"``, ``"normal"`` ) or a number ( ``100``, ``200``, ``300``, ..., ``900`` where ``"normal"`` = ``400`` and ``"bold"`` = ``700`` ). - subtitleLineHeight : :class:`ExprRef`, Dict[required=[expr]], float + subtitleLineHeight : dict, float, :class:`ExprRef` Line height in pixels for multi-line subtitle text. - subtitlePadding : :class:`ExprRef`, Dict[required=[expr]], float + subtitlePadding : dict, float, :class:`ExprRef` The padding in pixels between title and subtitle text. - zindex : :class:`ExprRef`, Dict[required=[expr]], float + zindex : dict, float, :class:`ExprRef` The integer z-index indicating the layering of the title group relative to other axis, mark, and legend groups. @@ -6488,468 +5936,430 @@ class BaseTitleNoValueRefs(VegaLiteSchema): def __init__( self, align: Union[ - Union["Align", Literal["left", "center", "right"]], UndefinedType + "SchemaBase", Literal["left", "center", "right"], UndefinedType ] = Undefined, anchor: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["TitleAnchor", Literal[None, "start", "middle", "end"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[None, "start", "middle", "end"], UndefinedType, ] = Undefined, angle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - aria: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + aria: Union[bool, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, baseline: Union[ - Union[ - "TextBaseline", - Union["Baseline", Literal["top", "middle", "bottom"]], - str, - ], - UndefinedType, + str, "SchemaBase", Literal["top", "middle", "bottom"], UndefinedType ] = Undefined, color: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], - ], - UndefinedType, - ] = Undefined, - dx: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - dy: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - font: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType - ] = Undefined, + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", + ], + UndefinedType, + ] = Undefined, + dx: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, + dy: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, + font: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, fontSize: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, fontStyle: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["FontStyle", str]], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, fontWeight: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "FontWeight", - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, frame: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[Union["TitleFrame", Literal["bounds", "group"]], str], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal["bounds", "group"], UndefinedType, ] = Undefined, limit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, lineHeight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, offset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, orient: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["TitleOrient", Literal["none", "left", "right", "top", "bottom"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["none", "left", "right", "top", "bottom"], UndefinedType, ] = Undefined, subtitleColor: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, subtitleFont: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, subtitleFontSize: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, subtitleFontStyle: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["FontStyle", str]], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, subtitleFontWeight: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "FontWeight", - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, subtitleLineHeight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, subtitlePadding: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, zindex: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, **kwds, ): @@ -6984,10 +6394,7 @@ def __init__( class BinExtent(VegaLiteSchema): - """BinExtent schema wrapper - - :class:`BinExtent`, :class:`ParameterExtent`, Dict[required=[param]], Sequence[float] - """ + """BinExtent schema wrapper""" _schema = {"$ref": "#/definitions/BinExtent"} @@ -6997,8 +6404,6 @@ def __init__(self, *args, **kwds): class BinParams(VegaLiteSchema): """BinParams schema wrapper - - :class:`BinParams`, Dict Binning properties or boolean flag for determining whether to bin data or not. Parameters @@ -7023,7 +6428,7 @@ class BinParams(VegaLiteSchema): also satisfy the given constraints. **Default value:** ``[5, 2]`` - extent : :class:`BinExtent`, :class:`ParameterExtent`, Dict[required=[param]], Sequence[float] + extent : dict, Sequence[float], :class:`BinExtent`, :class:`ParameterExtent` A two-element ( ``[min, max]`` ) array indicating the range of desired bin values. maxbins : float Maximum number of bins. @@ -7054,12 +6459,7 @@ def __init__( binned: Union[bool, UndefinedType] = Undefined, divide: Union[Sequence[float], UndefinedType] = Undefined, extent: Union[ - Union[ - "BinExtent", - Sequence[float], - Union["ParameterExtent", "_Parameter", dict], - ], - UndefinedType, + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, maxbins: Union[float, UndefinedType] = Undefined, minstep: Union[float, UndefinedType] = Undefined, @@ -7084,13 +6484,7 @@ def __init__( class Binding(VegaLiteSchema): - """Binding schema wrapper - - :class:`BindCheckbox`, Dict[required=[input]], :class:`BindDirect`, - Dict[required=[element]], :class:`BindInput`, Dict, :class:`BindRadioSelect`, - Dict[required=[input, options]], :class:`BindRange`, Dict[required=[input]], - :class:`Binding` - """ + """Binding schema wrapper""" _schema = {"$ref": "#/definitions/Binding"} @@ -7101,8 +6495,6 @@ def __init__(self, *args, **kwds): class BindCheckbox(Binding): """BindCheckbox schema wrapper - :class:`BindCheckbox`, Dict[required=[input]] - Parameters ---------- @@ -7111,7 +6503,7 @@ class BindCheckbox(Binding): debounce : float If defined, delays event handling until the specified milliseconds have elapsed since the last event was fired. - element : :class:`Element`, str + element : str, :class:`Element` An optional CSS selector string indicating the parent element to which the input element should be added. By default, all input elements are added within the parent container of the Vega view. @@ -7126,7 +6518,7 @@ def __init__( self, input: Union[str, UndefinedType] = Undefined, debounce: Union[float, UndefinedType] = Undefined, - element: Union[Union["Element", str], UndefinedType] = Undefined, + element: Union[str, "SchemaBase", UndefinedType] = Undefined, name: Union[str, UndefinedType] = Undefined, **kwds, ): @@ -7138,12 +6530,10 @@ def __init__( class BindDirect(Binding): """BindDirect schema wrapper - :class:`BindDirect`, Dict[required=[element]] - Parameters ---------- - element : :class:`Element`, str, Dict + element : str, dict, :class:`Element` An input element that exposes a *value* property and supports the `EventTarget `__ interface, or a CSS selector string to such an element. When the element updates and dispatches an @@ -7162,7 +6552,7 @@ class BindDirect(Binding): def __init__( self, - element: Union[Union[Union["Element", str], dict], UndefinedType] = Undefined, + element: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, debounce: Union[float, UndefinedType] = Undefined, event: Union[str, UndefinedType] = Undefined, **kwds, @@ -7175,8 +6565,6 @@ def __init__( class BindInput(Binding): """BindInput schema wrapper - :class:`BindInput`, Dict - Parameters ---------- @@ -7187,7 +6575,7 @@ class BindInput(Binding): debounce : float If defined, delays event handling until the specified milliseconds have elapsed since the last event was fired. - element : :class:`Element`, str + element : str, :class:`Element` An optional CSS selector string indicating the parent element to which the input element should be added. By default, all input elements are added within the parent container of the Vega view. @@ -7208,7 +6596,7 @@ def __init__( self, autocomplete: Union[str, UndefinedType] = Undefined, debounce: Union[float, UndefinedType] = Undefined, - element: Union[Union["Element", str], UndefinedType] = Undefined, + element: Union[str, "SchemaBase", UndefinedType] = Undefined, input: Union[str, UndefinedType] = Undefined, name: Union[str, UndefinedType] = Undefined, placeholder: Union[str, UndefinedType] = Undefined, @@ -7228,8 +6616,6 @@ def __init__( class BindRadioSelect(Binding): """BindRadioSelect schema wrapper - :class:`BindRadioSelect`, Dict[required=[input, options]] - Parameters ---------- @@ -7240,7 +6626,7 @@ class BindRadioSelect(Binding): debounce : float If defined, delays event handling until the specified milliseconds have elapsed since the last event was fired. - element : :class:`Element`, str + element : str, :class:`Element` An optional CSS selector string indicating the parent element to which the input element should be added. By default, all input elements are added within the parent container of the Vega view. @@ -7259,7 +6645,7 @@ def __init__( input: Union[Literal["radio", "select"], UndefinedType] = Undefined, options: Union[Sequence[Any], UndefinedType] = Undefined, debounce: Union[float, UndefinedType] = Undefined, - element: Union[Union["Element", str], UndefinedType] = Undefined, + element: Union[str, "SchemaBase", UndefinedType] = Undefined, labels: Union[Sequence[str], UndefinedType] = Undefined, name: Union[str, UndefinedType] = Undefined, **kwds, @@ -7278,8 +6664,6 @@ def __init__( class BindRange(Binding): """BindRange schema wrapper - :class:`BindRange`, Dict[required=[input]] - Parameters ---------- @@ -7288,7 +6672,7 @@ class BindRange(Binding): debounce : float If defined, delays event handling until the specified milliseconds have elapsed since the last event was fired. - element : :class:`Element`, str + element : str, :class:`Element` An optional CSS selector string indicating the parent element to which the input element should be added. By default, all input elements are added within the parent container of the Vega view. @@ -7312,7 +6696,7 @@ def __init__( self, input: Union[str, UndefinedType] = Undefined, debounce: Union[float, UndefinedType] = Undefined, - element: Union[Union["Element", str], UndefinedType] = Undefined, + element: Union[str, "SchemaBase", UndefinedType] = Undefined, max: Union[float, UndefinedType] = Undefined, min: Union[float, UndefinedType] = Undefined, name: Union[str, UndefinedType] = Undefined, @@ -7332,20 +6716,7 @@ def __init__( class BinnedTimeUnit(VegaLiteSchema): - """BinnedTimeUnit schema wrapper - - :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', - 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', - 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', - 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', - 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', - 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', - 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', - 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', - 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', - 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', - 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'] - """ + """BinnedTimeUnit schema wrapper""" _schema = {"$ref": "#/definitions/BinnedTimeUnit"} @@ -7354,12 +6725,7 @@ def __init__(self, *args, **kwds): class Blend(VegaLiteSchema): - """Blend schema wrapper - - :class:`Blend`, Literal[None, 'multiply', 'screen', 'overlay', 'darken', 'lighten', - 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', - 'saturation', 'color', 'luminosity'] - """ + """Blend schema wrapper""" _schema = {"$ref": "#/definitions/Blend"} @@ -7370,14 +6736,12 @@ def __init__(self, *args): class BoxPlotConfig(VegaLiteSchema): """BoxPlotConfig schema wrapper - :class:`BoxPlotConfig`, Dict - Parameters ---------- - box : :class:`AnyMarkConfig`, :class:`AreaConfig`, Dict, :class:`BarConfig`, Dict, :class:`LineConfig`, Dict, :class:`MarkConfig`, Dict, :class:`RectConfig`, Dict, :class:`TickConfig`, Dict, bool + box : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` - extent : float, str + extent : str, float The extent of the whiskers. Available options include: @@ -7389,15 +6753,15 @@ class BoxPlotConfig(VegaLiteSchema): range ( *Q3-Q1* ). **Default value:** ``1.5``. - median : :class:`AnyMarkConfig`, :class:`AreaConfig`, Dict, :class:`BarConfig`, Dict, :class:`LineConfig`, Dict, :class:`MarkConfig`, Dict, :class:`RectConfig`, Dict, :class:`TickConfig`, Dict, bool + median : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` - outliers : :class:`AnyMarkConfig`, :class:`AreaConfig`, Dict, :class:`BarConfig`, Dict, :class:`LineConfig`, Dict, :class:`MarkConfig`, Dict, :class:`RectConfig`, Dict, :class:`TickConfig`, Dict, bool + outliers : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` - rule : :class:`AnyMarkConfig`, :class:`AreaConfig`, Dict, :class:`BarConfig`, Dict, :class:`LineConfig`, Dict, :class:`MarkConfig`, Dict, :class:`RectConfig`, Dict, :class:`TickConfig`, Dict, bool + rule : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` size : float Size of the box and median tick of a box plot - ticks : :class:`AnyMarkConfig`, :class:`AreaConfig`, Dict, :class:`BarConfig`, Dict, :class:`LineConfig`, Dict, :class:`MarkConfig`, Dict, :class:`RectConfig`, Dict, :class:`TickConfig`, Dict, bool + ticks : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` """ @@ -7405,83 +6769,13 @@ class BoxPlotConfig(VegaLiteSchema): def __init__( self, - box: Union[ - Union[ - Union[ - "AnyMarkConfig", - Union["AreaConfig", dict], - Union["BarConfig", dict], - Union["LineConfig", dict], - Union["MarkConfig", dict], - Union["RectConfig", dict], - Union["TickConfig", dict], - ], - bool, - ], - UndefinedType, - ] = Undefined, - extent: Union[Union[float, str], UndefinedType] = Undefined, - median: Union[ - Union[ - Union[ - "AnyMarkConfig", - Union["AreaConfig", dict], - Union["BarConfig", dict], - Union["LineConfig", dict], - Union["MarkConfig", dict], - Union["RectConfig", dict], - Union["TickConfig", dict], - ], - bool, - ], - UndefinedType, - ] = Undefined, - outliers: Union[ - Union[ - Union[ - "AnyMarkConfig", - Union["AreaConfig", dict], - Union["BarConfig", dict], - Union["LineConfig", dict], - Union["MarkConfig", dict], - Union["RectConfig", dict], - Union["TickConfig", dict], - ], - bool, - ], - UndefinedType, - ] = Undefined, - rule: Union[ - Union[ - Union[ - "AnyMarkConfig", - Union["AreaConfig", dict], - Union["BarConfig", dict], - Union["LineConfig", dict], - Union["MarkConfig", dict], - Union["RectConfig", dict], - Union["TickConfig", dict], - ], - bool, - ], - UndefinedType, - ] = Undefined, + box: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, + extent: Union[str, float, UndefinedType] = Undefined, + median: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, + outliers: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, + rule: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, size: Union[float, UndefinedType] = Undefined, - ticks: Union[ - Union[ - Union[ - "AnyMarkConfig", - Union["AreaConfig", dict], - Union["BarConfig", dict], - Union["LineConfig", dict], - Union["MarkConfig", dict], - Union["RectConfig", dict], - Union["TickConfig", dict], - ], - bool, - ], - UndefinedType, - ] = Undefined, + ticks: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, **kwds, ): super(BoxPlotConfig, self).__init__( @@ -7499,15 +6793,13 @@ def __init__( class BrushConfig(VegaLiteSchema): """BrushConfig schema wrapper - :class:`BrushConfig`, Dict - Parameters ---------- cursor : :class:`Cursor`, Literal['auto', 'default', 'none', 'context-menu', 'help', 'pointer', 'progress', 'wait', 'cell', 'crosshair', 'text', 'vertical-text', 'alias', 'copy', 'move', 'no-drop', 'not-allowed', 'e-resize', 'n-resize', 'ne-resize', 'nw-resize', 's-resize', 'se-resize', 'sw-resize', 'w-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'col-resize', 'row-resize', 'all-scroll', 'zoom-in', 'zoom-out', 'grab', 'grabbing'] The mouse cursor used over the interval mark. Any valid `CSS cursor type `__ can be used. - fill : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str + fill : str, :class:`Color`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] The fill color of the interval mark. **Default value:** ``"#333333"`` @@ -7515,7 +6807,7 @@ class BrushConfig(VegaLiteSchema): The fill opacity of the interval mark (a value between ``0`` and ``1`` ). **Default value:** ``0.125`` - stroke : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str + stroke : str, :class:`Color`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] The stroke color of the interval mark. **Default value:** ``"#ffffff"`` @@ -7535,369 +6827,355 @@ class BrushConfig(VegaLiteSchema): def __init__( self, cursor: Union[ - Union[ - "Cursor", - Literal[ - "auto", - "default", - "none", - "context-menu", - "help", - "pointer", - "progress", - "wait", - "cell", - "crosshair", - "text", - "vertical-text", - "alias", - "copy", - "move", - "no-drop", - "not-allowed", - "e-resize", - "n-resize", - "ne-resize", - "nw-resize", - "s-resize", - "se-resize", - "sw-resize", - "w-resize", - "ew-resize", - "ns-resize", - "nesw-resize", - "nwse-resize", - "col-resize", - "row-resize", - "all-scroll", - "zoom-in", - "zoom-out", - "grab", - "grabbing", - ], + "SchemaBase", + Literal[ + "auto", + "default", + "none", + "context-menu", + "help", + "pointer", + "progress", + "wait", + "cell", + "crosshair", + "text", + "vertical-text", + "alias", + "copy", + "move", + "no-drop", + "not-allowed", + "e-resize", + "n-resize", + "ne-resize", + "nw-resize", + "s-resize", + "se-resize", + "sw-resize", + "w-resize", + "ew-resize", + "ns-resize", + "nesw-resize", + "nwse-resize", + "col-resize", + "row-resize", + "all-scroll", + "zoom-in", + "zoom-out", + "grab", + "grabbing", ], UndefinedType, ] = Undefined, fill: Union[ - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, + str, + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, fillOpacity: Union[float, UndefinedType] = Undefined, stroke: Union[ - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, + str, + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, @@ -7921,32 +7199,7 @@ def __init__( class Color(VegaLiteSchema): - """Color schema wrapper - - :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', - 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', - 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', - 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', - 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', - 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', - 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', - 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', - 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', - 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', - 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', - 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', - 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', - 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', - 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', - 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', - 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', - 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', - 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', - 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', - 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', - 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', - 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str - """ + """Color schema wrapper""" _schema = {"$ref": "#/definitions/Color"} @@ -7955,13 +7208,7 @@ def __init__(self, *args, **kwds): class ColorDef(VegaLiteSchema): - """ColorDef schema wrapper - - :class:`ColorDef`, :class:`FieldOrDatumDefWithConditionDatumDefGradientstringnull`, Dict, - :class:`FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull`, - Dict[required=[shorthand]], - :class:`ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull`, Dict - """ + """ColorDef schema wrapper""" _schema = {"$ref": "#/definitions/ColorDef"} @@ -7970,32 +7217,7 @@ def __init__(self, *args, **kwds): class ColorName(Color): - """ColorName schema wrapper - - :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', - 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', - 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', - 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', - 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', - 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', - 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', - 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', - 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', - 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', - 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', - 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', - 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', - 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', - 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', - 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', - 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', - 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', - 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', - 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', - 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', - 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', - 'whitesmoke', 'yellowgreen', 'rebeccapurple'] - """ + """ColorName schema wrapper""" _schema = {"$ref": "#/definitions/ColorName"} @@ -8004,74 +7226,7 @@ def __init__(self, *args): class ColorScheme(VegaLiteSchema): - """ColorScheme schema wrapper - - :class:`Categorical`, Literal['accent', 'category10', 'category20', 'category20b', - 'category20c', 'dark2', 'paired', 'pastel1', 'pastel2', 'set1', 'set2', 'set3', 'tableau10', - 'tableau20'], :class:`ColorScheme`, :class:`Cyclical`, Literal['rainbow', 'sinebow'], - :class:`Diverging`, Literal['blueorange', 'blueorange-3', 'blueorange-4', 'blueorange-5', - 'blueorange-6', 'blueorange-7', 'blueorange-8', 'blueorange-9', 'blueorange-10', - 'blueorange-11', 'brownbluegreen', 'brownbluegreen-3', 'brownbluegreen-4', - 'brownbluegreen-5', 'brownbluegreen-6', 'brownbluegreen-7', 'brownbluegreen-8', - 'brownbluegreen-9', 'brownbluegreen-10', 'brownbluegreen-11', 'purplegreen', - 'purplegreen-3', 'purplegreen-4', 'purplegreen-5', 'purplegreen-6', 'purplegreen-7', - 'purplegreen-8', 'purplegreen-9', 'purplegreen-10', 'purplegreen-11', 'pinkyellowgreen', - 'pinkyellowgreen-3', 'pinkyellowgreen-4', 'pinkyellowgreen-5', 'pinkyellowgreen-6', - 'pinkyellowgreen-7', 'pinkyellowgreen-8', 'pinkyellowgreen-9', 'pinkyellowgreen-10', - 'pinkyellowgreen-11', 'purpleorange', 'purpleorange-3', 'purpleorange-4', 'purpleorange-5', - 'purpleorange-6', 'purpleorange-7', 'purpleorange-8', 'purpleorange-9', 'purpleorange-10', - 'purpleorange-11', 'redblue', 'redblue-3', 'redblue-4', 'redblue-5', 'redblue-6', - 'redblue-7', 'redblue-8', 'redblue-9', 'redblue-10', 'redblue-11', 'redgrey', 'redgrey-3', - 'redgrey-4', 'redgrey-5', 'redgrey-6', 'redgrey-7', 'redgrey-8', 'redgrey-9', 'redgrey-10', - 'redgrey-11', 'redyellowblue', 'redyellowblue-3', 'redyellowblue-4', 'redyellowblue-5', - 'redyellowblue-6', 'redyellowblue-7', 'redyellowblue-8', 'redyellowblue-9', - 'redyellowblue-10', 'redyellowblue-11', 'redyellowgreen', 'redyellowgreen-3', - 'redyellowgreen-4', 'redyellowgreen-5', 'redyellowgreen-6', 'redyellowgreen-7', - 'redyellowgreen-8', 'redyellowgreen-9', 'redyellowgreen-10', 'redyellowgreen-11', - 'spectral', 'spectral-3', 'spectral-4', 'spectral-5', 'spectral-6', 'spectral-7', - 'spectral-8', 'spectral-9', 'spectral-10', 'spectral-11'], :class:`SequentialMultiHue`, - Literal['turbo', 'viridis', 'inferno', 'magma', 'plasma', 'cividis', 'bluegreen', - 'bluegreen-3', 'bluegreen-4', 'bluegreen-5', 'bluegreen-6', 'bluegreen-7', 'bluegreen-8', - 'bluegreen-9', 'bluepurple', 'bluepurple-3', 'bluepurple-4', 'bluepurple-5', 'bluepurple-6', - 'bluepurple-7', 'bluepurple-8', 'bluepurple-9', 'goldgreen', 'goldgreen-3', 'goldgreen-4', - 'goldgreen-5', 'goldgreen-6', 'goldgreen-7', 'goldgreen-8', 'goldgreen-9', 'goldorange', - 'goldorange-3', 'goldorange-4', 'goldorange-5', 'goldorange-6', 'goldorange-7', - 'goldorange-8', 'goldorange-9', 'goldred', 'goldred-3', 'goldred-4', 'goldred-5', - 'goldred-6', 'goldred-7', 'goldred-8', 'goldred-9', 'greenblue', 'greenblue-3', - 'greenblue-4', 'greenblue-5', 'greenblue-6', 'greenblue-7', 'greenblue-8', 'greenblue-9', - 'orangered', 'orangered-3', 'orangered-4', 'orangered-5', 'orangered-6', 'orangered-7', - 'orangered-8', 'orangered-9', 'purplebluegreen', 'purplebluegreen-3', 'purplebluegreen-4', - 'purplebluegreen-5', 'purplebluegreen-6', 'purplebluegreen-7', 'purplebluegreen-8', - 'purplebluegreen-9', 'purpleblue', 'purpleblue-3', 'purpleblue-4', 'purpleblue-5', - 'purpleblue-6', 'purpleblue-7', 'purpleblue-8', 'purpleblue-9', 'purplered', 'purplered-3', - 'purplered-4', 'purplered-5', 'purplered-6', 'purplered-7', 'purplered-8', 'purplered-9', - 'redpurple', 'redpurple-3', 'redpurple-4', 'redpurple-5', 'redpurple-6', 'redpurple-7', - 'redpurple-8', 'redpurple-9', 'yellowgreenblue', 'yellowgreenblue-3', 'yellowgreenblue-4', - 'yellowgreenblue-5', 'yellowgreenblue-6', 'yellowgreenblue-7', 'yellowgreenblue-8', - 'yellowgreenblue-9', 'yellowgreen', 'yellowgreen-3', 'yellowgreen-4', 'yellowgreen-5', - 'yellowgreen-6', 'yellowgreen-7', 'yellowgreen-8', 'yellowgreen-9', 'yelloworangebrown', - 'yelloworangebrown-3', 'yelloworangebrown-4', 'yelloworangebrown-5', 'yelloworangebrown-6', - 'yelloworangebrown-7', 'yelloworangebrown-8', 'yelloworangebrown-9', 'yelloworangered', - 'yelloworangered-3', 'yelloworangered-4', 'yelloworangered-5', 'yelloworangered-6', - 'yelloworangered-7', 'yelloworangered-8', 'yelloworangered-9', 'darkblue', 'darkblue-3', - 'darkblue-4', 'darkblue-5', 'darkblue-6', 'darkblue-7', 'darkblue-8', 'darkblue-9', - 'darkgold', 'darkgold-3', 'darkgold-4', 'darkgold-5', 'darkgold-6', 'darkgold-7', - 'darkgold-8', 'darkgold-9', 'darkgreen', 'darkgreen-3', 'darkgreen-4', 'darkgreen-5', - 'darkgreen-6', 'darkgreen-7', 'darkgreen-8', 'darkgreen-9', 'darkmulti', 'darkmulti-3', - 'darkmulti-4', 'darkmulti-5', 'darkmulti-6', 'darkmulti-7', 'darkmulti-8', 'darkmulti-9', - 'darkred', 'darkred-3', 'darkred-4', 'darkred-5', 'darkred-6', 'darkred-7', 'darkred-8', - 'darkred-9', 'lightgreyred', 'lightgreyred-3', 'lightgreyred-4', 'lightgreyred-5', - 'lightgreyred-6', 'lightgreyred-7', 'lightgreyred-8', 'lightgreyred-9', 'lightgreyteal', - 'lightgreyteal-3', 'lightgreyteal-4', 'lightgreyteal-5', 'lightgreyteal-6', - 'lightgreyteal-7', 'lightgreyteal-8', 'lightgreyteal-9', 'lightmulti', 'lightmulti-3', - 'lightmulti-4', 'lightmulti-5', 'lightmulti-6', 'lightmulti-7', 'lightmulti-8', - 'lightmulti-9', 'lightorange', 'lightorange-3', 'lightorange-4', 'lightorange-5', - 'lightorange-6', 'lightorange-7', 'lightorange-8', 'lightorange-9', 'lighttealblue', - 'lighttealblue-3', 'lighttealblue-4', 'lighttealblue-5', 'lighttealblue-6', - 'lighttealblue-7', 'lighttealblue-8', 'lighttealblue-9'], :class:`SequentialSingleHue`, - Literal['blues', 'tealblues', 'teals', 'greens', 'browns', 'greys', 'purples', 'warmgreys', - 'reds', 'oranges'] - """ + """ColorScheme schema wrapper""" _schema = {"$ref": "#/definitions/ColorScheme"} @@ -8080,12 +7235,7 @@ def __init__(self, *args, **kwds): class Categorical(ColorScheme): - """Categorical schema wrapper - - :class:`Categorical`, Literal['accent', 'category10', 'category20', 'category20b', - 'category20c', 'dark2', 'paired', 'pastel1', 'pastel2', 'set1', 'set2', 'set3', 'tableau10', - 'tableau20'] - """ + """Categorical schema wrapper""" _schema = {"$ref": "#/definitions/Categorical"} @@ -8094,11 +7244,7 @@ def __init__(self, *args): class CompositeMark(AnyMark): - """CompositeMark schema wrapper - - :class:`BoxPlot`, str, :class:`CompositeMark`, :class:`ErrorBand`, str, :class:`ErrorBar`, - str - """ + """CompositeMark schema wrapper""" _schema = {"$ref": "#/definitions/CompositeMark"} @@ -8107,10 +7253,7 @@ def __init__(self, *args, **kwds): class BoxPlot(CompositeMark): - """BoxPlot schema wrapper - - :class:`BoxPlot`, str - """ + """BoxPlot schema wrapper""" _schema = {"$ref": "#/definitions/BoxPlot"} @@ -8119,11 +7262,7 @@ def __init__(self, *args): class CompositeMarkDef(AnyMark): - """CompositeMarkDef schema wrapper - - :class:`BoxPlotDef`, Dict[required=[type]], :class:`CompositeMarkDef`, - :class:`ErrorBandDef`, Dict[required=[type]], :class:`ErrorBarDef`, Dict[required=[type]] - """ + """CompositeMarkDef schema wrapper""" _schema = {"$ref": "#/definitions/CompositeMarkDef"} @@ -8134,21 +7273,19 @@ def __init__(self, *args, **kwds): class BoxPlotDef(CompositeMarkDef): """BoxPlotDef schema wrapper - :class:`BoxPlotDef`, Dict[required=[type]] - Parameters ---------- - type : :class:`BoxPlot`, str + type : str, :class:`BoxPlot` The mark type. This could a primitive mark type (one of ``"bar"``, ``"circle"``, ``"square"``, ``"tick"``, ``"line"``, ``"area"``, ``"point"``, ``"geoshape"``, ``"rule"``, and ``"text"`` ) or a composite mark type ( ``"boxplot"``, ``"errorband"``, ``"errorbar"`` ). - box : :class:`AnyMarkConfig`, :class:`AreaConfig`, Dict, :class:`BarConfig`, Dict, :class:`LineConfig`, Dict, :class:`MarkConfig`, Dict, :class:`RectConfig`, Dict, :class:`TickConfig`, Dict, bool + box : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` clip : bool Whether a composite mark be clipped to the enclosing group’s width and height. - color : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]] + color : str, dict, :class:`Color`, :class:`ExprRef`, :class:`Gradient`, :class:`HexColor`, :class:`ColorName`, :class:`LinearGradient`, :class:`RadialGradient`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Default color. **Default value:** :raw-html:`` @@ -8161,7 +7298,7 @@ class BoxPlotDef(CompositeMarkDef): `__. * The ``fill`` and ``stroke`` properties have higher precedence than ``color`` and will override ``color``. - extent : float, str + extent : str, float The extent of the whiskers. Available options include: @@ -8182,7 +7319,7 @@ class BoxPlotDef(CompositeMarkDef): (for line, trail, and area marks) or filtered (for other marks). * If ``null``, all data items are included. In this case, invalid values will be interpreted as zeroes. - median : :class:`AnyMarkConfig`, :class:`AreaConfig`, Dict, :class:`BarConfig`, Dict, :class:`LineConfig`, Dict, :class:`MarkConfig`, Dict, :class:`RectConfig`, Dict, :class:`TickConfig`, Dict, bool + median : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` opacity : float The opacity (value between [0,1]) of the mark. @@ -8192,13 +7329,13 @@ class BoxPlotDef(CompositeMarkDef): when the orientation is ambiguous. **Default value:** ``"vertical"``. - outliers : :class:`AnyMarkConfig`, :class:`AreaConfig`, Dict, :class:`BarConfig`, Dict, :class:`LineConfig`, Dict, :class:`MarkConfig`, Dict, :class:`RectConfig`, Dict, :class:`TickConfig`, Dict, bool + outliers : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` - rule : :class:`AnyMarkConfig`, :class:`AreaConfig`, Dict, :class:`BarConfig`, Dict, :class:`LineConfig`, Dict, :class:`MarkConfig`, Dict, :class:`RectConfig`, Dict, :class:`TickConfig`, Dict, bool + rule : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` size : float Size of the box and median tick of a box plot - ticks : :class:`AnyMarkConfig`, :class:`AreaConfig`, Dict, :class:`BarConfig`, Dict, :class:`LineConfig`, Dict, :class:`MarkConfig`, Dict, :class:`RectConfig`, Dict, :class:`TickConfig`, Dict, bool + ticks : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` """ @@ -8206,259 +7343,177 @@ class BoxPlotDef(CompositeMarkDef): def __init__( self, - type: Union[Union["BoxPlot", str], UndefinedType] = Undefined, - box: Union[ - Union[ - Union[ - "AnyMarkConfig", - Union["AreaConfig", dict], - Union["BarConfig", dict], - Union["LineConfig", dict], - Union["MarkConfig", dict], - Union["RectConfig", dict], - Union["TickConfig", dict], - ], - bool, - ], - UndefinedType, - ] = Undefined, + type: Union[str, "SchemaBase", UndefinedType] = Undefined, + box: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, clip: Union[bool, UndefinedType] = Undefined, color: Union[ - Union[ - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], - Union[ - "Gradient", - Union["LinearGradient", dict], - Union["RadialGradient", dict], - ], - ], - UndefinedType, - ] = Undefined, - extent: Union[Union[float, str], UndefinedType] = Undefined, + str, + dict, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", + ], + UndefinedType, + ] = Undefined, + extent: Union[str, float, UndefinedType] = Undefined, invalid: Union[Literal["filter", None], UndefinedType] = Undefined, - median: Union[ - Union[ - Union[ - "AnyMarkConfig", - Union["AreaConfig", dict], - Union["BarConfig", dict], - Union["LineConfig", dict], - Union["MarkConfig", dict], - Union["RectConfig", dict], - Union["TickConfig", dict], - ], - bool, - ], - UndefinedType, - ] = Undefined, + median: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, opacity: Union[float, UndefinedType] = Undefined, orient: Union[ - Union["Orientation", Literal["horizontal", "vertical"]], UndefinedType - ] = Undefined, - outliers: Union[ - Union[ - Union[ - "AnyMarkConfig", - Union["AreaConfig", dict], - Union["BarConfig", dict], - Union["LineConfig", dict], - Union["MarkConfig", dict], - Union["RectConfig", dict], - Union["TickConfig", dict], - ], - bool, - ], - UndefinedType, - ] = Undefined, - rule: Union[ - Union[ - Union[ - "AnyMarkConfig", - Union["AreaConfig", dict], - Union["BarConfig", dict], - Union["LineConfig", dict], - Union["MarkConfig", dict], - Union["RectConfig", dict], - Union["TickConfig", dict], - ], - bool, - ], - UndefinedType, + "SchemaBase", Literal["horizontal", "vertical"], UndefinedType ] = Undefined, + outliers: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, + rule: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, size: Union[float, UndefinedType] = Undefined, - ticks: Union[ - Union[ - Union[ - "AnyMarkConfig", - Union["AreaConfig", dict], - Union["BarConfig", dict], - Union["LineConfig", dict], - Union["MarkConfig", dict], - Union["RectConfig", dict], - Union["TickConfig", dict], - ], - bool, - ], - UndefinedType, - ] = Undefined, + ticks: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, **kwds, ): super(BoxPlotDef, self).__init__( @@ -8482,8 +7537,6 @@ def __init__( class CompositionConfig(VegaLiteSchema): """CompositionConfig schema wrapper - :class:`CompositionConfig`, Dict - Parameters ---------- @@ -8525,11 +7578,7 @@ def __init__( class ConditionalAxisColor(VegaLiteSchema): - """ConditionalAxisColor schema wrapper - - :class:`ConditionalAxisColor`, Dict[required=[condition, expr]], Dict[required=[condition, - value]] - """ + """ConditionalAxisColor schema wrapper""" _schema = {"$ref": "#/definitions/ConditionalAxisColor"} @@ -8538,11 +7587,7 @@ def __init__(self, *args, **kwds): class ConditionalAxisLabelAlign(VegaLiteSchema): - """ConditionalAxisLabelAlign schema wrapper - - :class:`ConditionalAxisLabelAlign`, Dict[required=[condition, expr]], - Dict[required=[condition, value]] - """ + """ConditionalAxisLabelAlign schema wrapper""" _schema = {"$ref": "#/definitions/ConditionalAxisLabelAlign"} @@ -8551,11 +7596,7 @@ def __init__(self, *args, **kwds): class ConditionalAxisLabelBaseline(VegaLiteSchema): - """ConditionalAxisLabelBaseline schema wrapper - - :class:`ConditionalAxisLabelBaseline`, Dict[required=[condition, expr]], - Dict[required=[condition, value]] - """ + """ConditionalAxisLabelBaseline schema wrapper""" _schema = {"$ref": "#/definitions/ConditionalAxisLabelBaseline"} @@ -8564,11 +7605,7 @@ def __init__(self, *args, **kwds): class ConditionalAxisLabelFontStyle(VegaLiteSchema): - """ConditionalAxisLabelFontStyle schema wrapper - - :class:`ConditionalAxisLabelFontStyle`, Dict[required=[condition, expr]], - Dict[required=[condition, value]] - """ + """ConditionalAxisLabelFontStyle schema wrapper""" _schema = {"$ref": "#/definitions/ConditionalAxisLabelFontStyle"} @@ -8577,11 +7614,7 @@ def __init__(self, *args, **kwds): class ConditionalAxisLabelFontWeight(VegaLiteSchema): - """ConditionalAxisLabelFontWeight schema wrapper - - :class:`ConditionalAxisLabelFontWeight`, Dict[required=[condition, expr]], - Dict[required=[condition, value]] - """ + """ConditionalAxisLabelFontWeight schema wrapper""" _schema = {"$ref": "#/definitions/ConditionalAxisLabelFontWeight"} @@ -8590,11 +7623,7 @@ def __init__(self, *args, **kwds): class ConditionalAxisNumber(VegaLiteSchema): - """ConditionalAxisNumber schema wrapper - - :class:`ConditionalAxisNumber`, Dict[required=[condition, expr]], Dict[required=[condition, - value]] - """ + """ConditionalAxisNumber schema wrapper""" _schema = {"$ref": "#/definitions/ConditionalAxisNumber"} @@ -8603,11 +7632,7 @@ def __init__(self, *args, **kwds): class ConditionalAxisNumberArray(VegaLiteSchema): - """ConditionalAxisNumberArray schema wrapper - - :class:`ConditionalAxisNumberArray`, Dict[required=[condition, expr]], - Dict[required=[condition, value]] - """ + """ConditionalAxisNumberArray schema wrapper""" _schema = {"$ref": "#/definitions/ConditionalAxisNumberArray"} @@ -8616,11 +7641,7 @@ def __init__(self, *args, **kwds): class ConditionalAxisPropertyAlignnull(VegaLiteSchema): - """ConditionalAxisPropertyAlignnull schema wrapper - - :class:`ConditionalAxisPropertyAlignnull`, Dict[required=[condition, expr]], - Dict[required=[condition, value]] - """ + """ConditionalAxisPropertyAlignnull schema wrapper""" _schema = {"$ref": "#/definitions/ConditionalAxisProperty<(Align|null)>"} @@ -8629,11 +7650,7 @@ def __init__(self, *args, **kwds): class ConditionalAxisPropertyColornull(VegaLiteSchema): - """ConditionalAxisPropertyColornull schema wrapper - - :class:`ConditionalAxisPropertyColornull`, Dict[required=[condition, expr]], - Dict[required=[condition, value]] - """ + """ConditionalAxisPropertyColornull schema wrapper""" _schema = {"$ref": "#/definitions/ConditionalAxisProperty<(Color|null)>"} @@ -8642,11 +7659,7 @@ def __init__(self, *args, **kwds): class ConditionalAxisPropertyFontStylenull(VegaLiteSchema): - """ConditionalAxisPropertyFontStylenull schema wrapper - - :class:`ConditionalAxisPropertyFontStylenull`, Dict[required=[condition, expr]], - Dict[required=[condition, value]] - """ + """ConditionalAxisPropertyFontStylenull schema wrapper""" _schema = {"$ref": "#/definitions/ConditionalAxisProperty<(FontStyle|null)>"} @@ -8655,11 +7668,7 @@ def __init__(self, *args, **kwds): class ConditionalAxisPropertyFontWeightnull(VegaLiteSchema): - """ConditionalAxisPropertyFontWeightnull schema wrapper - - :class:`ConditionalAxisPropertyFontWeightnull`, Dict[required=[condition, expr]], - Dict[required=[condition, value]] - """ + """ConditionalAxisPropertyFontWeightnull schema wrapper""" _schema = {"$ref": "#/definitions/ConditionalAxisProperty<(FontWeight|null)>"} @@ -8668,11 +7677,7 @@ def __init__(self, *args, **kwds): class ConditionalAxisPropertyTextBaselinenull(VegaLiteSchema): - """ConditionalAxisPropertyTextBaselinenull schema wrapper - - :class:`ConditionalAxisPropertyTextBaselinenull`, Dict[required=[condition, expr]], - Dict[required=[condition, value]] - """ + """ConditionalAxisPropertyTextBaselinenull schema wrapper""" _schema = {"$ref": "#/definitions/ConditionalAxisProperty<(TextBaseline|null)>"} @@ -8681,11 +7686,7 @@ def __init__(self, *args, **kwds): class ConditionalAxisPropertynumberArraynull(VegaLiteSchema): - """ConditionalAxisPropertynumberArraynull schema wrapper - - :class:`ConditionalAxisPropertynumberArraynull`, Dict[required=[condition, expr]], - Dict[required=[condition, value]] - """ + """ConditionalAxisPropertynumberArraynull schema wrapper""" _schema = {"$ref": "#/definitions/ConditionalAxisProperty<(number[]|null)>"} @@ -8694,11 +7695,7 @@ def __init__(self, *args, **kwds): class ConditionalAxisPropertynumbernull(VegaLiteSchema): - """ConditionalAxisPropertynumbernull schema wrapper - - :class:`ConditionalAxisPropertynumbernull`, Dict[required=[condition, expr]], - Dict[required=[condition, value]] - """ + """ConditionalAxisPropertynumbernull schema wrapper""" _schema = {"$ref": "#/definitions/ConditionalAxisProperty<(number|null)>"} @@ -8707,11 +7704,7 @@ def __init__(self, *args, **kwds): class ConditionalAxisPropertystringnull(VegaLiteSchema): - """ConditionalAxisPropertystringnull schema wrapper - - :class:`ConditionalAxisPropertystringnull`, Dict[required=[condition, expr]], - Dict[required=[condition, value]] - """ + """ConditionalAxisPropertystringnull schema wrapper""" _schema = {"$ref": "#/definitions/ConditionalAxisProperty<(string|null)>"} @@ -8720,11 +7713,7 @@ def __init__(self, *args, **kwds): class ConditionalAxisString(VegaLiteSchema): - """ConditionalAxisString schema wrapper - - :class:`ConditionalAxisString`, Dict[required=[condition, expr]], Dict[required=[condition, - value]] - """ + """ConditionalAxisString schema wrapper""" _schema = {"$ref": "#/definitions/ConditionalAxisString"} @@ -8733,12 +7722,7 @@ def __init__(self, *args, **kwds): class ConditionalMarkPropFieldOrDatumDef(VegaLiteSchema): - """ConditionalMarkPropFieldOrDatumDef schema wrapper - - :class:`ConditionalMarkPropFieldOrDatumDef`, - :class:`ConditionalParameterMarkPropFieldOrDatumDef`, Dict[required=[param]], - :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Dict[required=[test]] - """ + """ConditionalMarkPropFieldOrDatumDef schema wrapper""" _schema = {"$ref": "#/definitions/ConditionalMarkPropFieldOrDatumDef"} @@ -8747,12 +7731,7 @@ def __init__(self, *args, **kwds): class ConditionalMarkPropFieldOrDatumDefTypeForShape(VegaLiteSchema): - """ConditionalMarkPropFieldOrDatumDefTypeForShape schema wrapper - - :class:`ConditionalMarkPropFieldOrDatumDefTypeForShape`, - :class:`ConditionalParameterMarkPropFieldOrDatumDefTypeForShape`, Dict[required=[param]], - :class:`ConditionalPredicateMarkPropFieldOrDatumDefTypeForShape`, Dict[required=[test]] - """ + """ConditionalMarkPropFieldOrDatumDefTypeForShape schema wrapper""" _schema = {"$ref": "#/definitions/ConditionalMarkPropFieldOrDatumDef"} @@ -8763,10 +7742,7 @@ def __init__(self, *args, **kwds): class ConditionalParameterMarkPropFieldOrDatumDef(ConditionalMarkPropFieldOrDatumDef): - """ConditionalParameterMarkPropFieldOrDatumDef schema wrapper - - :class:`ConditionalParameterMarkPropFieldOrDatumDef`, Dict[required=[param]] - """ + """ConditionalParameterMarkPropFieldOrDatumDef schema wrapper""" _schema = {"$ref": "#/definitions/ConditionalParameter"} @@ -8777,10 +7753,7 @@ def __init__(self, *args, **kwds): class ConditionalParameterMarkPropFieldOrDatumDefTypeForShape( ConditionalMarkPropFieldOrDatumDefTypeForShape ): - """ConditionalParameterMarkPropFieldOrDatumDefTypeForShape schema wrapper - - :class:`ConditionalParameterMarkPropFieldOrDatumDefTypeForShape`, Dict[required=[param]] - """ + """ConditionalParameterMarkPropFieldOrDatumDefTypeForShape schema wrapper""" _schema = { "$ref": "#/definitions/ConditionalParameter>" @@ -8793,10 +7766,7 @@ def __init__(self, *args, **kwds): class ConditionalPredicateMarkPropFieldOrDatumDef(ConditionalMarkPropFieldOrDatumDef): - """ConditionalPredicateMarkPropFieldOrDatumDef schema wrapper - - :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Dict[required=[test]] - """ + """ConditionalPredicateMarkPropFieldOrDatumDef schema wrapper""" _schema = {"$ref": "#/definitions/ConditionalPredicate"} @@ -8807,10 +7777,7 @@ def __init__(self, *args, **kwds): class ConditionalPredicateMarkPropFieldOrDatumDefTypeForShape( ConditionalMarkPropFieldOrDatumDefTypeForShape ): - """ConditionalPredicateMarkPropFieldOrDatumDefTypeForShape schema wrapper - - :class:`ConditionalPredicateMarkPropFieldOrDatumDefTypeForShape`, Dict[required=[test]] - """ + """ConditionalPredicateMarkPropFieldOrDatumDefTypeForShape schema wrapper""" _schema = { "$ref": "#/definitions/ConditionalPredicate>" @@ -8823,11 +7790,7 @@ def __init__(self, *args, **kwds): class ConditionalPredicateValueDefAlignnullExprRef(VegaLiteSchema): - """ConditionalPredicateValueDefAlignnullExprRef schema wrapper - - :class:`ConditionalPredicateValueDefAlignnullExprRef`, Dict[required=[expr, test]], - Dict[required=[test, value]] - """ + """ConditionalPredicateValueDefAlignnullExprRef schema wrapper""" _schema = { "$ref": "#/definitions/ConditionalPredicate<(ValueDef<(Align|null)>|ExprRef)>" @@ -8840,11 +7803,7 @@ def __init__(self, *args, **kwds): class ConditionalPredicateValueDefColornullExprRef(VegaLiteSchema): - """ConditionalPredicateValueDefColornullExprRef schema wrapper - - :class:`ConditionalPredicateValueDefColornullExprRef`, Dict[required=[expr, test]], - Dict[required=[test, value]] - """ + """ConditionalPredicateValueDefColornullExprRef schema wrapper""" _schema = { "$ref": "#/definitions/ConditionalPredicate<(ValueDef<(Color|null)>|ExprRef)>" @@ -8857,11 +7816,7 @@ def __init__(self, *args, **kwds): class ConditionalPredicateValueDefFontStylenullExprRef(VegaLiteSchema): - """ConditionalPredicateValueDefFontStylenullExprRef schema wrapper - - :class:`ConditionalPredicateValueDefFontStylenullExprRef`, Dict[required=[expr, test]], - Dict[required=[test, value]] - """ + """ConditionalPredicateValueDefFontStylenullExprRef schema wrapper""" _schema = { "$ref": "#/definitions/ConditionalPredicate<(ValueDef<(FontStyle|null)>|ExprRef)>" @@ -8874,11 +7829,7 @@ def __init__(self, *args, **kwds): class ConditionalPredicateValueDefFontWeightnullExprRef(VegaLiteSchema): - """ConditionalPredicateValueDefFontWeightnullExprRef schema wrapper - - :class:`ConditionalPredicateValueDefFontWeightnullExprRef`, Dict[required=[expr, test]], - Dict[required=[test, value]] - """ + """ConditionalPredicateValueDefFontWeightnullExprRef schema wrapper""" _schema = { "$ref": "#/definitions/ConditionalPredicate<(ValueDef<(FontWeight|null)>|ExprRef)>" @@ -8891,11 +7842,7 @@ def __init__(self, *args, **kwds): class ConditionalPredicateValueDefTextBaselinenullExprRef(VegaLiteSchema): - """ConditionalPredicateValueDefTextBaselinenullExprRef schema wrapper - - :class:`ConditionalPredicateValueDefTextBaselinenullExprRef`, Dict[required=[expr, test]], - Dict[required=[test, value]] - """ + """ConditionalPredicateValueDefTextBaselinenullExprRef schema wrapper""" _schema = { "$ref": "#/definitions/ConditionalPredicate<(ValueDef<(TextBaseline|null)>|ExprRef)>" @@ -8908,11 +7855,7 @@ def __init__(self, *args, **kwds): class ConditionalPredicateValueDefnumberArraynullExprRef(VegaLiteSchema): - """ConditionalPredicateValueDefnumberArraynullExprRef schema wrapper - - :class:`ConditionalPredicateValueDefnumberArraynullExprRef`, Dict[required=[expr, test]], - Dict[required=[test, value]] - """ + """ConditionalPredicateValueDefnumberArraynullExprRef schema wrapper""" _schema = { "$ref": "#/definitions/ConditionalPredicate<(ValueDef<(number[]|null)>|ExprRef)>" @@ -8925,11 +7868,7 @@ def __init__(self, *args, **kwds): class ConditionalPredicateValueDefnumbernullExprRef(VegaLiteSchema): - """ConditionalPredicateValueDefnumbernullExprRef schema wrapper - - :class:`ConditionalPredicateValueDefnumbernullExprRef`, Dict[required=[expr, test]], - Dict[required=[test, value]] - """ + """ConditionalPredicateValueDefnumbernullExprRef schema wrapper""" _schema = { "$ref": "#/definitions/ConditionalPredicate<(ValueDef<(number|null)>|ExprRef)>" @@ -8942,12 +7881,7 @@ def __init__(self, *args, **kwds): class ConditionalStringFieldDef(VegaLiteSchema): - """ConditionalStringFieldDef schema wrapper - - :class:`ConditionalParameterStringFieldDef`, Dict[required=[param]], - :class:`ConditionalPredicateStringFieldDef`, Dict[required=[test]], - :class:`ConditionalStringFieldDef` - """ + """ConditionalStringFieldDef schema wrapper""" _schema = {"$ref": "#/definitions/ConditionalStringFieldDef"} @@ -8958,14 +7892,12 @@ def __init__(self, *args, **kwds): class ConditionalParameterStringFieldDef(ConditionalStringFieldDef): """ConditionalParameterStringFieldDef schema wrapper - :class:`ConditionalParameterStringFieldDef`, Dict[required=[param]] - Parameters ---------- - param : :class:`ParameterName`, str + param : str, :class:`ParameterName` Filter using a parameter name. - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -8977,7 +7909,7 @@ class ConditionalParameterStringFieldDef(ConditionalStringFieldDef): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool, str + bin : str, bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -9001,7 +7933,7 @@ class ConditionalParameterStringFieldDef(ConditionalStringFieldDef): empty : bool For selection parameters, the predicate of empty selections returns true by default. Override this behavior, by setting this property ``empty: false``. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -9016,7 +7948,7 @@ class ConditionalParameterStringFieldDef(ConditionalStringFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - format : :class:`Dict`, Dict, str + format : str, dict, :class:`Dict` When used with the default ``"number"`` and ``"time"`` format type, the text formatting pattern for labels of guides (axes, legends, headers) and text marks. @@ -9050,7 +7982,7 @@ class ConditionalParameterStringFieldDef(ConditionalStringFieldDef): * ``"time"`` for temporal fields and ordinal and nominal fields with ``timeUnit``. * ``"number"`` for quantitative fields as well as ordinal and nominal fields without ``timeUnit``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -9059,7 +7991,7 @@ class ConditionalParameterStringFieldDef(ConditionalStringFieldDef): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -9154,210 +8086,170 @@ class ConditionalParameterStringFieldDef(ConditionalStringFieldDef): def __init__( self, - param: Union[Union["ParameterName", str], UndefinedType] = Undefined, + param: Union[str, "SchemaBase", UndefinedType] = Undefined, aggregate: Union[ - Union[ - "Aggregate", - Union["ArgmaxDef", dict], - Union["ArgminDef", dict], - Union[ - "NonArgAggregateOp", - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - ], + dict, + "SchemaBase", + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union["BinParams", dict], bool, str], UndefinedType - ] = Undefined, + bin: Union[str, bool, dict, None, "SchemaBase", UndefinedType] = Undefined, empty: Union[bool, UndefinedType] = Undefined, - field: Union[ - Union["Field", Union["FieldName", str], Union["RepeatRef", dict]], - UndefinedType, - ] = Undefined, - format: Union[Union[Union["Dict", dict], str], UndefinedType] = Undefined, + field: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, + format: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - "BinnedTimeUnit", - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - ], - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], - ], - Union["TimeUnitParams", dict], - ], - UndefinedType, - ] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType - ] = Undefined, + dict, + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", + ], + UndefinedType, + ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, type: Union[ - Union[ - "StandardType", - Literal["quantitative", "ordinal", "temporal", "nominal"], - ], + "SchemaBase", + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -9381,14 +8273,12 @@ def __init__( class ConditionalPredicateStringFieldDef(ConditionalStringFieldDef): """ConditionalPredicateStringFieldDef schema wrapper - :class:`ConditionalPredicateStringFieldDef`, Dict[required=[test]] - Parameters ---------- - test : :class:`FieldEqualPredicate`, Dict[required=[equal, field]], :class:`FieldGTEPredicate`, Dict[required=[field, gte]], :class:`FieldGTPredicate`, Dict[required=[field, gt]], :class:`FieldLTEPredicate`, Dict[required=[field, lte]], :class:`FieldLTPredicate`, Dict[required=[field, lt]], :class:`FieldOneOfPredicate`, Dict[required=[field, oneOf]], :class:`FieldRangePredicate`, Dict[required=[field, range]], :class:`FieldValidPredicate`, Dict[required=[field, valid]], :class:`ParameterPredicate`, Dict[required=[param]], :class:`Predicate`, str, :class:`LogicalAndPredicate`, Dict[required=[and]], :class:`LogicalNotPredicate`, Dict[required=[not]], :class:`LogicalOrPredicate`, Dict[required=[or]], :class:`PredicateComposition` + test : str, dict, :class:`Predicate`, :class:`FieldGTPredicate`, :class:`FieldLTPredicate`, :class:`FieldGTEPredicate`, :class:`FieldLTEPredicate`, :class:`LogicalOrPredicate`, :class:`ParameterPredicate`, :class:`FieldEqualPredicate`, :class:`FieldOneOfPredicate`, :class:`FieldRangePredicate`, :class:`FieldValidPredicate`, :class:`LogicalAndPredicate`, :class:`LogicalNotPredicate`, :class:`PredicateComposition` Predicate for triggering the condition - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -9400,7 +8290,7 @@ class ConditionalPredicateStringFieldDef(ConditionalStringFieldDef): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool, str + bin : str, bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -9421,7 +8311,7 @@ class ConditionalPredicateStringFieldDef(ConditionalStringFieldDef): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -9436,7 +8326,7 @@ class ConditionalPredicateStringFieldDef(ConditionalStringFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - format : :class:`Dict`, Dict, str + format : str, dict, :class:`Dict` When used with the default ``"number"`` and ``"time"`` format type, the text formatting pattern for labels of guides (axes, legends, headers) and text marks. @@ -9470,7 +8360,7 @@ class ConditionalPredicateStringFieldDef(ConditionalStringFieldDef): * ``"time"`` for temporal fields and ordinal and nominal fields with ``timeUnit``. * ``"number"`` for quantitative fields as well as ordinal and nominal fields without ``timeUnit``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -9479,7 +8369,7 @@ class ConditionalPredicateStringFieldDef(ConditionalStringFieldDef): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -9574,230 +8464,169 @@ class ConditionalPredicateStringFieldDef(ConditionalStringFieldDef): def __init__( self, - test: Union[ - Union[ - "PredicateComposition", - Union["LogicalAndPredicate", dict], - Union["LogicalNotPredicate", dict], - Union["LogicalOrPredicate", dict], - Union[ - "Predicate", - Union["FieldEqualPredicate", dict], - Union["FieldGTEPredicate", dict], - Union["FieldGTPredicate", dict], - Union["FieldLTEPredicate", dict], - Union["FieldLTPredicate", dict], - Union["FieldOneOfPredicate", dict], - Union["FieldRangePredicate", dict], - Union["FieldValidPredicate", dict], - Union["ParameterPredicate", dict], - str, - ], - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, aggregate: Union[ - Union[ - "Aggregate", - Union["ArgmaxDef", dict], - Union["ArgminDef", dict], - Union[ - "NonArgAggregateOp", - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - ], + dict, + "SchemaBase", + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union["BinParams", dict], bool, str], UndefinedType - ] = Undefined, - field: Union[ - Union["Field", Union["FieldName", str], Union["RepeatRef", dict]], - UndefinedType, - ] = Undefined, - format: Union[Union[Union["Dict", dict], str], UndefinedType] = Undefined, + bin: Union[str, bool, dict, None, "SchemaBase", UndefinedType] = Undefined, + field: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, + format: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - "BinnedTimeUnit", - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - ], - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], - ], - Union["TimeUnitParams", dict], - ], - UndefinedType, - ] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType - ] = Undefined, + dict, + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", + ], + UndefinedType, + ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, type: Union[ - Union[ - "StandardType", - Literal["quantitative", "ordinal", "temporal", "nominal"], - ], + "SchemaBase", + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -9818,12 +8647,7 @@ def __init__( class ConditionalValueDefGradientstringnullExprRef(VegaLiteSchema): - """ConditionalValueDefGradientstringnullExprRef schema wrapper - - :class:`ConditionalParameterValueDefGradientstringnullExprRef`, Dict[required=[param, - value]], :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, - Dict[required=[test, value]], :class:`ConditionalValueDefGradientstringnullExprRef` - """ + """ConditionalValueDefGradientstringnullExprRef schema wrapper""" _schema = { "$ref": "#/definitions/ConditionalValueDef<(Gradient|string|null|ExprRef)>" @@ -9840,15 +8664,12 @@ class ConditionalParameterValueDefGradientstringnullExprRef( ): """ConditionalParameterValueDefGradientstringnullExprRef schema wrapper - :class:`ConditionalParameterValueDefGradientstringnullExprRef`, Dict[required=[param, - value]] - Parameters ---------- - param : :class:`ParameterName`, str + param : str, :class:`ParameterName` Filter using a parameter name. - value : :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]], None, str + value : str, dict, None, :class:`ExprRef`, :class:`Gradient`, :class:`LinearGradient`, :class:`RadialGradient` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -9863,19 +8684,9 @@ class ConditionalParameterValueDefGradientstringnullExprRef( def __init__( self, - param: Union[Union["ParameterName", str], UndefinedType] = Undefined, + param: Union[str, "SchemaBase", UndefinedType] = Undefined, value: Union[ - Union[ - None, - Union["ExprRef", "_Parameter", dict], - Union[ - "Gradient", - Union["LinearGradient", dict], - Union["RadialGradient", dict], - ], - str, - ], - UndefinedType, + str, dict, None, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, empty: Union[bool, UndefinedType] = Undefined, **kwds, @@ -9890,14 +8701,12 @@ class ConditionalPredicateValueDefGradientstringnullExprRef( ): """ConditionalPredicateValueDefGradientstringnullExprRef schema wrapper - :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Dict[required=[test, value]] - Parameters ---------- - test : :class:`FieldEqualPredicate`, Dict[required=[equal, field]], :class:`FieldGTEPredicate`, Dict[required=[field, gte]], :class:`FieldGTPredicate`, Dict[required=[field, gt]], :class:`FieldLTEPredicate`, Dict[required=[field, lte]], :class:`FieldLTPredicate`, Dict[required=[field, lt]], :class:`FieldOneOfPredicate`, Dict[required=[field, oneOf]], :class:`FieldRangePredicate`, Dict[required=[field, range]], :class:`FieldValidPredicate`, Dict[required=[field, valid]], :class:`ParameterPredicate`, Dict[required=[param]], :class:`Predicate`, str, :class:`LogicalAndPredicate`, Dict[required=[and]], :class:`LogicalNotPredicate`, Dict[required=[not]], :class:`LogicalOrPredicate`, Dict[required=[or]], :class:`PredicateComposition` + test : str, dict, :class:`Predicate`, :class:`FieldGTPredicate`, :class:`FieldLTPredicate`, :class:`FieldGTEPredicate`, :class:`FieldLTEPredicate`, :class:`LogicalOrPredicate`, :class:`ParameterPredicate`, :class:`FieldEqualPredicate`, :class:`FieldOneOfPredicate`, :class:`FieldRangePredicate`, :class:`FieldValidPredicate`, :class:`LogicalAndPredicate`, :class:`LogicalNotPredicate`, :class:`PredicateComposition` Predicate for triggering the condition - value : :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]], None, str + value : str, dict, None, :class:`ExprRef`, :class:`Gradient`, :class:`LinearGradient`, :class:`RadialGradient` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -9909,40 +8718,9 @@ class ConditionalPredicateValueDefGradientstringnullExprRef( def __init__( self, - test: Union[ - Union[ - "PredicateComposition", - Union["LogicalAndPredicate", dict], - Union["LogicalNotPredicate", dict], - Union["LogicalOrPredicate", dict], - Union[ - "Predicate", - Union["FieldEqualPredicate", dict], - Union["FieldGTEPredicate", dict], - Union["FieldGTPredicate", dict], - Union["FieldLTEPredicate", dict], - Union["FieldLTPredicate", dict], - Union["FieldOneOfPredicate", dict], - Union["FieldRangePredicate", dict], - Union["FieldValidPredicate", dict], - Union["ParameterPredicate", dict], - str, - ], - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, value: Union[ - Union[ - None, - Union["ExprRef", "_Parameter", dict], - Union[ - "Gradient", - Union["LinearGradient", dict], - Union["RadialGradient", dict], - ], - str, - ], - UndefinedType, + str, dict, None, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, **kwds, ): @@ -9952,12 +8730,7 @@ def __init__( class ConditionalValueDefTextExprRef(VegaLiteSchema): - """ConditionalValueDefTextExprRef schema wrapper - - :class:`ConditionalParameterValueDefTextExprRef`, Dict[required=[param, value]], - :class:`ConditionalPredicateValueDefTextExprRef`, Dict[required=[test, value]], - :class:`ConditionalValueDefTextExprRef` - """ + """ConditionalValueDefTextExprRef schema wrapper""" _schema = {"$ref": "#/definitions/ConditionalValueDef<(Text|ExprRef)>"} @@ -9968,14 +8741,12 @@ def __init__(self, *args, **kwds): class ConditionalParameterValueDefTextExprRef(ConditionalValueDefTextExprRef): """ConditionalParameterValueDefTextExprRef schema wrapper - :class:`ConditionalParameterValueDefTextExprRef`, Dict[required=[param, value]] - Parameters ---------- - param : :class:`ParameterName`, str + param : str, :class:`ParameterName` Filter using a parameter name. - value : :class:`ExprRef`, Dict[required=[expr]], :class:`Text`, Sequence[str], str + value : str, dict, :class:`Text`, Sequence[str], :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -9988,12 +8759,9 @@ class ConditionalParameterValueDefTextExprRef(ConditionalValueDefTextExprRef): def __init__( self, - param: Union[Union["ParameterName", str], UndefinedType] = Undefined, + param: Union[str, "SchemaBase", UndefinedType] = Undefined, value: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], Union["Text", Sequence[str], str] - ], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", Sequence[str], UndefinedType ] = Undefined, empty: Union[bool, UndefinedType] = Undefined, **kwds, @@ -10006,14 +8774,12 @@ def __init__( class ConditionalPredicateValueDefTextExprRef(ConditionalValueDefTextExprRef): """ConditionalPredicateValueDefTextExprRef schema wrapper - :class:`ConditionalPredicateValueDefTextExprRef`, Dict[required=[test, value]] - Parameters ---------- - test : :class:`FieldEqualPredicate`, Dict[required=[equal, field]], :class:`FieldGTEPredicate`, Dict[required=[field, gte]], :class:`FieldGTPredicate`, Dict[required=[field, gt]], :class:`FieldLTEPredicate`, Dict[required=[field, lte]], :class:`FieldLTPredicate`, Dict[required=[field, lt]], :class:`FieldOneOfPredicate`, Dict[required=[field, oneOf]], :class:`FieldRangePredicate`, Dict[required=[field, range]], :class:`FieldValidPredicate`, Dict[required=[field, valid]], :class:`ParameterPredicate`, Dict[required=[param]], :class:`Predicate`, str, :class:`LogicalAndPredicate`, Dict[required=[and]], :class:`LogicalNotPredicate`, Dict[required=[not]], :class:`LogicalOrPredicate`, Dict[required=[or]], :class:`PredicateComposition` + test : str, dict, :class:`Predicate`, :class:`FieldGTPredicate`, :class:`FieldLTPredicate`, :class:`FieldGTEPredicate`, :class:`FieldLTEPredicate`, :class:`LogicalOrPredicate`, :class:`ParameterPredicate`, :class:`FieldEqualPredicate`, :class:`FieldOneOfPredicate`, :class:`FieldRangePredicate`, :class:`FieldValidPredicate`, :class:`LogicalAndPredicate`, :class:`LogicalNotPredicate`, :class:`PredicateComposition` Predicate for triggering the condition - value : :class:`ExprRef`, Dict[required=[expr]], :class:`Text`, Sequence[str], str + value : str, dict, :class:`Text`, Sequence[str], :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -10023,33 +8789,9 @@ class ConditionalPredicateValueDefTextExprRef(ConditionalValueDefTextExprRef): def __init__( self, - test: Union[ - Union[ - "PredicateComposition", - Union["LogicalAndPredicate", dict], - Union["LogicalNotPredicate", dict], - Union["LogicalOrPredicate", dict], - Union[ - "Predicate", - Union["FieldEqualPredicate", dict], - Union["FieldGTEPredicate", dict], - Union["FieldGTPredicate", dict], - Union["FieldLTEPredicate", dict], - Union["FieldLTPredicate", dict], - Union["FieldOneOfPredicate", dict], - Union["FieldRangePredicate", dict], - Union["FieldValidPredicate", dict], - Union["ParameterPredicate", dict], - str, - ], - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, value: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], Union["Text", Sequence[str], str] - ], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", Sequence[str], UndefinedType ] = Undefined, **kwds, ): @@ -10059,12 +8801,7 @@ def __init__( class ConditionalValueDefnumber(VegaLiteSchema): - """ConditionalValueDefnumber schema wrapper - - :class:`ConditionalParameterValueDefnumber`, Dict[required=[param, value]], - :class:`ConditionalPredicateValueDefnumber`, Dict[required=[test, value]], - :class:`ConditionalValueDefnumber` - """ + """ConditionalValueDefnumber schema wrapper""" _schema = {"$ref": "#/definitions/ConditionalValueDef"} @@ -10075,12 +8812,10 @@ def __init__(self, *args, **kwds): class ConditionalParameterValueDefnumber(ConditionalValueDefnumber): """ConditionalParameterValueDefnumber schema wrapper - :class:`ConditionalParameterValueDefnumber`, Dict[required=[param, value]] - Parameters ---------- - param : :class:`ParameterName`, str + param : str, :class:`ParameterName` Filter using a parameter name. value : float A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient @@ -10095,7 +8830,7 @@ class ConditionalParameterValueDefnumber(ConditionalValueDefnumber): def __init__( self, - param: Union[Union["ParameterName", str], UndefinedType] = Undefined, + param: Union[str, "SchemaBase", UndefinedType] = Undefined, value: Union[float, UndefinedType] = Undefined, empty: Union[bool, UndefinedType] = Undefined, **kwds, @@ -10108,12 +8843,10 @@ def __init__( class ConditionalPredicateValueDefnumber(ConditionalValueDefnumber): """ConditionalPredicateValueDefnumber schema wrapper - :class:`ConditionalPredicateValueDefnumber`, Dict[required=[test, value]] - Parameters ---------- - test : :class:`FieldEqualPredicate`, Dict[required=[equal, field]], :class:`FieldGTEPredicate`, Dict[required=[field, gte]], :class:`FieldGTPredicate`, Dict[required=[field, gt]], :class:`FieldLTEPredicate`, Dict[required=[field, lte]], :class:`FieldLTPredicate`, Dict[required=[field, lt]], :class:`FieldOneOfPredicate`, Dict[required=[field, oneOf]], :class:`FieldRangePredicate`, Dict[required=[field, range]], :class:`FieldValidPredicate`, Dict[required=[field, valid]], :class:`ParameterPredicate`, Dict[required=[param]], :class:`Predicate`, str, :class:`LogicalAndPredicate`, Dict[required=[and]], :class:`LogicalNotPredicate`, Dict[required=[not]], :class:`LogicalOrPredicate`, Dict[required=[or]], :class:`PredicateComposition` + test : str, dict, :class:`Predicate`, :class:`FieldGTPredicate`, :class:`FieldLTPredicate`, :class:`FieldGTEPredicate`, :class:`FieldLTEPredicate`, :class:`LogicalOrPredicate`, :class:`ParameterPredicate`, :class:`FieldEqualPredicate`, :class:`FieldOneOfPredicate`, :class:`FieldRangePredicate`, :class:`FieldValidPredicate`, :class:`LogicalAndPredicate`, :class:`LogicalNotPredicate`, :class:`PredicateComposition` Predicate for triggering the condition value : float A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient @@ -10125,28 +8858,7 @@ class ConditionalPredicateValueDefnumber(ConditionalValueDefnumber): def __init__( self, - test: Union[ - Union[ - "PredicateComposition", - Union["LogicalAndPredicate", dict], - Union["LogicalNotPredicate", dict], - Union["LogicalOrPredicate", dict], - Union[ - "Predicate", - Union["FieldEqualPredicate", dict], - Union["FieldGTEPredicate", dict], - Union["FieldGTPredicate", dict], - Union["FieldLTEPredicate", dict], - Union["FieldLTPredicate", dict], - Union["FieldOneOfPredicate", dict], - Union["FieldRangePredicate", dict], - Union["FieldValidPredicate", dict], - Union["ParameterPredicate", dict], - str, - ], - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, value: Union[float, UndefinedType] = Undefined, **kwds, ): @@ -10156,12 +8868,7 @@ def __init__( class ConditionalValueDefnumberArrayExprRef(VegaLiteSchema): - """ConditionalValueDefnumberArrayExprRef schema wrapper - - :class:`ConditionalParameterValueDefnumberArrayExprRef`, Dict[required=[param, value]], - :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Dict[required=[test, value]], - :class:`ConditionalValueDefnumberArrayExprRef` - """ + """ConditionalValueDefnumberArrayExprRef schema wrapper""" _schema = {"$ref": "#/definitions/ConditionalValueDef<(number[]|ExprRef)>"} @@ -10174,14 +8881,12 @@ class ConditionalParameterValueDefnumberArrayExprRef( ): """ConditionalParameterValueDefnumberArrayExprRef schema wrapper - :class:`ConditionalParameterValueDefnumberArrayExprRef`, Dict[required=[param, value]] - Parameters ---------- - param : :class:`ParameterName`, str + param : str, :class:`ParameterName` Filter using a parameter name. - value : :class:`ExprRef`, Dict[required=[expr]], Sequence[float] + value : dict, Sequence[float], :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -10196,9 +8901,9 @@ class ConditionalParameterValueDefnumberArrayExprRef( def __init__( self, - param: Union[Union["ParameterName", str], UndefinedType] = Undefined, + param: Union[str, "SchemaBase", UndefinedType] = Undefined, value: Union[ - Union[Sequence[float], Union["ExprRef", "_Parameter", dict]], UndefinedType + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, empty: Union[bool, UndefinedType] = Undefined, **kwds, @@ -10213,14 +8918,12 @@ class ConditionalPredicateValueDefnumberArrayExprRef( ): """ConditionalPredicateValueDefnumberArrayExprRef schema wrapper - :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Dict[required=[test, value]] - Parameters ---------- - test : :class:`FieldEqualPredicate`, Dict[required=[equal, field]], :class:`FieldGTEPredicate`, Dict[required=[field, gte]], :class:`FieldGTPredicate`, Dict[required=[field, gt]], :class:`FieldLTEPredicate`, Dict[required=[field, lte]], :class:`FieldLTPredicate`, Dict[required=[field, lt]], :class:`FieldOneOfPredicate`, Dict[required=[field, oneOf]], :class:`FieldRangePredicate`, Dict[required=[field, range]], :class:`FieldValidPredicate`, Dict[required=[field, valid]], :class:`ParameterPredicate`, Dict[required=[param]], :class:`Predicate`, str, :class:`LogicalAndPredicate`, Dict[required=[and]], :class:`LogicalNotPredicate`, Dict[required=[not]], :class:`LogicalOrPredicate`, Dict[required=[or]], :class:`PredicateComposition` + test : str, dict, :class:`Predicate`, :class:`FieldGTPredicate`, :class:`FieldLTPredicate`, :class:`FieldGTEPredicate`, :class:`FieldLTEPredicate`, :class:`LogicalOrPredicate`, :class:`ParameterPredicate`, :class:`FieldEqualPredicate`, :class:`FieldOneOfPredicate`, :class:`FieldRangePredicate`, :class:`FieldValidPredicate`, :class:`LogicalAndPredicate`, :class:`LogicalNotPredicate`, :class:`PredicateComposition` Predicate for triggering the condition - value : :class:`ExprRef`, Dict[required=[expr]], Sequence[float] + value : dict, Sequence[float], :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -10232,30 +8935,9 @@ class ConditionalPredicateValueDefnumberArrayExprRef( def __init__( self, - test: Union[ - Union[ - "PredicateComposition", - Union["LogicalAndPredicate", dict], - Union["LogicalNotPredicate", dict], - Union["LogicalOrPredicate", dict], - Union[ - "Predicate", - Union["FieldEqualPredicate", dict], - Union["FieldGTEPredicate", dict], - Union["FieldGTPredicate", dict], - Union["FieldLTEPredicate", dict], - Union["FieldLTPredicate", dict], - Union["FieldOneOfPredicate", dict], - Union["FieldRangePredicate", dict], - Union["FieldValidPredicate", dict], - Union["ParameterPredicate", dict], - str, - ], - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, value: Union[ - Union[Sequence[float], Union["ExprRef", "_Parameter", dict]], UndefinedType + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, **kwds, ): @@ -10265,12 +8947,7 @@ def __init__( class ConditionalValueDefnumberExprRef(VegaLiteSchema): - """ConditionalValueDefnumberExprRef schema wrapper - - :class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], - :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], - :class:`ConditionalValueDefnumberExprRef` - """ + """ConditionalValueDefnumberExprRef schema wrapper""" _schema = {"$ref": "#/definitions/ConditionalValueDef<(number|ExprRef)>"} @@ -10281,14 +8958,12 @@ def __init__(self, *args, **kwds): class ConditionalParameterValueDefnumberExprRef(ConditionalValueDefnumberExprRef): """ConditionalParameterValueDefnumberExprRef schema wrapper - :class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]] - Parameters ---------- - param : :class:`ParameterName`, str + param : str, :class:`ParameterName` Filter using a parameter name. - value : :class:`ExprRef`, Dict[required=[expr]], float + value : dict, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -10301,9 +8976,9 @@ class ConditionalParameterValueDefnumberExprRef(ConditionalValueDefnumberExprRef def __init__( self, - param: Union[Union["ParameterName", str], UndefinedType] = Undefined, + param: Union[str, "SchemaBase", UndefinedType] = Undefined, value: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, empty: Union[bool, UndefinedType] = Undefined, **kwds, @@ -10316,14 +8991,12 @@ def __init__( class ConditionalPredicateValueDefnumberExprRef(ConditionalValueDefnumberExprRef): """ConditionalPredicateValueDefnumberExprRef schema wrapper - :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]] - Parameters ---------- - test : :class:`FieldEqualPredicate`, Dict[required=[equal, field]], :class:`FieldGTEPredicate`, Dict[required=[field, gte]], :class:`FieldGTPredicate`, Dict[required=[field, gt]], :class:`FieldLTEPredicate`, Dict[required=[field, lte]], :class:`FieldLTPredicate`, Dict[required=[field, lt]], :class:`FieldOneOfPredicate`, Dict[required=[field, oneOf]], :class:`FieldRangePredicate`, Dict[required=[field, range]], :class:`FieldValidPredicate`, Dict[required=[field, valid]], :class:`ParameterPredicate`, Dict[required=[param]], :class:`Predicate`, str, :class:`LogicalAndPredicate`, Dict[required=[and]], :class:`LogicalNotPredicate`, Dict[required=[not]], :class:`LogicalOrPredicate`, Dict[required=[or]], :class:`PredicateComposition` + test : str, dict, :class:`Predicate`, :class:`FieldGTPredicate`, :class:`FieldLTPredicate`, :class:`FieldGTEPredicate`, :class:`FieldLTEPredicate`, :class:`LogicalOrPredicate`, :class:`ParameterPredicate`, :class:`FieldEqualPredicate`, :class:`FieldOneOfPredicate`, :class:`FieldRangePredicate`, :class:`FieldValidPredicate`, :class:`LogicalAndPredicate`, :class:`LogicalNotPredicate`, :class:`PredicateComposition` Predicate for triggering the condition - value : :class:`ExprRef`, Dict[required=[expr]], float + value : dict, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -10333,30 +9006,9 @@ class ConditionalPredicateValueDefnumberExprRef(ConditionalValueDefnumberExprRef def __init__( self, - test: Union[ - Union[ - "PredicateComposition", - Union["LogicalAndPredicate", dict], - Union["LogicalNotPredicate", dict], - Union["LogicalOrPredicate", dict], - Union[ - "Predicate", - Union["FieldEqualPredicate", dict], - Union["FieldGTEPredicate", dict], - Union["FieldGTPredicate", dict], - Union["FieldLTEPredicate", dict], - Union["FieldLTPredicate", dict], - Union["FieldOneOfPredicate", dict], - Union["FieldRangePredicate", dict], - Union["FieldValidPredicate", dict], - Union["ParameterPredicate", dict], - str, - ], - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, value: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, **kwds, ): @@ -10366,12 +9018,7 @@ def __init__( class ConditionalValueDefstringExprRef(VegaLiteSchema): - """ConditionalValueDefstringExprRef schema wrapper - - :class:`ConditionalParameterValueDefstringExprRef`, Dict[required=[param, value]], - :class:`ConditionalPredicateValueDefstringExprRef`, Dict[required=[test, value]], - :class:`ConditionalValueDefstringExprRef` - """ + """ConditionalValueDefstringExprRef schema wrapper""" _schema = {"$ref": "#/definitions/ConditionalValueDef<(string|ExprRef)>"} @@ -10382,14 +9029,12 @@ def __init__(self, *args, **kwds): class ConditionalParameterValueDefstringExprRef(ConditionalValueDefstringExprRef): """ConditionalParameterValueDefstringExprRef schema wrapper - :class:`ConditionalParameterValueDefstringExprRef`, Dict[required=[param, value]] - Parameters ---------- - param : :class:`ParameterName`, str + param : str, :class:`ParameterName` Filter using a parameter name. - value : :class:`ExprRef`, Dict[required=[expr]], str + value : str, dict, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -10402,10 +9047,8 @@ class ConditionalParameterValueDefstringExprRef(ConditionalValueDefstringExprRef def __init__( self, - param: Union[Union["ParameterName", str], UndefinedType] = Undefined, - value: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType - ] = Undefined, + param: Union[str, "SchemaBase", UndefinedType] = Undefined, + value: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, empty: Union[bool, UndefinedType] = Undefined, **kwds, ): @@ -10417,14 +9060,12 @@ def __init__( class ConditionalPredicateValueDefstringExprRef(ConditionalValueDefstringExprRef): """ConditionalPredicateValueDefstringExprRef schema wrapper - :class:`ConditionalPredicateValueDefstringExprRef`, Dict[required=[test, value]] - Parameters ---------- - test : :class:`FieldEqualPredicate`, Dict[required=[equal, field]], :class:`FieldGTEPredicate`, Dict[required=[field, gte]], :class:`FieldGTPredicate`, Dict[required=[field, gt]], :class:`FieldLTEPredicate`, Dict[required=[field, lte]], :class:`FieldLTPredicate`, Dict[required=[field, lt]], :class:`FieldOneOfPredicate`, Dict[required=[field, oneOf]], :class:`FieldRangePredicate`, Dict[required=[field, range]], :class:`FieldValidPredicate`, Dict[required=[field, valid]], :class:`ParameterPredicate`, Dict[required=[param]], :class:`Predicate`, str, :class:`LogicalAndPredicate`, Dict[required=[and]], :class:`LogicalNotPredicate`, Dict[required=[not]], :class:`LogicalOrPredicate`, Dict[required=[or]], :class:`PredicateComposition` + test : str, dict, :class:`Predicate`, :class:`FieldGTPredicate`, :class:`FieldLTPredicate`, :class:`FieldGTEPredicate`, :class:`FieldLTEPredicate`, :class:`LogicalOrPredicate`, :class:`ParameterPredicate`, :class:`FieldEqualPredicate`, :class:`FieldOneOfPredicate`, :class:`FieldRangePredicate`, :class:`FieldValidPredicate`, :class:`LogicalAndPredicate`, :class:`LogicalNotPredicate`, :class:`PredicateComposition` Predicate for triggering the condition - value : :class:`ExprRef`, Dict[required=[expr]], str + value : str, dict, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -10434,31 +9075,8 @@ class ConditionalPredicateValueDefstringExprRef(ConditionalValueDefstringExprRef def __init__( self, - test: Union[ - Union[ - "PredicateComposition", - Union["LogicalAndPredicate", dict], - Union["LogicalNotPredicate", dict], - Union["LogicalOrPredicate", dict], - Union[ - "Predicate", - Union["FieldEqualPredicate", dict], - Union["FieldGTEPredicate", dict], - Union["FieldGTPredicate", dict], - Union["FieldLTEPredicate", dict], - Union["FieldLTPredicate", dict], - Union["FieldOneOfPredicate", dict], - Union["FieldRangePredicate", dict], - Union["FieldValidPredicate", dict], - Union["ParameterPredicate", dict], - str, - ], - ], - UndefinedType, - ] = Undefined, - value: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType - ] = Undefined, + test: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, + value: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, **kwds, ): super(ConditionalPredicateValueDefstringExprRef, self).__init__( @@ -10467,12 +9085,7 @@ def __init__( class ConditionalValueDefstringnullExprRef(VegaLiteSchema): - """ConditionalValueDefstringnullExprRef schema wrapper - - :class:`ConditionalParameterValueDefstringnullExprRef`, Dict[required=[param, value]], - :class:`ConditionalPredicateValueDefstringnullExprRef`, Dict[required=[test, value]], - :class:`ConditionalValueDefstringnullExprRef` - """ + """ConditionalValueDefstringnullExprRef schema wrapper""" _schema = {"$ref": "#/definitions/ConditionalValueDef<(string|null|ExprRef)>"} @@ -10485,14 +9098,12 @@ class ConditionalParameterValueDefstringnullExprRef( ): """ConditionalParameterValueDefstringnullExprRef schema wrapper - :class:`ConditionalParameterValueDefstringnullExprRef`, Dict[required=[param, value]] - Parameters ---------- - param : :class:`ParameterName`, str + param : str, :class:`ParameterName` Filter using a parameter name. - value : :class:`ExprRef`, Dict[required=[expr]], None, str + value : str, dict, None, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -10507,9 +9118,9 @@ class ConditionalParameterValueDefstringnullExprRef( def __init__( self, - param: Union[Union["ParameterName", str], UndefinedType] = Undefined, + param: Union[str, "SchemaBase", UndefinedType] = Undefined, value: Union[ - Union[None, Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, None, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, empty: Union[bool, UndefinedType] = Undefined, **kwds, @@ -10524,14 +9135,12 @@ class ConditionalPredicateValueDefstringnullExprRef( ): """ConditionalPredicateValueDefstringnullExprRef schema wrapper - :class:`ConditionalPredicateValueDefstringnullExprRef`, Dict[required=[test, value]] - Parameters ---------- - test : :class:`FieldEqualPredicate`, Dict[required=[equal, field]], :class:`FieldGTEPredicate`, Dict[required=[field, gte]], :class:`FieldGTPredicate`, Dict[required=[field, gt]], :class:`FieldLTEPredicate`, Dict[required=[field, lte]], :class:`FieldLTPredicate`, Dict[required=[field, lt]], :class:`FieldOneOfPredicate`, Dict[required=[field, oneOf]], :class:`FieldRangePredicate`, Dict[required=[field, range]], :class:`FieldValidPredicate`, Dict[required=[field, valid]], :class:`ParameterPredicate`, Dict[required=[param]], :class:`Predicate`, str, :class:`LogicalAndPredicate`, Dict[required=[and]], :class:`LogicalNotPredicate`, Dict[required=[not]], :class:`LogicalOrPredicate`, Dict[required=[or]], :class:`PredicateComposition` + test : str, dict, :class:`Predicate`, :class:`FieldGTPredicate`, :class:`FieldLTPredicate`, :class:`FieldGTEPredicate`, :class:`FieldLTEPredicate`, :class:`LogicalOrPredicate`, :class:`ParameterPredicate`, :class:`FieldEqualPredicate`, :class:`FieldOneOfPredicate`, :class:`FieldRangePredicate`, :class:`FieldValidPredicate`, :class:`LogicalAndPredicate`, :class:`LogicalNotPredicate`, :class:`PredicateComposition` Predicate for triggering the condition - value : :class:`ExprRef`, Dict[required=[expr]], None, str + value : str, dict, None, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -10543,30 +9152,9 @@ class ConditionalPredicateValueDefstringnullExprRef( def __init__( self, - test: Union[ - Union[ - "PredicateComposition", - Union["LogicalAndPredicate", dict], - Union["LogicalNotPredicate", dict], - Union["LogicalOrPredicate", dict], - Union[ - "Predicate", - Union["FieldEqualPredicate", dict], - Union["FieldGTEPredicate", dict], - Union["FieldGTPredicate", dict], - Union["FieldLTEPredicate", dict], - Union["FieldLTPredicate", dict], - Union["FieldOneOfPredicate", dict], - Union["FieldRangePredicate", dict], - Union["FieldValidPredicate", dict], - Union["ParameterPredicate", dict], - str, - ], - ], - UndefinedType, - ] = Undefined, + test: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, value: Union[ - Union[None, Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, None, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, **kwds, ): @@ -10578,14 +9166,12 @@ def __init__( class Config(VegaLiteSchema): """Config schema wrapper - :class:`Config`, Dict - Parameters ---------- - arc : :class:`RectConfig`, Dict + arc : dict, :class:`RectConfig` Arc-specific Config - area : :class:`AreaConfig`, Dict + area : dict, :class:`AreaConfig` Area-Specific Config aria : bool A boolean flag indicating if ARIA default attributes should be included for marks @@ -10594,70 +9180,70 @@ class Config(VegaLiteSchema): not generate default descriptions for marks. **Default value:** ``true``. - autosize : :class:`AutoSizeParams`, Dict, :class:`AutosizeType`, Literal['pad', 'none', 'fit', 'fit-x', 'fit-y'] + autosize : dict, :class:`AutosizeType`, :class:`AutoSizeParams`, Literal['pad', 'none', 'fit', 'fit-x', 'fit-y'] How the visualization size should be determined. If a string, should be one of ``"pad"``, ``"fit"`` or ``"none"``. Object values can additionally specify parameters for content sizing and automatic resizing. **Default value** : ``pad`` - axis : :class:`AxisConfig`, Dict + axis : dict, :class:`AxisConfig` Axis configuration, which determines default properties for all ``x`` and ``y`` `axes `__. For a full list of axis configuration options, please see the `corresponding section of the axis documentation `__. - axisBand : :class:`AxisConfig`, Dict + axisBand : dict, :class:`AxisConfig` Config for axes with "band" scales. - axisBottom : :class:`AxisConfig`, Dict + axisBottom : dict, :class:`AxisConfig` Config for x-axis along the bottom edge of the chart. - axisDiscrete : :class:`AxisConfig`, Dict + axisDiscrete : dict, :class:`AxisConfig` Config for axes with "point" or "band" scales. - axisLeft : :class:`AxisConfig`, Dict + axisLeft : dict, :class:`AxisConfig` Config for y-axis along the left edge of the chart. - axisPoint : :class:`AxisConfig`, Dict + axisPoint : dict, :class:`AxisConfig` Config for axes with "point" scales. - axisQuantitative : :class:`AxisConfig`, Dict + axisQuantitative : dict, :class:`AxisConfig` Config for quantitative axes. - axisRight : :class:`AxisConfig`, Dict + axisRight : dict, :class:`AxisConfig` Config for y-axis along the right edge of the chart. - axisTemporal : :class:`AxisConfig`, Dict + axisTemporal : dict, :class:`AxisConfig` Config for temporal axes. - axisTop : :class:`AxisConfig`, Dict + axisTop : dict, :class:`AxisConfig` Config for x-axis along the top edge of the chart. - axisX : :class:`AxisConfig`, Dict + axisX : dict, :class:`AxisConfig` X-axis specific config. - axisXBand : :class:`AxisConfig`, Dict + axisXBand : dict, :class:`AxisConfig` Config for x-axes with "band" scales. - axisXDiscrete : :class:`AxisConfig`, Dict + axisXDiscrete : dict, :class:`AxisConfig` Config for x-axes with "point" or "band" scales. - axisXPoint : :class:`AxisConfig`, Dict + axisXPoint : dict, :class:`AxisConfig` Config for x-axes with "point" scales. - axisXQuantitative : :class:`AxisConfig`, Dict + axisXQuantitative : dict, :class:`AxisConfig` Config for x-quantitative axes. - axisXTemporal : :class:`AxisConfig`, Dict + axisXTemporal : dict, :class:`AxisConfig` Config for x-temporal axes. - axisY : :class:`AxisConfig`, Dict + axisY : dict, :class:`AxisConfig` Y-axis specific config. - axisYBand : :class:`AxisConfig`, Dict + axisYBand : dict, :class:`AxisConfig` Config for y-axes with "band" scales. - axisYDiscrete : :class:`AxisConfig`, Dict + axisYDiscrete : dict, :class:`AxisConfig` Config for y-axes with "point" or "band" scales. - axisYPoint : :class:`AxisConfig`, Dict + axisYPoint : dict, :class:`AxisConfig` Config for y-axes with "point" scales. - axisYQuantitative : :class:`AxisConfig`, Dict + axisYQuantitative : dict, :class:`AxisConfig` Config for y-quantitative axes. - axisYTemporal : :class:`AxisConfig`, Dict + axisYTemporal : dict, :class:`AxisConfig` Config for y-temporal axes. - background : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]] + background : str, dict, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] CSS color property to use as the background of the entire view. **Default value:** ``"white"`` - bar : :class:`BarConfig`, Dict + bar : dict, :class:`BarConfig` Bar-Specific Config - boxplot : :class:`BoxPlotConfig`, Dict + boxplot : dict, :class:`BoxPlotConfig` Box Config - circle : :class:`MarkConfig`, Dict + circle : dict, :class:`MarkConfig` Circle-Specific Config - concat : :class:`CompositionConfig`, Dict + concat : dict, :class:`CompositionConfig` Default configuration for all concatenation and repeat view composition operators ( ``concat``, ``hconcat``, ``vconcat``, and ``repeat`` ) countTitle : str @@ -10668,11 +9254,11 @@ class Config(VegaLiteSchema): Allow the ``formatType`` property for text marks and guides to accept a custom formatter function `registered as a Vega expression `__. - errorband : :class:`ErrorBandConfig`, Dict + errorband : dict, :class:`ErrorBandConfig` ErrorBand Config - errorbar : :class:`ErrorBarConfig`, Dict + errorbar : dict, :class:`ErrorBarConfig` ErrorBar Config - facet : :class:`CompositionConfig`, Dict + facet : dict, :class:`CompositionConfig` Default configuration for the ``facet`` view composition operator fieldTitle : Literal['verbal', 'functional', 'plain'] Defines how Vega-Lite generates title for fields. There are three possible styles: @@ -10686,58 +9272,58 @@ class Config(VegaLiteSchema): "date", "field"). font : str Default font for all text marks, titles, and labels. - geoshape : :class:`MarkConfig`, Dict + geoshape : dict, :class:`MarkConfig` Geoshape-Specific Config - header : :class:`HeaderConfig`, Dict + header : dict, :class:`HeaderConfig` Header configuration, which determines default properties for all `headers `__. For a full list of header configuration options, please see the `corresponding section of in the header documentation `__. - headerColumn : :class:`HeaderConfig`, Dict + headerColumn : dict, :class:`HeaderConfig` Header configuration, which determines default properties for column `headers `__. For a full list of header configuration options, please see the `corresponding section of in the header documentation `__. - headerFacet : :class:`HeaderConfig`, Dict + headerFacet : dict, :class:`HeaderConfig` Header configuration, which determines default properties for non-row/column facet `headers `__. For a full list of header configuration options, please see the `corresponding section of in the header documentation `__. - headerRow : :class:`HeaderConfig`, Dict + headerRow : dict, :class:`HeaderConfig` Header configuration, which determines default properties for row `headers `__. For a full list of header configuration options, please see the `corresponding section of in the header documentation `__. - image : :class:`RectConfig`, Dict + image : dict, :class:`RectConfig` Image-specific Config - legend : :class:`LegendConfig`, Dict + legend : dict, :class:`LegendConfig` Legend configuration, which determines default properties for all `legends `__. For a full list of legend configuration options, please see the `corresponding section of in the legend documentation `__. - line : :class:`LineConfig`, Dict + line : dict, :class:`LineConfig` Line-Specific Config - lineBreak : :class:`ExprRef`, Dict[required=[expr]], str + lineBreak : str, dict, :class:`ExprRef` A delimiter, such as a newline character, upon which to break text strings into multiple lines. This property provides a global default for text marks, which is overridden by mark or style config settings, and by the lineBreak mark encoding channel. If signal-valued, either string or regular expression (regexp) values are valid. - locale : :class:`Locale`, Dict + locale : dict, :class:`Locale` Locale definitions for string parsing and formatting of number and date values. The locale object should contain ``number`` and/or ``time`` properties with `locale definitions `__. Locale definitions provided in the config block may be overridden by the View constructor locale option. - mark : :class:`MarkConfig`, Dict + mark : dict, :class:`MarkConfig` Mark Config normalizedNumberFormat : str If normalizedNumberFormatType is not specified, D3 number format for axis labels, @@ -10776,50 +9362,50 @@ class Config(VegaLiteSchema): exposed as `format in Vega-Expression `__. **Note:** You must also set ``customFormatTypes`` to ``true`` to use this feature. - padding : :class:`ExprRef`, Dict[required=[expr]], :class:`Padding`, Dict, float + padding : dict, float, :class:`ExprRef`, :class:`Padding` The default visualization padding, in pixels, from the edge of the visualization canvas to the data rectangle. If a number, specifies padding for all sides. If an object, the value should have the format ``{"left": 5, "top": 5, "right": 5, "bottom": 5}`` to specify padding for each side of the visualization. **Default value** : ``5`` - params : Sequence[:class:`TopLevelParameter`, :class:`TopLevelSelectionParameter`, Dict[required=[name, select]], :class:`VariableParameter`, Dict[required=[name]]] + params : Sequence[dict, :class:`TopLevelParameter`, :class:`VariableParameter`, :class:`TopLevelSelectionParameter`] Dynamic variables or selections that parameterize a visualization. - point : :class:`MarkConfig`, Dict + point : dict, :class:`MarkConfig` Point-Specific Config - projection : :class:`ProjectionConfig`, Dict + projection : dict, :class:`ProjectionConfig` Projection configuration, which determines default properties for all `projections `__. For a full list of projection configuration options, please see the `corresponding section of the projection documentation `__. - range : :class:`RangeConfig`, Dict + range : dict, :class:`RangeConfig` An object hash that defines default range arrays or schemes for using with scales. For a full list of scale range configuration options, please see the `corresponding section of the scale documentation `__. - rect : :class:`RectConfig`, Dict + rect : dict, :class:`RectConfig` Rect-Specific Config - rule : :class:`MarkConfig`, Dict + rule : dict, :class:`MarkConfig` Rule-Specific Config - scale : :class:`ScaleConfig`, Dict + scale : dict, :class:`ScaleConfig` Scale configuration determines default properties for all `scales `__. For a full list of scale configuration options, please see the `corresponding section of the scale documentation `__. - selection : :class:`SelectionConfig`, Dict + selection : dict, :class:`SelectionConfig` An object hash for defining default properties for each type of selections. - square : :class:`MarkConfig`, Dict + square : dict, :class:`MarkConfig` Square-Specific Config - style : :class:`StyleConfigIndex`, Dict + style : dict, :class:`StyleConfigIndex` An object hash that defines key-value mappings to determine default properties for marks with a given `style `__. The keys represent styles names; the values have to be valid `mark configuration objects `__. - text : :class:`MarkConfig`, Dict + text : dict, :class:`MarkConfig` Text-Specific Config - tick : :class:`TickConfig`, Dict + tick : dict, :class:`TickConfig` Tick-Specific Config timeFormat : str Default time format for raw time values (without time units) in text marks, legend @@ -10837,18 +9423,18 @@ class Config(VegaLiteSchema): `__. **Note:** You must also set ``customFormatTypes`` to ``true`` and there must *not* be a ``timeUnit`` defined to use this feature. - title : :class:`TitleConfig`, Dict + title : dict, :class:`TitleConfig` Title configuration, which determines default properties for all `titles `__. For a full list of title configuration options, please see the `corresponding section of the title documentation `__. - tooltipFormat : :class:`FormatConfig`, Dict + tooltipFormat : dict, :class:`FormatConfig` Define `custom format configuration `__ for tooltips. If unspecified, default format config will be applied. - trail : :class:`LineConfig`, Dict + trail : dict, :class:`LineConfig` Trail-Specific Config - view : :class:`ViewConfig`, Dict + view : dict, :class:`ViewConfig` Default properties for `single view plots `__. """ @@ -10857,263 +9443,245 @@ class Config(VegaLiteSchema): def __init__( self, - arc: Union[Union["RectConfig", dict], UndefinedType] = Undefined, - area: Union[Union["AreaConfig", dict], UndefinedType] = Undefined, + arc: Union[dict, "SchemaBase", UndefinedType] = Undefined, + area: Union[dict, "SchemaBase", UndefinedType] = Undefined, aria: Union[bool, UndefinedType] = Undefined, autosize: Union[ - Union[ - Union["AutoSizeParams", dict], - Union["AutosizeType", Literal["pad", "none", "fit", "fit-x", "fit-y"]], - ], - UndefinedType, - ] = Undefined, - axis: Union[Union["AxisConfig", dict], UndefinedType] = Undefined, - axisBand: Union[Union["AxisConfig", dict], UndefinedType] = Undefined, - axisBottom: Union[Union["AxisConfig", dict], UndefinedType] = Undefined, - axisDiscrete: Union[Union["AxisConfig", dict], UndefinedType] = Undefined, - axisLeft: Union[Union["AxisConfig", dict], UndefinedType] = Undefined, - axisPoint: Union[Union["AxisConfig", dict], UndefinedType] = Undefined, - axisQuantitative: Union[Union["AxisConfig", dict], UndefinedType] = Undefined, - axisRight: Union[Union["AxisConfig", dict], UndefinedType] = Undefined, - axisTemporal: Union[Union["AxisConfig", dict], UndefinedType] = Undefined, - axisTop: Union[Union["AxisConfig", dict], UndefinedType] = Undefined, - axisX: Union[Union["AxisConfig", dict], UndefinedType] = Undefined, - axisXBand: Union[Union["AxisConfig", dict], UndefinedType] = Undefined, - axisXDiscrete: Union[Union["AxisConfig", dict], UndefinedType] = Undefined, - axisXPoint: Union[Union["AxisConfig", dict], UndefinedType] = Undefined, - axisXQuantitative: Union[Union["AxisConfig", dict], UndefinedType] = Undefined, - axisXTemporal: Union[Union["AxisConfig", dict], UndefinedType] = Undefined, - axisY: Union[Union["AxisConfig", dict], UndefinedType] = Undefined, - axisYBand: Union[Union["AxisConfig", dict], UndefinedType] = Undefined, - axisYDiscrete: Union[Union["AxisConfig", dict], UndefinedType] = Undefined, - axisYPoint: Union[Union["AxisConfig", dict], UndefinedType] = Undefined, - axisYQuantitative: Union[Union["AxisConfig", dict], UndefinedType] = Undefined, - axisYTemporal: Union[Union["AxisConfig", dict], UndefinedType] = Undefined, + dict, + "SchemaBase", + Literal["pad", "none", "fit", "fit-x", "fit-y"], + UndefinedType, + ] = Undefined, + axis: Union[dict, "SchemaBase", UndefinedType] = Undefined, + axisBand: Union[dict, "SchemaBase", UndefinedType] = Undefined, + axisBottom: Union[dict, "SchemaBase", UndefinedType] = Undefined, + axisDiscrete: Union[dict, "SchemaBase", UndefinedType] = Undefined, + axisLeft: Union[dict, "SchemaBase", UndefinedType] = Undefined, + axisPoint: Union[dict, "SchemaBase", UndefinedType] = Undefined, + axisQuantitative: Union[dict, "SchemaBase", UndefinedType] = Undefined, + axisRight: Union[dict, "SchemaBase", UndefinedType] = Undefined, + axisTemporal: Union[dict, "SchemaBase", UndefinedType] = Undefined, + axisTop: Union[dict, "SchemaBase", UndefinedType] = Undefined, + axisX: Union[dict, "SchemaBase", UndefinedType] = Undefined, + axisXBand: Union[dict, "SchemaBase", UndefinedType] = Undefined, + axisXDiscrete: Union[dict, "SchemaBase", UndefinedType] = Undefined, + axisXPoint: Union[dict, "SchemaBase", UndefinedType] = Undefined, + axisXQuantitative: Union[dict, "SchemaBase", UndefinedType] = Undefined, + axisXTemporal: Union[dict, "SchemaBase", UndefinedType] = Undefined, + axisY: Union[dict, "SchemaBase", UndefinedType] = Undefined, + axisYBand: Union[dict, "SchemaBase", UndefinedType] = Undefined, + axisYDiscrete: Union[dict, "SchemaBase", UndefinedType] = Undefined, + axisYPoint: Union[dict, "SchemaBase", UndefinedType] = Undefined, + axisYQuantitative: Union[dict, "SchemaBase", UndefinedType] = Undefined, + axisYTemporal: Union[dict, "SchemaBase", UndefinedType] = Undefined, background: Union[ - Union[ - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], - ], - UndefinedType, - ] = Undefined, - bar: Union[Union["BarConfig", dict], UndefinedType] = Undefined, - boxplot: Union[Union["BoxPlotConfig", dict], UndefinedType] = Undefined, - circle: Union[Union["MarkConfig", dict], UndefinedType] = Undefined, - concat: Union[Union["CompositionConfig", dict], UndefinedType] = Undefined, + str, + dict, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", + ], + UndefinedType, + ] = Undefined, + bar: Union[dict, "SchemaBase", UndefinedType] = Undefined, + boxplot: Union[dict, "SchemaBase", UndefinedType] = Undefined, + circle: Union[dict, "SchemaBase", UndefinedType] = Undefined, + concat: Union[dict, "SchemaBase", UndefinedType] = Undefined, countTitle: Union[str, UndefinedType] = Undefined, customFormatTypes: Union[bool, UndefinedType] = Undefined, - errorband: Union[Union["ErrorBandConfig", dict], UndefinedType] = Undefined, - errorbar: Union[Union["ErrorBarConfig", dict], UndefinedType] = Undefined, - facet: Union[Union["CompositionConfig", dict], UndefinedType] = Undefined, + errorband: Union[dict, "SchemaBase", UndefinedType] = Undefined, + errorbar: Union[dict, "SchemaBase", UndefinedType] = Undefined, + facet: Union[dict, "SchemaBase", UndefinedType] = Undefined, fieldTitle: Union[ Literal["verbal", "functional", "plain"], UndefinedType ] = Undefined, font: Union[str, UndefinedType] = Undefined, - geoshape: Union[Union["MarkConfig", dict], UndefinedType] = Undefined, - header: Union[Union["HeaderConfig", dict], UndefinedType] = Undefined, - headerColumn: Union[Union["HeaderConfig", dict], UndefinedType] = Undefined, - headerFacet: Union[Union["HeaderConfig", dict], UndefinedType] = Undefined, - headerRow: Union[Union["HeaderConfig", dict], UndefinedType] = Undefined, - image: Union[Union["RectConfig", dict], UndefinedType] = Undefined, - legend: Union[Union["LegendConfig", dict], UndefinedType] = Undefined, - line: Union[Union["LineConfig", dict], UndefinedType] = Undefined, + geoshape: Union[dict, "SchemaBase", UndefinedType] = Undefined, + header: Union[dict, "SchemaBase", UndefinedType] = Undefined, + headerColumn: Union[dict, "SchemaBase", UndefinedType] = Undefined, + headerFacet: Union[dict, "SchemaBase", UndefinedType] = Undefined, + headerRow: Union[dict, "SchemaBase", UndefinedType] = Undefined, + image: Union[dict, "SchemaBase", UndefinedType] = Undefined, + legend: Union[dict, "SchemaBase", UndefinedType] = Undefined, + line: Union[dict, "SchemaBase", UndefinedType] = Undefined, lineBreak: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, - locale: Union[Union["Locale", dict], UndefinedType] = Undefined, - mark: Union[Union["MarkConfig", dict], UndefinedType] = Undefined, + locale: Union[dict, "SchemaBase", UndefinedType] = Undefined, + mark: Union[dict, "SchemaBase", UndefinedType] = Undefined, normalizedNumberFormat: Union[str, UndefinedType] = Undefined, normalizedNumberFormatType: Union[str, UndefinedType] = Undefined, numberFormat: Union[str, UndefinedType] = Undefined, numberFormatType: Union[str, UndefinedType] = Undefined, padding: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["Padding", dict, float]], - UndefinedType, - ] = Undefined, - params: Union[ - Sequence[ - Union[ - "TopLevelParameter", - Union["TopLevelSelectionParameter", dict], - Union["VariableParameter", dict], - ] - ], - UndefinedType, - ] = Undefined, - point: Union[Union["MarkConfig", dict], UndefinedType] = Undefined, - projection: Union[Union["ProjectionConfig", dict], UndefinedType] = Undefined, - range: Union[Union["RangeConfig", dict], UndefinedType] = Undefined, - rect: Union[Union["RectConfig", dict], UndefinedType] = Undefined, - rule: Union[Union["MarkConfig", dict], UndefinedType] = Undefined, - scale: Union[Union["ScaleConfig", dict], UndefinedType] = Undefined, - selection: Union[Union["SelectionConfig", dict], UndefinedType] = Undefined, - square: Union[Union["MarkConfig", dict], UndefinedType] = Undefined, - style: Union[Union["StyleConfigIndex", dict], UndefinedType] = Undefined, - text: Union[Union["MarkConfig", dict], UndefinedType] = Undefined, - tick: Union[Union["TickConfig", dict], UndefinedType] = Undefined, + dict, float, "_Parameter", "SchemaBase", UndefinedType + ] = Undefined, + params: Union[Sequence[Union[dict, "SchemaBase"]], UndefinedType] = Undefined, + point: Union[dict, "SchemaBase", UndefinedType] = Undefined, + projection: Union[dict, "SchemaBase", UndefinedType] = Undefined, + range: Union[dict, "SchemaBase", UndefinedType] = Undefined, + rect: Union[dict, "SchemaBase", UndefinedType] = Undefined, + rule: Union[dict, "SchemaBase", UndefinedType] = Undefined, + scale: Union[dict, "SchemaBase", UndefinedType] = Undefined, + selection: Union[dict, "SchemaBase", UndefinedType] = Undefined, + square: Union[dict, "SchemaBase", UndefinedType] = Undefined, + style: Union[dict, "SchemaBase", UndefinedType] = Undefined, + text: Union[dict, "SchemaBase", UndefinedType] = Undefined, + tick: Union[dict, "SchemaBase", UndefinedType] = Undefined, timeFormat: Union[str, UndefinedType] = Undefined, timeFormatType: Union[str, UndefinedType] = Undefined, - title: Union[Union["TitleConfig", dict], UndefinedType] = Undefined, - tooltipFormat: Union[Union["FormatConfig", dict], UndefinedType] = Undefined, - trail: Union[Union["LineConfig", dict], UndefinedType] = Undefined, - view: Union[Union["ViewConfig", dict], UndefinedType] = Undefined, + title: Union[dict, "SchemaBase", UndefinedType] = Undefined, + tooltipFormat: Union[dict, "SchemaBase", UndefinedType] = Undefined, + trail: Union[dict, "SchemaBase", UndefinedType] = Undefined, + view: Union[dict, "SchemaBase", UndefinedType] = Undefined, **kwds, ): super(Config, self).__init__( @@ -11194,15 +9762,7 @@ def __init__( class Cursor(VegaLiteSchema): - """Cursor schema wrapper - - :class:`Cursor`, Literal['auto', 'default', 'none', 'context-menu', 'help', 'pointer', - 'progress', 'wait', 'cell', 'crosshair', 'text', 'vertical-text', 'alias', 'copy', 'move', - 'no-drop', 'not-allowed', 'e-resize', 'n-resize', 'ne-resize', 'nw-resize', 's-resize', - 'se-resize', 'sw-resize', 'w-resize', 'ew-resize', 'ns-resize', 'nesw-resize', - 'nwse-resize', 'col-resize', 'row-resize', 'all-scroll', 'zoom-in', 'zoom-out', 'grab', - 'grabbing'] - """ + """Cursor schema wrapper""" _schema = {"$ref": "#/definitions/Cursor"} @@ -11211,10 +9771,7 @@ def __init__(self, *args): class Cyclical(ColorScheme): - """Cyclical schema wrapper - - :class:`Cyclical`, Literal['rainbow', 'sinebow'] - """ + """Cyclical schema wrapper""" _schema = {"$ref": "#/definitions/Cyclical"} @@ -11223,14 +9780,7 @@ def __init__(self, *args): class Data(VegaLiteSchema): - """Data schema wrapper - - :class:`DataSource`, :class:`InlineData`, Dict[required=[values]], :class:`NamedData`, - Dict[required=[name]], :class:`UrlData`, Dict[required=[url]], :class:`Data`, - :class:`Generator`, :class:`GraticuleGenerator`, Dict[required=[graticule]], - :class:`SequenceGenerator`, Dict[required=[sequence]], :class:`SphereGenerator`, - Dict[required=[sphere]] - """ + """Data schema wrapper""" _schema = {"$ref": "#/definitions/Data"} @@ -11239,11 +9789,7 @@ def __init__(self, *args, **kwds): class DataFormat(VegaLiteSchema): - """DataFormat schema wrapper - - :class:`CsvDataFormat`, Dict, :class:`DataFormat`, :class:`DsvDataFormat`, - Dict[required=[delimiter]], :class:`JsonDataFormat`, Dict, :class:`TopoDataFormat`, Dict - """ + """DataFormat schema wrapper""" _schema = {"$ref": "#/definitions/DataFormat"} @@ -11254,12 +9800,10 @@ def __init__(self, *args, **kwds): class CsvDataFormat(DataFormat): """CsvDataFormat schema wrapper - :class:`CsvDataFormat`, Dict - Parameters ---------- - parse : :class:`Parse`, Dict, None + parse : dict, None, :class:`Parse` If set to ``null``, disable type inference based on the spec and only use type inference based on the data. Alternatively, a parsing directive object can be provided for explicit data types. Each property of the object corresponds to a field @@ -11286,7 +9830,7 @@ class CsvDataFormat(DataFormat): def __init__( self, - parse: Union[Union[None, Union["Parse", dict]], UndefinedType] = Undefined, + parse: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, type: Union[Literal["csv", "tsv"], UndefinedType] = Undefined, **kwds, ): @@ -11294,11 +9838,7 @@ def __init__( class DataSource(Data): - """DataSource schema wrapper - - :class:`DataSource`, :class:`InlineData`, Dict[required=[values]], :class:`NamedData`, - Dict[required=[name]], :class:`UrlData`, Dict[required=[url]] - """ + """DataSource schema wrapper""" _schema = {"$ref": "#/definitions/DataSource"} @@ -11307,10 +9847,7 @@ def __init__(self, *args, **kwds): class Datasets(VegaLiteSchema): - """Datasets schema wrapper - - :class:`Datasets`, Dict - """ + """Datasets schema wrapper""" _schema = {"$ref": "#/definitions/Datasets"} @@ -11319,10 +9856,7 @@ def __init__(self, **kwds): class Day(VegaLiteSchema): - """Day schema wrapper - - :class:`Day`, float - """ + """Day schema wrapper""" _schema = {"$ref": "#/definitions/Day"} @@ -11331,10 +9865,7 @@ def __init__(self, *args): class Dict(VegaLiteSchema): - """Dict schema wrapper - - :class:`Dict`, Dict - """ + """Dict schema wrapper""" _schema = {"$ref": "#/definitions/Dict"} @@ -11343,10 +9874,7 @@ def __init__(self, **kwds): class DictInlineDataset(VegaLiteSchema): - """DictInlineDataset schema wrapper - - :class:`DictInlineDataset`, Dict - """ + """DictInlineDataset schema wrapper""" _schema = {"$ref": "#/definitions/Dict"} @@ -11355,10 +9883,7 @@ def __init__(self, **kwds): class DictSelectionInit(VegaLiteSchema): - """DictSelectionInit schema wrapper - - :class:`DictSelectionInit`, Dict - """ + """DictSelectionInit schema wrapper""" _schema = {"$ref": "#/definitions/Dict"} @@ -11367,10 +9892,7 @@ def __init__(self, **kwds): class DictSelectionInitInterval(VegaLiteSchema): - """DictSelectionInitInterval schema wrapper - - :class:`DictSelectionInitInterval`, Dict - """ + """DictSelectionInitInterval schema wrapper""" _schema = {"$ref": "#/definitions/Dict"} @@ -11379,30 +9901,7 @@ def __init__(self, **kwds): class Diverging(ColorScheme): - """Diverging schema wrapper - - :class:`Diverging`, Literal['blueorange', 'blueorange-3', 'blueorange-4', 'blueorange-5', - 'blueorange-6', 'blueorange-7', 'blueorange-8', 'blueorange-9', 'blueorange-10', - 'blueorange-11', 'brownbluegreen', 'brownbluegreen-3', 'brownbluegreen-4', - 'brownbluegreen-5', 'brownbluegreen-6', 'brownbluegreen-7', 'brownbluegreen-8', - 'brownbluegreen-9', 'brownbluegreen-10', 'brownbluegreen-11', 'purplegreen', - 'purplegreen-3', 'purplegreen-4', 'purplegreen-5', 'purplegreen-6', 'purplegreen-7', - 'purplegreen-8', 'purplegreen-9', 'purplegreen-10', 'purplegreen-11', 'pinkyellowgreen', - 'pinkyellowgreen-3', 'pinkyellowgreen-4', 'pinkyellowgreen-5', 'pinkyellowgreen-6', - 'pinkyellowgreen-7', 'pinkyellowgreen-8', 'pinkyellowgreen-9', 'pinkyellowgreen-10', - 'pinkyellowgreen-11', 'purpleorange', 'purpleorange-3', 'purpleorange-4', 'purpleorange-5', - 'purpleorange-6', 'purpleorange-7', 'purpleorange-8', 'purpleorange-9', 'purpleorange-10', - 'purpleorange-11', 'redblue', 'redblue-3', 'redblue-4', 'redblue-5', 'redblue-6', - 'redblue-7', 'redblue-8', 'redblue-9', 'redblue-10', 'redblue-11', 'redgrey', 'redgrey-3', - 'redgrey-4', 'redgrey-5', 'redgrey-6', 'redgrey-7', 'redgrey-8', 'redgrey-9', 'redgrey-10', - 'redgrey-11', 'redyellowblue', 'redyellowblue-3', 'redyellowblue-4', 'redyellowblue-5', - 'redyellowblue-6', 'redyellowblue-7', 'redyellowblue-8', 'redyellowblue-9', - 'redyellowblue-10', 'redyellowblue-11', 'redyellowgreen', 'redyellowgreen-3', - 'redyellowgreen-4', 'redyellowgreen-5', 'redyellowgreen-6', 'redyellowgreen-7', - 'redyellowgreen-8', 'redyellowgreen-9', 'redyellowgreen-10', 'redyellowgreen-11', - 'spectral', 'spectral-3', 'spectral-4', 'spectral-5', 'spectral-6', 'spectral-7', - 'spectral-8', 'spectral-9', 'spectral-10', 'spectral-11'] - """ + """Diverging schema wrapper""" _schema = {"$ref": "#/definitions/Diverging"} @@ -11413,12 +9912,10 @@ def __init__(self, *args): class DomainUnionWith(VegaLiteSchema): """DomainUnionWith schema wrapper - :class:`DomainUnionWith`, Dict[required=[unionWith]] - Parameters ---------- - unionWith : Sequence[:class:`DateTime`, Dict, bool, float, str] + unionWith : Sequence[str, bool, dict, float, :class:`DateTime`] Customized domain values to be union with the field's values or explicitly defined domain. Should be an array of valid scale domain values. """ @@ -11428,7 +9925,7 @@ class DomainUnionWith(VegaLiteSchema): def __init__( self, unionWith: Union[ - Sequence[Union[Union["DateTime", dict], bool, float, str]], UndefinedType + Sequence[Union[str, bool, dict, float, "SchemaBase"]], UndefinedType ] = Undefined, **kwds, ): @@ -11438,8 +9935,6 @@ def __init__( class DsvDataFormat(DataFormat): """DsvDataFormat schema wrapper - :class:`DsvDataFormat`, Dict[required=[delimiter]] - Parameters ---------- @@ -11447,7 +9942,7 @@ class DsvDataFormat(DataFormat): The delimiter between records. The delimiter must be a single character (i.e., a single 16-bit code unit); so, ASCII delimiters are fine, but emoji delimiters are not. - parse : :class:`Parse`, Dict, None + parse : dict, None, :class:`Parse` If set to ``null``, disable type inference based on the spec and only use type inference based on the data. Alternatively, a parsing directive object can be provided for explicit data types. Each property of the object corresponds to a field @@ -11475,7 +9970,7 @@ class DsvDataFormat(DataFormat): def __init__( self, delimiter: Union[str, UndefinedType] = Undefined, - parse: Union[Union[None, Union["Parse", dict]], UndefinedType] = Undefined, + parse: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, type: Union[str, UndefinedType] = Undefined, **kwds, ): @@ -11485,10 +9980,7 @@ def __init__( class Element(VegaLiteSchema): - """Element schema wrapper - - :class:`Element`, str - """ + """Element schema wrapper""" _schema = {"$ref": "#/definitions/Element"} @@ -11499,14 +9991,12 @@ def __init__(self, *args): class Encoding(VegaLiteSchema): """Encoding schema wrapper - :class:`Encoding`, Dict - Parameters ---------- - angle : :class:`FieldOrDatumDefWithConditionDatumDefnumber`, Dict, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, Dict[required=[shorthand]], :class:`NumericMarkPropDef`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber`, Dict + angle : dict, :class:`NumericMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumber`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber` Rotation angle of point and text marks. - color : :class:`ColorDef`, :class:`FieldOrDatumDefWithConditionDatumDefGradientstringnull`, Dict, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull`, Dict[required=[shorthand]], :class:`ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull`, Dict + color : dict, :class:`ColorDef`, :class:`FieldOrDatumDefWithConditionDatumDefGradientstringnull`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull` Color of the marks – either fill or stroke color based on the ``filled`` property of mark definition. By default, ``color`` represents fill color for ``"area"``, ``"bar"``, ``"tick"``, ``"text"``, ``"trail"``, ``"circle"``, and ``"square"`` / @@ -11522,49 +10012,49 @@ class Encoding(VegaLiteSchema): encoding if conflicting encodings are specified. 2) See the scale documentation for more information about customizing `color scheme `__. - description : :class:`StringFieldDefWithCondition`, Dict[required=[shorthand]], :class:`StringValueDefWithCondition`, Dict + description : dict, :class:`StringFieldDefWithCondition`, :class:`StringValueDefWithCondition` A text description of this mark for ARIA accessibility (SVG output only). For SVG output the ``"aria-label"`` attribute will be set to this description. - detail : :class:`FieldDefWithoutScale`, Dict[required=[shorthand]], Sequence[:class:`FieldDefWithoutScale`, Dict[required=[shorthand]]] + detail : dict, :class:`FieldDefWithoutScale`, Sequence[dict, :class:`FieldDefWithoutScale`] Additional levels of detail for grouping data in aggregate views and in line, trail, and area marks without mapping data to a specific visual channel. - fill : :class:`ColorDef`, :class:`FieldOrDatumDefWithConditionDatumDefGradientstringnull`, Dict, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull`, Dict[required=[shorthand]], :class:`ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull`, Dict + fill : dict, :class:`ColorDef`, :class:`FieldOrDatumDefWithConditionDatumDefGradientstringnull`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull` Fill color of the marks. **Default value:** If undefined, the default color depends on `mark config `__ 's ``color`` property. *Note:* The ``fill`` encoding has higher precedence than ``color``, thus may override the ``color`` encoding if conflicting encodings are specified. - fillOpacity : :class:`FieldOrDatumDefWithConditionDatumDefnumber`, Dict, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, Dict[required=[shorthand]], :class:`NumericMarkPropDef`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber`, Dict + fillOpacity : dict, :class:`NumericMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumber`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber` Fill opacity of the marks. **Default value:** If undefined, the default opacity depends on `mark config `__ 's ``fillOpacity`` property. - href : :class:`StringFieldDefWithCondition`, Dict[required=[shorthand]], :class:`StringValueDefWithCondition`, Dict + href : dict, :class:`StringFieldDefWithCondition`, :class:`StringValueDefWithCondition` A URL to load upon mouse click. - key : :class:`FieldDefWithoutScale`, Dict[required=[shorthand]] + key : dict, :class:`FieldDefWithoutScale` A data field to use as a unique key for data binding. When a visualization’s data is updated, the key value will be used to match data elements to existing mark instances. Use a key channel to enable object constancy for transitions over dynamic data. - latitude : :class:`DatumDef`, Dict, :class:`LatLongDef`, :class:`LatLongFieldDef`, Dict[required=[shorthand]] + latitude : dict, :class:`DatumDef`, :class:`LatLongDef`, :class:`LatLongFieldDef` Latitude position of geographically projected marks. - latitude2 : :class:`DatumDef`, Dict, :class:`Position2Def`, :class:`PositionValueDef`, Dict[required=[value]], :class:`SecondaryFieldDef`, Dict[required=[shorthand]] + latitude2 : dict, :class:`DatumDef`, :class:`Position2Def`, :class:`PositionValueDef`, :class:`SecondaryFieldDef` Latitude-2 position for geographically projected ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. - longitude : :class:`DatumDef`, Dict, :class:`LatLongDef`, :class:`LatLongFieldDef`, Dict[required=[shorthand]] + longitude : dict, :class:`DatumDef`, :class:`LatLongDef`, :class:`LatLongFieldDef` Longitude position of geographically projected marks. - longitude2 : :class:`DatumDef`, Dict, :class:`Position2Def`, :class:`PositionValueDef`, Dict[required=[value]], :class:`SecondaryFieldDef`, Dict[required=[shorthand]] + longitude2 : dict, :class:`DatumDef`, :class:`Position2Def`, :class:`PositionValueDef`, :class:`SecondaryFieldDef` Longitude-2 position for geographically projected ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. - opacity : :class:`FieldOrDatumDefWithConditionDatumDefnumber`, Dict, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, Dict[required=[shorthand]], :class:`NumericMarkPropDef`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber`, Dict + opacity : dict, :class:`NumericMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumber`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber` Opacity of the marks. **Default value:** If undefined, the default opacity depends on `mark config `__ 's ``opacity`` property. - order : :class:`OrderFieldDef`, Dict[required=[shorthand]], :class:`OrderOnlyDef`, Dict, :class:`OrderValueDef`, Dict[required=[value]], Sequence[:class:`OrderFieldDef`, Dict[required=[shorthand]]] + order : dict, :class:`OrderOnlyDef`, :class:`OrderFieldDef`, :class:`OrderValueDef`, Sequence[dict, :class:`OrderFieldDef`] Order of the marks. @@ -11579,11 +10069,11 @@ class Encoding(VegaLiteSchema): **Note** : In aggregate plots, ``order`` field should be ``aggregate`` d to avoid creating additional aggregation grouping. - radius : :class:`PolarDef`, :class:`PositionDatumDefBase`, Dict, :class:`PositionFieldDefBase`, Dict[required=[shorthand]], :class:`PositionValueDef`, Dict[required=[value]] + radius : dict, :class:`PolarDef`, :class:`PositionValueDef`, :class:`PositionDatumDefBase`, :class:`PositionFieldDefBase` The outer radius in pixels of arc marks. - radius2 : :class:`DatumDef`, Dict, :class:`Position2Def`, :class:`PositionValueDef`, Dict[required=[value]], :class:`SecondaryFieldDef`, Dict[required=[shorthand]] + radius2 : dict, :class:`DatumDef`, :class:`Position2Def`, :class:`PositionValueDef`, :class:`SecondaryFieldDef` The inner radius in pixels of arc marks. - shape : :class:`FieldOrDatumDefWithConditionDatumDefstringnull`, Dict, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull`, Dict[required=[shorthand]], :class:`ShapeDef`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefTypeForShapestringnull`, Dict + shape : dict, :class:`ShapeDef`, :class:`FieldOrDatumDefWithConditionDatumDefstringnull`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefTypeForShapestringnull` Shape of the mark. @@ -11603,7 +10093,7 @@ class Encoding(VegaLiteSchema): **Default value:** If undefined, the default shape depends on `mark config `__ 's ``shape`` property. ( ``"circle"`` if unset.) - size : :class:`FieldOrDatumDefWithConditionDatumDefnumber`, Dict, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, Dict[required=[shorthand]], :class:`NumericMarkPropDef`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber`, Dict + size : dict, :class:`NumericMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumber`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber` Size of the mark. @@ -11613,7 +10103,7 @@ class Encoding(VegaLiteSchema): * For ``"text"`` – the text's font size. * Size is unsupported for ``"line"``, ``"area"``, and ``"rect"``. (Use ``"trail"`` instead of line with varying size) - stroke : :class:`ColorDef`, :class:`FieldOrDatumDefWithConditionDatumDefGradientstringnull`, Dict, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull`, Dict[required=[shorthand]], :class:`ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull`, Dict + stroke : dict, :class:`ColorDef`, :class:`FieldOrDatumDefWithConditionDatumDefGradientstringnull`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull` Stroke color of the marks. **Default value:** If undefined, the default color depends on `mark config `__ 's ``color`` @@ -11621,77 +10111,77 @@ class Encoding(VegaLiteSchema): *Note:* The ``stroke`` encoding has higher precedence than ``color``, thus may override the ``color`` encoding if conflicting encodings are specified. - strokeDash : :class:`FieldOrDatumDefWithConditionDatumDefnumberArray`, Dict, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray`, Dict[required=[shorthand]], :class:`NumericArrayMarkPropDef`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumberArray`, Dict + strokeDash : dict, :class:`NumericArrayMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumberArray`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumberArray` Stroke dash of the marks. **Default value:** ``[1,0]`` (No dash). - strokeOpacity : :class:`FieldOrDatumDefWithConditionDatumDefnumber`, Dict, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, Dict[required=[shorthand]], :class:`NumericMarkPropDef`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber`, Dict + strokeOpacity : dict, :class:`NumericMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumber`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber` Stroke opacity of the marks. **Default value:** If undefined, the default opacity depends on `mark config `__ 's ``strokeOpacity`` property. - strokeWidth : :class:`FieldOrDatumDefWithConditionDatumDefnumber`, Dict, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, Dict[required=[shorthand]], :class:`NumericMarkPropDef`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber`, Dict + strokeWidth : dict, :class:`NumericMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumber`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber` Stroke width of the marks. **Default value:** If undefined, the default stroke width depends on `mark config `__ 's ``strokeWidth`` property. - text : :class:`FieldOrDatumDefWithConditionStringDatumDefText`, Dict, :class:`FieldOrDatumDefWithConditionStringFieldDefText`, Dict[required=[shorthand]], :class:`TextDef`, :class:`ValueDefWithConditionStringFieldDefText`, Dict + text : dict, :class:`TextDef`, :class:`ValueDefWithConditionStringFieldDefText`, :class:`FieldOrDatumDefWithConditionStringDatumDefText`, :class:`FieldOrDatumDefWithConditionStringFieldDefText` Text of the ``text`` mark. - theta : :class:`PolarDef`, :class:`PositionDatumDefBase`, Dict, :class:`PositionFieldDefBase`, Dict[required=[shorthand]], :class:`PositionValueDef`, Dict[required=[value]] + theta : dict, :class:`PolarDef`, :class:`PositionValueDef`, :class:`PositionDatumDefBase`, :class:`PositionFieldDefBase` For arc marks, the arc length in radians if theta2 is not specified, otherwise the start arc angle. (A value of 0 indicates up or “north”, increasing values proceed clockwise.) For text marks, polar coordinate angle in radians. - theta2 : :class:`DatumDef`, Dict, :class:`Position2Def`, :class:`PositionValueDef`, Dict[required=[value]], :class:`SecondaryFieldDef`, Dict[required=[shorthand]] + theta2 : dict, :class:`DatumDef`, :class:`Position2Def`, :class:`PositionValueDef`, :class:`SecondaryFieldDef` The end angle of arc marks in radians. A value of 0 indicates up or “north”, increasing values proceed clockwise. - tooltip : :class:`StringFieldDefWithCondition`, Dict[required=[shorthand]], :class:`StringValueDefWithCondition`, Dict, None, Sequence[:class:`StringFieldDef`, Dict] + tooltip : dict, None, :class:`StringFieldDefWithCondition`, :class:`StringValueDefWithCondition`, Sequence[dict, :class:`StringFieldDef`] The tooltip text to show upon mouse hover. Specifying ``tooltip`` encoding overrides `the tooltip property in the mark definition `__. See the `tooltip `__ documentation for a detailed discussion about tooltip in Vega-Lite. - url : :class:`StringFieldDefWithCondition`, Dict[required=[shorthand]], :class:`StringValueDefWithCondition`, Dict + url : dict, :class:`StringFieldDefWithCondition`, :class:`StringValueDefWithCondition` The URL of an image mark. - x : :class:`PositionDatumDef`, Dict, :class:`PositionDef`, :class:`PositionFieldDef`, Dict[required=[shorthand]], :class:`PositionValueDef`, Dict[required=[value]] + x : dict, :class:`PositionDef`, :class:`PositionDatumDef`, :class:`PositionFieldDef`, :class:`PositionValueDef` X coordinates of the marks, or width of horizontal ``"bar"`` and ``"area"`` without specified ``x2`` or ``width``. The ``value`` of this channel can be a number or a string ``"width"`` for the width of the plot. - x2 : :class:`DatumDef`, Dict, :class:`Position2Def`, :class:`PositionValueDef`, Dict[required=[value]], :class:`SecondaryFieldDef`, Dict[required=[shorthand]] + x2 : dict, :class:`DatumDef`, :class:`Position2Def`, :class:`PositionValueDef`, :class:`SecondaryFieldDef` X2 coordinates for ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. The ``value`` of this channel can be a number or a string ``"width"`` for the width of the plot. - xError : :class:`SecondaryFieldDef`, Dict[required=[shorthand]], :class:`ValueDefnumber`, Dict[required=[value]] + xError : dict, :class:`ValueDefnumber`, :class:`SecondaryFieldDef` Error value of x coordinates for error specified ``"errorbar"`` and ``"errorband"``. - xError2 : :class:`SecondaryFieldDef`, Dict[required=[shorthand]], :class:`ValueDefnumber`, Dict[required=[value]] + xError2 : dict, :class:`ValueDefnumber`, :class:`SecondaryFieldDef` Secondary error value of x coordinates for error specified ``"errorbar"`` and ``"errorband"``. - xOffset : :class:`OffsetDef`, :class:`ScaleDatumDef`, Dict, :class:`ScaleFieldDef`, Dict[required=[shorthand]], :class:`ValueDefnumber`, Dict[required=[value]] + xOffset : dict, :class:`OffsetDef`, :class:`ScaleDatumDef`, :class:`ScaleFieldDef`, :class:`ValueDefnumber` Offset of x-position of the marks - y : :class:`PositionDatumDef`, Dict, :class:`PositionDef`, :class:`PositionFieldDef`, Dict[required=[shorthand]], :class:`PositionValueDef`, Dict[required=[value]] + y : dict, :class:`PositionDef`, :class:`PositionDatumDef`, :class:`PositionFieldDef`, :class:`PositionValueDef` Y coordinates of the marks, or height of vertical ``"bar"`` and ``"area"`` without specified ``y2`` or ``height``. The ``value`` of this channel can be a number or a string ``"height"`` for the height of the plot. - y2 : :class:`DatumDef`, Dict, :class:`Position2Def`, :class:`PositionValueDef`, Dict[required=[value]], :class:`SecondaryFieldDef`, Dict[required=[shorthand]] + y2 : dict, :class:`DatumDef`, :class:`Position2Def`, :class:`PositionValueDef`, :class:`SecondaryFieldDef` Y2 coordinates for ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. The ``value`` of this channel can be a number or a string ``"height"`` for the height of the plot. - yError : :class:`SecondaryFieldDef`, Dict[required=[shorthand]], :class:`ValueDefnumber`, Dict[required=[value]] + yError : dict, :class:`ValueDefnumber`, :class:`SecondaryFieldDef` Error value of y coordinates for error specified ``"errorbar"`` and ``"errorband"``. - yError2 : :class:`SecondaryFieldDef`, Dict[required=[shorthand]], :class:`ValueDefnumber`, Dict[required=[value]] + yError2 : dict, :class:`ValueDefnumber`, :class:`SecondaryFieldDef` Secondary error value of y coordinates for error specified ``"errorbar"`` and ``"errorband"``. - yOffset : :class:`OffsetDef`, :class:`ScaleDatumDef`, Dict, :class:`ScaleFieldDef`, Dict[required=[shorthand]], :class:`ValueDefnumber`, Dict[required=[value]] + yOffset : dict, :class:`OffsetDef`, :class:`ScaleDatumDef`, :class:`ScaleFieldDef`, :class:`ValueDefnumber` Offset of y-position of the marks """ @@ -11699,321 +10189,49 @@ class Encoding(VegaLiteSchema): def __init__( self, - angle: Union[ - Union[ - "NumericMarkPropDef", - Union["FieldOrDatumDefWithConditionDatumDefnumber", dict], - Union["FieldOrDatumDefWithConditionMarkPropFieldDefnumber", dict], - Union["ValueDefWithConditionMarkPropFieldOrDatumDefnumber", dict], - ], - UndefinedType, - ] = Undefined, - color: Union[ - Union[ - "ColorDef", - Union["FieldOrDatumDefWithConditionDatumDefGradientstringnull", dict], - Union[ - "FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull", - dict, - ], - Union[ - "ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull", - dict, - ], - ], - UndefinedType, - ] = Undefined, - description: Union[ - Union[ - Union["StringFieldDefWithCondition", dict], - Union["StringValueDefWithCondition", dict], - ], - UndefinedType, - ] = Undefined, + angle: Union[dict, "SchemaBase", UndefinedType] = Undefined, + color: Union[dict, "SchemaBase", UndefinedType] = Undefined, + description: Union[dict, "SchemaBase", UndefinedType] = Undefined, detail: Union[ - Union[ - Sequence[Union["FieldDefWithoutScale", dict]], - Union["FieldDefWithoutScale", dict], - ], - UndefinedType, - ] = Undefined, - fill: Union[ - Union[ - "ColorDef", - Union["FieldOrDatumDefWithConditionDatumDefGradientstringnull", dict], - Union[ - "FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull", - dict, - ], - Union[ - "ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull", - dict, - ], - ], - UndefinedType, - ] = Undefined, - fillOpacity: Union[ - Union[ - "NumericMarkPropDef", - Union["FieldOrDatumDefWithConditionDatumDefnumber", dict], - Union["FieldOrDatumDefWithConditionMarkPropFieldDefnumber", dict], - Union["ValueDefWithConditionMarkPropFieldOrDatumDefnumber", dict], - ], - UndefinedType, - ] = Undefined, - href: Union[ - Union[ - Union["StringFieldDefWithCondition", dict], - Union["StringValueDefWithCondition", dict], - ], - UndefinedType, - ] = Undefined, - key: Union[Union["FieldDefWithoutScale", dict], UndefinedType] = Undefined, - latitude: Union[ - Union[ - "LatLongDef", Union["DatumDef", dict], Union["LatLongFieldDef", dict] - ], - UndefinedType, - ] = Undefined, - latitude2: Union[ - Union[ - "Position2Def", - Union["DatumDef", dict], - Union["PositionValueDef", dict], - Union["SecondaryFieldDef", dict], - ], - UndefinedType, - ] = Undefined, - longitude: Union[ - Union[ - "LatLongDef", Union["DatumDef", dict], Union["LatLongFieldDef", dict] - ], - UndefinedType, - ] = Undefined, - longitude2: Union[ - Union[ - "Position2Def", - Union["DatumDef", dict], - Union["PositionValueDef", dict], - Union["SecondaryFieldDef", dict], - ], - UndefinedType, - ] = Undefined, - opacity: Union[ - Union[ - "NumericMarkPropDef", - Union["FieldOrDatumDefWithConditionDatumDefnumber", dict], - Union["FieldOrDatumDefWithConditionMarkPropFieldDefnumber", dict], - Union["ValueDefWithConditionMarkPropFieldOrDatumDefnumber", dict], - ], - UndefinedType, - ] = Undefined, + dict, "SchemaBase", Sequence[Union[dict, "SchemaBase"]], UndefinedType + ] = Undefined, + fill: Union[dict, "SchemaBase", UndefinedType] = Undefined, + fillOpacity: Union[dict, "SchemaBase", UndefinedType] = Undefined, + href: Union[dict, "SchemaBase", UndefinedType] = Undefined, + key: Union[dict, "SchemaBase", UndefinedType] = Undefined, + latitude: Union[dict, "SchemaBase", UndefinedType] = Undefined, + latitude2: Union[dict, "SchemaBase", UndefinedType] = Undefined, + longitude: Union[dict, "SchemaBase", UndefinedType] = Undefined, + longitude2: Union[dict, "SchemaBase", UndefinedType] = Undefined, + opacity: Union[dict, "SchemaBase", UndefinedType] = Undefined, order: Union[ - Union[ - Sequence[Union["OrderFieldDef", dict]], - Union["OrderFieldDef", dict], - Union["OrderOnlyDef", dict], - Union["OrderValueDef", dict], - ], - UndefinedType, - ] = Undefined, - radius: Union[ - Union[ - "PolarDef", - Union["PositionDatumDefBase", dict], - Union["PositionFieldDefBase", dict], - Union["PositionValueDef", dict], - ], - UndefinedType, - ] = Undefined, - radius2: Union[ - Union[ - "Position2Def", - Union["DatumDef", dict], - Union["PositionValueDef", dict], - Union["SecondaryFieldDef", dict], - ], - UndefinedType, - ] = Undefined, - shape: Union[ - Union[ - "ShapeDef", - Union["FieldOrDatumDefWithConditionDatumDefstringnull", dict], - Union[ - "FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull", - dict, - ], - Union[ - "ValueDefWithConditionMarkPropFieldOrDatumDefTypeForShapestringnull", - dict, - ], - ], - UndefinedType, - ] = Undefined, - size: Union[ - Union[ - "NumericMarkPropDef", - Union["FieldOrDatumDefWithConditionDatumDefnumber", dict], - Union["FieldOrDatumDefWithConditionMarkPropFieldDefnumber", dict], - Union["ValueDefWithConditionMarkPropFieldOrDatumDefnumber", dict], - ], - UndefinedType, - ] = Undefined, - stroke: Union[ - Union[ - "ColorDef", - Union["FieldOrDatumDefWithConditionDatumDefGradientstringnull", dict], - Union[ - "FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull", - dict, - ], - Union[ - "ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull", - dict, - ], - ], - UndefinedType, - ] = Undefined, - strokeDash: Union[ - Union[ - "NumericArrayMarkPropDef", - Union["FieldOrDatumDefWithConditionDatumDefnumberArray", dict], - Union["FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray", dict], - Union["ValueDefWithConditionMarkPropFieldOrDatumDefnumberArray", dict], - ], - UndefinedType, - ] = Undefined, - strokeOpacity: Union[ - Union[ - "NumericMarkPropDef", - Union["FieldOrDatumDefWithConditionDatumDefnumber", dict], - Union["FieldOrDatumDefWithConditionMarkPropFieldDefnumber", dict], - Union["ValueDefWithConditionMarkPropFieldOrDatumDefnumber", dict], - ], - UndefinedType, - ] = Undefined, - strokeWidth: Union[ - Union[ - "NumericMarkPropDef", - Union["FieldOrDatumDefWithConditionDatumDefnumber", dict], - Union["FieldOrDatumDefWithConditionMarkPropFieldDefnumber", dict], - Union["ValueDefWithConditionMarkPropFieldOrDatumDefnumber", dict], - ], - UndefinedType, - ] = Undefined, - text: Union[ - Union[ - "TextDef", - Union["FieldOrDatumDefWithConditionStringDatumDefText", dict], - Union["FieldOrDatumDefWithConditionStringFieldDefText", dict], - Union["ValueDefWithConditionStringFieldDefText", dict], - ], - UndefinedType, - ] = Undefined, - theta: Union[ - Union[ - "PolarDef", - Union["PositionDatumDefBase", dict], - Union["PositionFieldDefBase", dict], - Union["PositionValueDef", dict], - ], - UndefinedType, - ] = Undefined, - theta2: Union[ - Union[ - "Position2Def", - Union["DatumDef", dict], - Union["PositionValueDef", dict], - Union["SecondaryFieldDef", dict], - ], - UndefinedType, - ] = Undefined, + dict, "SchemaBase", Sequence[Union[dict, "SchemaBase"]], UndefinedType + ] = Undefined, + radius: Union[dict, "SchemaBase", UndefinedType] = Undefined, + radius2: Union[dict, "SchemaBase", UndefinedType] = Undefined, + shape: Union[dict, "SchemaBase", UndefinedType] = Undefined, + size: Union[dict, "SchemaBase", UndefinedType] = Undefined, + stroke: Union[dict, "SchemaBase", UndefinedType] = Undefined, + strokeDash: Union[dict, "SchemaBase", UndefinedType] = Undefined, + strokeOpacity: Union[dict, "SchemaBase", UndefinedType] = Undefined, + strokeWidth: Union[dict, "SchemaBase", UndefinedType] = Undefined, + text: Union[dict, "SchemaBase", UndefinedType] = Undefined, + theta: Union[dict, "SchemaBase", UndefinedType] = Undefined, + theta2: Union[dict, "SchemaBase", UndefinedType] = Undefined, tooltip: Union[ - Union[ - None, - Sequence[Union["StringFieldDef", dict]], - Union["StringFieldDefWithCondition", dict], - Union["StringValueDefWithCondition", dict], - ], - UndefinedType, - ] = Undefined, - url: Union[ - Union[ - Union["StringFieldDefWithCondition", dict], - Union["StringValueDefWithCondition", dict], - ], - UndefinedType, - ] = Undefined, - x: Union[ - Union[ - "PositionDef", - Union["PositionDatumDef", dict], - Union["PositionFieldDef", dict], - Union["PositionValueDef", dict], - ], - UndefinedType, - ] = Undefined, - x2: Union[ - Union[ - "Position2Def", - Union["DatumDef", dict], - Union["PositionValueDef", dict], - Union["SecondaryFieldDef", dict], - ], - UndefinedType, - ] = Undefined, - xError: Union[ - Union[Union["SecondaryFieldDef", dict], Union["ValueDefnumber", dict]], - UndefinedType, - ] = Undefined, - xError2: Union[ - Union[Union["SecondaryFieldDef", dict], Union["ValueDefnumber", dict]], - UndefinedType, - ] = Undefined, - xOffset: Union[ - Union[ - "OffsetDef", - Union["ScaleDatumDef", dict], - Union["ScaleFieldDef", dict], - Union["ValueDefnumber", dict], - ], - UndefinedType, - ] = Undefined, - y: Union[ - Union[ - "PositionDef", - Union["PositionDatumDef", dict], - Union["PositionFieldDef", dict], - Union["PositionValueDef", dict], - ], - UndefinedType, - ] = Undefined, - y2: Union[ - Union[ - "Position2Def", - Union["DatumDef", dict], - Union["PositionValueDef", dict], - Union["SecondaryFieldDef", dict], - ], - UndefinedType, - ] = Undefined, - yError: Union[ - Union[Union["SecondaryFieldDef", dict], Union["ValueDefnumber", dict]], - UndefinedType, - ] = Undefined, - yError2: Union[ - Union[Union["SecondaryFieldDef", dict], Union["ValueDefnumber", dict]], - UndefinedType, - ] = Undefined, - yOffset: Union[ - Union[ - "OffsetDef", - Union["ScaleDatumDef", dict], - Union["ScaleFieldDef", dict], - Union["ValueDefnumber", dict], - ], - UndefinedType, - ] = Undefined, + dict, None, "SchemaBase", Sequence[Union[dict, "SchemaBase"]], UndefinedType + ] = Undefined, + url: Union[dict, "SchemaBase", UndefinedType] = Undefined, + x: Union[dict, "SchemaBase", UndefinedType] = Undefined, + x2: Union[dict, "SchemaBase", UndefinedType] = Undefined, + xError: Union[dict, "SchemaBase", UndefinedType] = Undefined, + xError2: Union[dict, "SchemaBase", UndefinedType] = Undefined, + xOffset: Union[dict, "SchemaBase", UndefinedType] = Undefined, + y: Union[dict, "SchemaBase", UndefinedType] = Undefined, + y2: Union[dict, "SchemaBase", UndefinedType] = Undefined, + yError: Union[dict, "SchemaBase", UndefinedType] = Undefined, + yError2: Union[dict, "SchemaBase", UndefinedType] = Undefined, + yOffset: Union[dict, "SchemaBase", UndefinedType] = Undefined, **kwds, ): super(Encoding, self).__init__( @@ -12059,10 +10277,7 @@ def __init__( class ErrorBand(CompositeMark): - """ErrorBand schema wrapper - - :class:`ErrorBand`, str - """ + """ErrorBand schema wrapper""" _schema = {"$ref": "#/definitions/ErrorBand"} @@ -12073,14 +10288,12 @@ def __init__(self, *args): class ErrorBandConfig(VegaLiteSchema): """ErrorBandConfig schema wrapper - :class:`ErrorBandConfig`, Dict - Parameters ---------- - band : :class:`AnyMarkConfig`, :class:`AreaConfig`, Dict, :class:`BarConfig`, Dict, :class:`LineConfig`, Dict, :class:`MarkConfig`, Dict, :class:`RectConfig`, Dict, :class:`TickConfig`, Dict, bool + band : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` - borders : :class:`AnyMarkConfig`, :class:`AreaConfig`, Dict, :class:`BarConfig`, Dict, :class:`LineConfig`, Dict, :class:`MarkConfig`, Dict, :class:`RectConfig`, Dict, :class:`TickConfig`, Dict, bool + borders : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` extent : :class:`ErrorBarExtent`, Literal['ci', 'iqr', 'stderr', 'stdev'] The extent of the band. Available options include: @@ -12125,60 +10338,29 @@ class ErrorBandConfig(VegaLiteSchema): def __init__( self, - band: Union[ - Union[ - Union[ - "AnyMarkConfig", - Union["AreaConfig", dict], - Union["BarConfig", dict], - Union["LineConfig", dict], - Union["MarkConfig", dict], - Union["RectConfig", dict], - Union["TickConfig", dict], - ], - bool, - ], - UndefinedType, - ] = Undefined, - borders: Union[ - Union[ - Union[ - "AnyMarkConfig", - Union["AreaConfig", dict], - Union["BarConfig", dict], - Union["LineConfig", dict], - Union["MarkConfig", dict], - Union["RectConfig", dict], - Union["TickConfig", dict], - ], - bool, - ], - UndefinedType, - ] = Undefined, + band: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, + borders: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, extent: Union[ - Union["ErrorBarExtent", Literal["ci", "iqr", "stderr", "stdev"]], - UndefinedType, + "SchemaBase", Literal["ci", "iqr", "stderr", "stdev"], UndefinedType ] = Undefined, interpolate: Union[ - Union[ - "Interpolate", - Literal[ - "basis", - "basis-open", - "basis-closed", - "bundle", - "cardinal", - "cardinal-open", - "cardinal-closed", - "catmull-rom", - "linear", - "linear-closed", - "monotone", - "natural", - "step", - "step-before", - "step-after", - ], + "SchemaBase", + Literal[ + "basis", + "basis-open", + "basis-closed", + "bundle", + "cardinal", + "cardinal-open", + "cardinal-closed", + "catmull-rom", + "linear", + "linear-closed", + "monotone", + "natural", + "step", + "step-before", + "step-after", ], UndefinedType, ] = Undefined, @@ -12198,23 +10380,21 @@ def __init__( class ErrorBandDef(CompositeMarkDef): """ErrorBandDef schema wrapper - :class:`ErrorBandDef`, Dict[required=[type]] - Parameters ---------- - type : :class:`ErrorBand`, str + type : str, :class:`ErrorBand` The mark type. This could a primitive mark type (one of ``"bar"``, ``"circle"``, ``"square"``, ``"tick"``, ``"line"``, ``"area"``, ``"point"``, ``"geoshape"``, ``"rule"``, and ``"text"`` ) or a composite mark type ( ``"boxplot"``, ``"errorband"``, ``"errorbar"`` ). - band : :class:`AnyMarkConfig`, :class:`AreaConfig`, Dict, :class:`BarConfig`, Dict, :class:`LineConfig`, Dict, :class:`MarkConfig`, Dict, :class:`RectConfig`, Dict, :class:`TickConfig`, Dict, bool + band : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` - borders : :class:`AnyMarkConfig`, :class:`AreaConfig`, Dict, :class:`BarConfig`, Dict, :class:`LineConfig`, Dict, :class:`MarkConfig`, Dict, :class:`RectConfig`, Dict, :class:`TickConfig`, Dict, bool + borders : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` clip : bool Whether a composite mark be clipped to the enclosing group’s width and height. - color : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]] + color : str, dict, :class:`Color`, :class:`ExprRef`, :class:`Gradient`, :class:`HexColor`, :class:`ColorName`, :class:`LinearGradient`, :class:`RadialGradient`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Default color. **Default value:** :raw-html:`` @@ -12275,237 +10455,194 @@ class ErrorBandDef(CompositeMarkDef): def __init__( self, - type: Union[Union["ErrorBand", str], UndefinedType] = Undefined, - band: Union[ - Union[ - Union[ - "AnyMarkConfig", - Union["AreaConfig", dict], - Union["BarConfig", dict], - Union["LineConfig", dict], - Union["MarkConfig", dict], - Union["RectConfig", dict], - Union["TickConfig", dict], - ], - bool, - ], - UndefinedType, - ] = Undefined, - borders: Union[ - Union[ - Union[ - "AnyMarkConfig", - Union["AreaConfig", dict], - Union["BarConfig", dict], - Union["LineConfig", dict], - Union["MarkConfig", dict], - Union["RectConfig", dict], - Union["TickConfig", dict], - ], - bool, - ], - UndefinedType, - ] = Undefined, + type: Union[str, "SchemaBase", UndefinedType] = Undefined, + band: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, + borders: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, clip: Union[bool, UndefinedType] = Undefined, color: Union[ - Union[ - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], - Union[ - "Gradient", - Union["LinearGradient", dict], - Union["RadialGradient", dict], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, extent: Union[ - Union["ErrorBarExtent", Literal["ci", "iqr", "stderr", "stdev"]], - UndefinedType, + "SchemaBase", Literal["ci", "iqr", "stderr", "stdev"], UndefinedType ] = Undefined, interpolate: Union[ - Union[ - "Interpolate", - Literal[ - "basis", - "basis-open", - "basis-closed", - "bundle", - "cardinal", - "cardinal-open", - "cardinal-closed", - "catmull-rom", - "linear", - "linear-closed", - "monotone", - "natural", - "step", - "step-before", - "step-after", - ], + "SchemaBase", + Literal[ + "basis", + "basis-open", + "basis-closed", + "bundle", + "cardinal", + "cardinal-open", + "cardinal-closed", + "catmull-rom", + "linear", + "linear-closed", + "monotone", + "natural", + "step", + "step-before", + "step-after", ], UndefinedType, ] = Undefined, opacity: Union[float, UndefinedType] = Undefined, orient: Union[ - Union["Orientation", Literal["horizontal", "vertical"]], UndefinedType + "SchemaBase", Literal["horizontal", "vertical"], UndefinedType ] = Undefined, tension: Union[float, UndefinedType] = Undefined, **kwds, @@ -12526,10 +10663,7 @@ def __init__( class ErrorBar(CompositeMark): - """ErrorBar schema wrapper - - :class:`ErrorBar`, str - """ + """ErrorBar schema wrapper""" _schema = {"$ref": "#/definitions/ErrorBar"} @@ -12540,8 +10674,6 @@ def __init__(self, *args): class ErrorBarConfig(VegaLiteSchema): """ErrorBarConfig schema wrapper - :class:`ErrorBarConfig`, Dict - Parameters ---------- @@ -12557,13 +10689,13 @@ class ErrorBarConfig(VegaLiteSchema): * ``"iqr"`` : Extend the rule to the q1 and q3. **Default value:** ``"stderr"``. - rule : :class:`AnyMarkConfig`, :class:`AreaConfig`, Dict, :class:`BarConfig`, Dict, :class:`LineConfig`, Dict, :class:`MarkConfig`, Dict, :class:`RectConfig`, Dict, :class:`TickConfig`, Dict, bool + rule : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` size : float Size of the ticks of an error bar thickness : float Thickness of the ticks and the bar of an error bar - ticks : :class:`AnyMarkConfig`, :class:`AreaConfig`, Dict, :class:`BarConfig`, Dict, :class:`LineConfig`, Dict, :class:`MarkConfig`, Dict, :class:`RectConfig`, Dict, :class:`TickConfig`, Dict, bool + ticks : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` """ @@ -12572,41 +10704,12 @@ class ErrorBarConfig(VegaLiteSchema): def __init__( self, extent: Union[ - Union["ErrorBarExtent", Literal["ci", "iqr", "stderr", "stdev"]], - UndefinedType, - ] = Undefined, - rule: Union[ - Union[ - Union[ - "AnyMarkConfig", - Union["AreaConfig", dict], - Union["BarConfig", dict], - Union["LineConfig", dict], - Union["MarkConfig", dict], - Union["RectConfig", dict], - Union["TickConfig", dict], - ], - bool, - ], - UndefinedType, + "SchemaBase", Literal["ci", "iqr", "stderr", "stdev"], UndefinedType ] = Undefined, + rule: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, size: Union[float, UndefinedType] = Undefined, thickness: Union[float, UndefinedType] = Undefined, - ticks: Union[ - Union[ - Union[ - "AnyMarkConfig", - Union["AreaConfig", dict], - Union["BarConfig", dict], - Union["LineConfig", dict], - Union["MarkConfig", dict], - Union["RectConfig", dict], - Union["TickConfig", dict], - ], - bool, - ], - UndefinedType, - ] = Undefined, + ticks: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, **kwds, ): super(ErrorBarConfig, self).__init__( @@ -12622,19 +10725,17 @@ def __init__( class ErrorBarDef(CompositeMarkDef): """ErrorBarDef schema wrapper - :class:`ErrorBarDef`, Dict[required=[type]] - Parameters ---------- - type : :class:`ErrorBar`, str + type : str, :class:`ErrorBar` The mark type. This could a primitive mark type (one of ``"bar"``, ``"circle"``, ``"square"``, ``"tick"``, ``"line"``, ``"area"``, ``"point"``, ``"geoshape"``, ``"rule"``, and ``"text"`` ) or a composite mark type ( ``"boxplot"``, ``"errorband"``, ``"errorbar"`` ). clip : bool Whether a composite mark be clipped to the enclosing group’s width and height. - color : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]] + color : str, dict, :class:`Color`, :class:`ExprRef`, :class:`Gradient`, :class:`HexColor`, :class:`ColorName`, :class:`LinearGradient`, :class:`RadialGradient`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Default color. **Default value:** :raw-html:`` @@ -12664,13 +10765,13 @@ class ErrorBarDef(CompositeMarkDef): orient : :class:`Orientation`, Literal['horizontal', 'vertical'] Orientation of the error bar. This is normally automatically determined, but can be specified when the orientation is ambiguous and cannot be automatically determined. - rule : :class:`AnyMarkConfig`, :class:`AreaConfig`, Dict, :class:`BarConfig`, Dict, :class:`LineConfig`, Dict, :class:`MarkConfig`, Dict, :class:`RectConfig`, Dict, :class:`TickConfig`, Dict, bool + rule : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` size : float Size of the ticks of an error bar thickness : float Thickness of the ticks and the bar of an error bar - ticks : :class:`AnyMarkConfig`, :class:`AreaConfig`, Dict, :class:`BarConfig`, Dict, :class:`LineConfig`, Dict, :class:`MarkConfig`, Dict, :class:`RectConfig`, Dict, :class:`TickConfig`, Dict, bool + ticks : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` """ @@ -12678,217 +10779,176 @@ class ErrorBarDef(CompositeMarkDef): def __init__( self, - type: Union[Union["ErrorBar", str], UndefinedType] = Undefined, + type: Union[str, "SchemaBase", UndefinedType] = Undefined, clip: Union[bool, UndefinedType] = Undefined, color: Union[ - Union[ - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], - Union[ - "Gradient", - Union["LinearGradient", dict], - Union["RadialGradient", dict], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, extent: Union[ - Union["ErrorBarExtent", Literal["ci", "iqr", "stderr", "stdev"]], - UndefinedType, + "SchemaBase", Literal["ci", "iqr", "stderr", "stdev"], UndefinedType ] = Undefined, opacity: Union[float, UndefinedType] = Undefined, orient: Union[ - Union["Orientation", Literal["horizontal", "vertical"]], UndefinedType - ] = Undefined, - rule: Union[ - Union[ - Union[ - "AnyMarkConfig", - Union["AreaConfig", dict], - Union["BarConfig", dict], - Union["LineConfig", dict], - Union["MarkConfig", dict], - Union["RectConfig", dict], - Union["TickConfig", dict], - ], - bool, - ], - UndefinedType, + "SchemaBase", Literal["horizontal", "vertical"], UndefinedType ] = Undefined, + rule: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, size: Union[float, UndefinedType] = Undefined, thickness: Union[float, UndefinedType] = Undefined, - ticks: Union[ - Union[ - Union[ - "AnyMarkConfig", - Union["AreaConfig", dict], - Union["BarConfig", dict], - Union["LineConfig", dict], - Union["MarkConfig", dict], - Union["RectConfig", dict], - Union["TickConfig", dict], - ], - bool, - ], - UndefinedType, - ] = Undefined, + ticks: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, **kwds, ): super(ErrorBarDef, self).__init__( @@ -12907,10 +10967,7 @@ def __init__( class ErrorBarExtent(VegaLiteSchema): - """ErrorBarExtent schema wrapper - - :class:`ErrorBarExtent`, Literal['ci', 'iqr', 'stderr', 'stdev'] - """ + """ErrorBarExtent schema wrapper""" _schema = {"$ref": "#/definitions/ErrorBarExtent"} @@ -12919,10 +10976,7 @@ def __init__(self, *args): class Expr(VegaLiteSchema): - """Expr schema wrapper - - :class:`Expr`, str - """ + """Expr schema wrapper""" _schema = {"$ref": "#/definitions/Expr"} @@ -12933,8 +10987,6 @@ def __init__(self, *args): class ExprRef(VegaLiteSchema): """ExprRef schema wrapper - :class:`ExprRef`, Dict[required=[expr]] - Parameters ---------- @@ -12951,14 +11003,12 @@ def __init__(self, expr: Union[str, UndefinedType] = Undefined, **kwds): class FacetEncodingFieldDef(VegaLiteSchema): """FacetEncodingFieldDef schema wrapper - :class:`FacetEncodingFieldDef`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -12966,7 +11016,7 @@ class FacetEncodingFieldDef(VegaLiteSchema): **See also:** `aggregate `__ documentation. - align : :class:`LayoutAlign`, Literal['all', 'each', 'none'], :class:`RowColLayoutAlign`, Dict + align : dict, :class:`LayoutAlign`, :class:`RowColLayoutAlign`, Literal['all', 'each', 'none'] The alignment to apply to grid rows and columns. The supported string values are ``"all"``, ``"each"``, and ``"none"``. @@ -12987,7 +11037,7 @@ class FacetEncodingFieldDef(VegaLiteSchema): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool + bin : bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -13020,7 +11070,7 @@ class FacetEncodingFieldDef(VegaLiteSchema): sub-plots without axes or legends into a uniform grid structure. **Default value:** ``"full"`` - center : :class:`RowColboolean`, Dict, bool + center : bool, dict, :class:`RowColboolean` Boolean flag indicating if subviews should be centered relative to their respective rows or columns. @@ -13046,7 +11096,7 @@ class FacetEncodingFieldDef(VegaLiteSchema): 2) Setting the ``columns`` to ``1`` is equivalent to ``vconcat`` (for ``concat`` ) and to using the ``row`` channel (for ``facet`` and ``repeat`` ). - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -13061,9 +11111,9 @@ class FacetEncodingFieldDef(VegaLiteSchema): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - header : :class:`Header`, Dict, None + header : dict, None, :class:`Header` An object defining properties of a facet's header. - sort : :class:`EncodingSortField`, Dict, :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str], :class:`SortOrder`, Literal['ascending', 'descending'], None + sort : dict, None, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`EncodingSortField`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -13090,7 +11140,7 @@ class FacetEncodingFieldDef(VegaLiteSchema): **Default value:** ``"ascending"`` **Note:** ``null`` is not supported for ``row`` and ``column``. - spacing : :class:`RowColnumber`, Dict, float + spacing : dict, float, :class:`RowColnumber` The spacing in pixels between sub-views of the composition operator. An object of the form ``{"row": number, "column": number}`` can be used to set different spacing values for rows and columns. @@ -13098,7 +11148,7 @@ class FacetEncodingFieldDef(VegaLiteSchema): **Default value** : Depends on ``"spacing"`` property of `the view composition configuration `__ ( ``20`` by default) - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -13107,7 +11157,7 @@ class FacetEncodingFieldDef(VegaLiteSchema): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -13203,239 +11253,187 @@ class FacetEncodingFieldDef(VegaLiteSchema): def __init__( self, shorthand: Union[ - Union[Sequence[str], Union["RepeatRef", dict], str], UndefinedType + str, dict, "SchemaBase", Sequence[str], UndefinedType ] = Undefined, aggregate: Union[ - Union[ - "Aggregate", - Union["ArgmaxDef", dict], - Union["ArgminDef", dict], - Union[ - "NonArgAggregateOp", - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - ], + dict, + "SchemaBase", + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, align: Union[ - Union[ - Union["LayoutAlign", Literal["all", "each", "none"]], - Union["RowColLayoutAlign", dict], - ], - UndefinedType, + dict, "SchemaBase", Literal["all", "each", "none"], UndefinedType ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union["BinParams", dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, "SchemaBase", UndefinedType] = Undefined, bounds: Union[Literal["full", "flush"], UndefinedType] = Undefined, - center: Union[ - Union[Union["RowColboolean", dict], bool], UndefinedType - ] = Undefined, + center: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, columns: Union[float, UndefinedType] = Undefined, - field: Union[ - Union["Field", Union["FieldName", str], Union["RepeatRef", dict]], - UndefinedType, - ] = Undefined, - header: Union[Union[None, Union["Header", dict]], UndefinedType] = Undefined, + field: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, + header: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union["EncodingSortField", dict], - Union[ - "SortArray", - Sequence[Union["DateTime", dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - ], - Union["SortOrder", Literal["ascending", "descending"]], - ], + dict, + None, + "SchemaBase", + Sequence[str], + Sequence[bool], + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, "SchemaBase"]], UndefinedType, ] = Undefined, - spacing: Union[ - Union[Union["RowColnumber", dict], float], UndefinedType - ] = Undefined, + spacing: Union[dict, float, "SchemaBase", UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - "BinnedTimeUnit", - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - ], - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], - ], - Union["TimeUnitParams", dict], - ], - UndefinedType, - ] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType - ] = Undefined, + dict, + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", + ], + UndefinedType, + ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, type: Union[ - Union[ - "StandardType", - Literal["quantitative", "ordinal", "temporal", "nominal"], - ], + "SchemaBase", + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -13463,12 +11461,10 @@ def __init__( class FacetFieldDef(VegaLiteSchema): """FacetFieldDef schema wrapper - :class:`FacetFieldDef`, Dict - Parameters ---------- - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -13480,7 +11476,7 @@ class FacetFieldDef(VegaLiteSchema): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool + bin : bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -13501,7 +11497,7 @@ class FacetFieldDef(VegaLiteSchema): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -13516,9 +11512,9 @@ class FacetFieldDef(VegaLiteSchema): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - header : :class:`Header`, Dict, None + header : dict, None, :class:`Header` An object defining properties of a facet's header. - sort : :class:`EncodingSortField`, Dict, :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str], :class:`SortOrder`, Literal['ascending', 'descending'], None + sort : dict, None, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`EncodingSortField`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -13545,7 +11541,7 @@ class FacetFieldDef(VegaLiteSchema): **Default value:** ``"ascending"`` **Note:** ``null`` is not supported for ``row`` and ``column``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -13554,7 +11550,7 @@ class FacetFieldDef(VegaLiteSchema): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -13650,221 +11646,177 @@ class FacetFieldDef(VegaLiteSchema): def __init__( self, aggregate: Union[ - Union[ - "Aggregate", - Union["ArgmaxDef", dict], - Union["ArgminDef", dict], - Union[ - "NonArgAggregateOp", - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - ], + dict, + "SchemaBase", + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union["BinParams", dict], bool], UndefinedType - ] = Undefined, - field: Union[ - Union["Field", Union["FieldName", str], Union["RepeatRef", dict]], - UndefinedType, - ] = Undefined, - header: Union[Union[None, Union["Header", dict]], UndefinedType] = Undefined, + bin: Union[bool, dict, None, "SchemaBase", UndefinedType] = Undefined, + field: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, + header: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union["EncodingSortField", dict], - Union[ - "SortArray", - Sequence[Union["DateTime", dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - ], - Union["SortOrder", Literal["ascending", "descending"]], - ], + dict, + None, + "SchemaBase", + Sequence[str], + Sequence[bool], + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, "SchemaBase"]], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - "BinnedTimeUnit", - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - ], - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], - ], - Union["TimeUnitParams", dict], - ], - UndefinedType, - ] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType - ] = Undefined, + dict, + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", + ], + UndefinedType, + ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, type: Union[ - Union[ - "StandardType", - Literal["quantitative", "ordinal", "temporal", "nominal"], - ], + "SchemaBase", + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -13886,14 +11838,12 @@ def __init__( class FacetMapping(VegaLiteSchema): """FacetMapping schema wrapper - :class:`FacetMapping`, Dict - Parameters ---------- - column : :class:`FacetFieldDef`, Dict + column : dict, :class:`FacetFieldDef` A field definition for the horizontal facet of trellis plots. - row : :class:`FacetFieldDef`, Dict + row : dict, :class:`FacetFieldDef` A field definition for the vertical facet of trellis plots. """ @@ -13901,8 +11851,8 @@ class FacetMapping(VegaLiteSchema): def __init__( self, - column: Union[Union["FacetFieldDef", dict], UndefinedType] = Undefined, - row: Union[Union["FacetFieldDef", dict], UndefinedType] = Undefined, + column: Union[dict, "SchemaBase", UndefinedType] = Undefined, + row: Union[dict, "SchemaBase", UndefinedType] = Undefined, **kwds, ): super(FacetMapping, self).__init__(column=column, row=row, **kwds) @@ -13911,14 +11861,12 @@ def __init__( class FacetedEncoding(VegaLiteSchema): """FacetedEncoding schema wrapper - :class:`FacetedEncoding`, Dict - Parameters ---------- - angle : :class:`FieldOrDatumDefWithConditionDatumDefnumber`, Dict, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, Dict[required=[shorthand]], :class:`NumericMarkPropDef`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber`, Dict + angle : dict, :class:`NumericMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumber`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber` Rotation angle of point and text marks. - color : :class:`ColorDef`, :class:`FieldOrDatumDefWithConditionDatumDefGradientstringnull`, Dict, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull`, Dict[required=[shorthand]], :class:`ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull`, Dict + color : dict, :class:`ColorDef`, :class:`FieldOrDatumDefWithConditionDatumDefGradientstringnull`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull` Color of the marks – either fill or stroke color based on the ``filled`` property of mark definition. By default, ``color`` represents fill color for ``"area"``, ``"bar"``, ``"tick"``, ``"text"``, ``"trail"``, ``"circle"``, and ``"square"`` / @@ -13934,55 +11882,55 @@ class FacetedEncoding(VegaLiteSchema): encoding if conflicting encodings are specified. 2) See the scale documentation for more information about customizing `color scheme `__. - column : :class:`RowColumnEncodingFieldDef`, Dict[required=[shorthand]] + column : dict, :class:`RowColumnEncodingFieldDef` A field definition for the horizontal facet of trellis plots. - description : :class:`StringFieldDefWithCondition`, Dict[required=[shorthand]], :class:`StringValueDefWithCondition`, Dict + description : dict, :class:`StringFieldDefWithCondition`, :class:`StringValueDefWithCondition` A text description of this mark for ARIA accessibility (SVG output only). For SVG output the ``"aria-label"`` attribute will be set to this description. - detail : :class:`FieldDefWithoutScale`, Dict[required=[shorthand]], Sequence[:class:`FieldDefWithoutScale`, Dict[required=[shorthand]]] + detail : dict, :class:`FieldDefWithoutScale`, Sequence[dict, :class:`FieldDefWithoutScale`] Additional levels of detail for grouping data in aggregate views and in line, trail, and area marks without mapping data to a specific visual channel. - facet : :class:`FacetEncodingFieldDef`, Dict[required=[shorthand]] + facet : dict, :class:`FacetEncodingFieldDef` A field definition for the (flexible) facet of trellis plots. If either ``row`` or ``column`` is specified, this channel will be ignored. - fill : :class:`ColorDef`, :class:`FieldOrDatumDefWithConditionDatumDefGradientstringnull`, Dict, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull`, Dict[required=[shorthand]], :class:`ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull`, Dict + fill : dict, :class:`ColorDef`, :class:`FieldOrDatumDefWithConditionDatumDefGradientstringnull`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull` Fill color of the marks. **Default value:** If undefined, the default color depends on `mark config `__ 's ``color`` property. *Note:* The ``fill`` encoding has higher precedence than ``color``, thus may override the ``color`` encoding if conflicting encodings are specified. - fillOpacity : :class:`FieldOrDatumDefWithConditionDatumDefnumber`, Dict, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, Dict[required=[shorthand]], :class:`NumericMarkPropDef`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber`, Dict + fillOpacity : dict, :class:`NumericMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumber`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber` Fill opacity of the marks. **Default value:** If undefined, the default opacity depends on `mark config `__ 's ``fillOpacity`` property. - href : :class:`StringFieldDefWithCondition`, Dict[required=[shorthand]], :class:`StringValueDefWithCondition`, Dict + href : dict, :class:`StringFieldDefWithCondition`, :class:`StringValueDefWithCondition` A URL to load upon mouse click. - key : :class:`FieldDefWithoutScale`, Dict[required=[shorthand]] + key : dict, :class:`FieldDefWithoutScale` A data field to use as a unique key for data binding. When a visualization’s data is updated, the key value will be used to match data elements to existing mark instances. Use a key channel to enable object constancy for transitions over dynamic data. - latitude : :class:`DatumDef`, Dict, :class:`LatLongDef`, :class:`LatLongFieldDef`, Dict[required=[shorthand]] + latitude : dict, :class:`DatumDef`, :class:`LatLongDef`, :class:`LatLongFieldDef` Latitude position of geographically projected marks. - latitude2 : :class:`DatumDef`, Dict, :class:`Position2Def`, :class:`PositionValueDef`, Dict[required=[value]], :class:`SecondaryFieldDef`, Dict[required=[shorthand]] + latitude2 : dict, :class:`DatumDef`, :class:`Position2Def`, :class:`PositionValueDef`, :class:`SecondaryFieldDef` Latitude-2 position for geographically projected ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. - longitude : :class:`DatumDef`, Dict, :class:`LatLongDef`, :class:`LatLongFieldDef`, Dict[required=[shorthand]] + longitude : dict, :class:`DatumDef`, :class:`LatLongDef`, :class:`LatLongFieldDef` Longitude position of geographically projected marks. - longitude2 : :class:`DatumDef`, Dict, :class:`Position2Def`, :class:`PositionValueDef`, Dict[required=[value]], :class:`SecondaryFieldDef`, Dict[required=[shorthand]] + longitude2 : dict, :class:`DatumDef`, :class:`Position2Def`, :class:`PositionValueDef`, :class:`SecondaryFieldDef` Longitude-2 position for geographically projected ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. - opacity : :class:`FieldOrDatumDefWithConditionDatumDefnumber`, Dict, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, Dict[required=[shorthand]], :class:`NumericMarkPropDef`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber`, Dict + opacity : dict, :class:`NumericMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumber`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber` Opacity of the marks. **Default value:** If undefined, the default opacity depends on `mark config `__ 's ``opacity`` property. - order : :class:`OrderFieldDef`, Dict[required=[shorthand]], :class:`OrderOnlyDef`, Dict, :class:`OrderValueDef`, Dict[required=[value]], Sequence[:class:`OrderFieldDef`, Dict[required=[shorthand]]] + order : dict, :class:`OrderOnlyDef`, :class:`OrderFieldDef`, :class:`OrderValueDef`, Sequence[dict, :class:`OrderFieldDef`] Order of the marks. @@ -13997,13 +11945,13 @@ class FacetedEncoding(VegaLiteSchema): **Note** : In aggregate plots, ``order`` field should be ``aggregate`` d to avoid creating additional aggregation grouping. - radius : :class:`PolarDef`, :class:`PositionDatumDefBase`, Dict, :class:`PositionFieldDefBase`, Dict[required=[shorthand]], :class:`PositionValueDef`, Dict[required=[value]] + radius : dict, :class:`PolarDef`, :class:`PositionValueDef`, :class:`PositionDatumDefBase`, :class:`PositionFieldDefBase` The outer radius in pixels of arc marks. - radius2 : :class:`DatumDef`, Dict, :class:`Position2Def`, :class:`PositionValueDef`, Dict[required=[value]], :class:`SecondaryFieldDef`, Dict[required=[shorthand]] + radius2 : dict, :class:`DatumDef`, :class:`Position2Def`, :class:`PositionValueDef`, :class:`SecondaryFieldDef` The inner radius in pixels of arc marks. - row : :class:`RowColumnEncodingFieldDef`, Dict[required=[shorthand]] + row : dict, :class:`RowColumnEncodingFieldDef` A field definition for the vertical facet of trellis plots. - shape : :class:`FieldOrDatumDefWithConditionDatumDefstringnull`, Dict, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull`, Dict[required=[shorthand]], :class:`ShapeDef`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefTypeForShapestringnull`, Dict + shape : dict, :class:`ShapeDef`, :class:`FieldOrDatumDefWithConditionDatumDefstringnull`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefTypeForShapestringnull` Shape of the mark. @@ -14023,7 +11971,7 @@ class FacetedEncoding(VegaLiteSchema): **Default value:** If undefined, the default shape depends on `mark config `__ 's ``shape`` property. ( ``"circle"`` if unset.) - size : :class:`FieldOrDatumDefWithConditionDatumDefnumber`, Dict, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, Dict[required=[shorthand]], :class:`NumericMarkPropDef`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber`, Dict + size : dict, :class:`NumericMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumber`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber` Size of the mark. @@ -14033,7 +11981,7 @@ class FacetedEncoding(VegaLiteSchema): * For ``"text"`` – the text's font size. * Size is unsupported for ``"line"``, ``"area"``, and ``"rect"``. (Use ``"trail"`` instead of line with varying size) - stroke : :class:`ColorDef`, :class:`FieldOrDatumDefWithConditionDatumDefGradientstringnull`, Dict, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull`, Dict[required=[shorthand]], :class:`ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull`, Dict + stroke : dict, :class:`ColorDef`, :class:`FieldOrDatumDefWithConditionDatumDefGradientstringnull`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull` Stroke color of the marks. **Default value:** If undefined, the default color depends on `mark config `__ 's ``color`` @@ -14041,77 +11989,77 @@ class FacetedEncoding(VegaLiteSchema): *Note:* The ``stroke`` encoding has higher precedence than ``color``, thus may override the ``color`` encoding if conflicting encodings are specified. - strokeDash : :class:`FieldOrDatumDefWithConditionDatumDefnumberArray`, Dict, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray`, Dict[required=[shorthand]], :class:`NumericArrayMarkPropDef`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumberArray`, Dict + strokeDash : dict, :class:`NumericArrayMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumberArray`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumberArray` Stroke dash of the marks. **Default value:** ``[1,0]`` (No dash). - strokeOpacity : :class:`FieldOrDatumDefWithConditionDatumDefnumber`, Dict, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, Dict[required=[shorthand]], :class:`NumericMarkPropDef`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber`, Dict + strokeOpacity : dict, :class:`NumericMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumber`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber` Stroke opacity of the marks. **Default value:** If undefined, the default opacity depends on `mark config `__ 's ``strokeOpacity`` property. - strokeWidth : :class:`FieldOrDatumDefWithConditionDatumDefnumber`, Dict, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, Dict[required=[shorthand]], :class:`NumericMarkPropDef`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber`, Dict + strokeWidth : dict, :class:`NumericMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumber`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber` Stroke width of the marks. **Default value:** If undefined, the default stroke width depends on `mark config `__ 's ``strokeWidth`` property. - text : :class:`FieldOrDatumDefWithConditionStringDatumDefText`, Dict, :class:`FieldOrDatumDefWithConditionStringFieldDefText`, Dict[required=[shorthand]], :class:`TextDef`, :class:`ValueDefWithConditionStringFieldDefText`, Dict + text : dict, :class:`TextDef`, :class:`ValueDefWithConditionStringFieldDefText`, :class:`FieldOrDatumDefWithConditionStringDatumDefText`, :class:`FieldOrDatumDefWithConditionStringFieldDefText` Text of the ``text`` mark. - theta : :class:`PolarDef`, :class:`PositionDatumDefBase`, Dict, :class:`PositionFieldDefBase`, Dict[required=[shorthand]], :class:`PositionValueDef`, Dict[required=[value]] + theta : dict, :class:`PolarDef`, :class:`PositionValueDef`, :class:`PositionDatumDefBase`, :class:`PositionFieldDefBase` For arc marks, the arc length in radians if theta2 is not specified, otherwise the start arc angle. (A value of 0 indicates up or “north”, increasing values proceed clockwise.) For text marks, polar coordinate angle in radians. - theta2 : :class:`DatumDef`, Dict, :class:`Position2Def`, :class:`PositionValueDef`, Dict[required=[value]], :class:`SecondaryFieldDef`, Dict[required=[shorthand]] + theta2 : dict, :class:`DatumDef`, :class:`Position2Def`, :class:`PositionValueDef`, :class:`SecondaryFieldDef` The end angle of arc marks in radians. A value of 0 indicates up or “north”, increasing values proceed clockwise. - tooltip : :class:`StringFieldDefWithCondition`, Dict[required=[shorthand]], :class:`StringValueDefWithCondition`, Dict, None, Sequence[:class:`StringFieldDef`, Dict] + tooltip : dict, None, :class:`StringFieldDefWithCondition`, :class:`StringValueDefWithCondition`, Sequence[dict, :class:`StringFieldDef`] The tooltip text to show upon mouse hover. Specifying ``tooltip`` encoding overrides `the tooltip property in the mark definition `__. See the `tooltip `__ documentation for a detailed discussion about tooltip in Vega-Lite. - url : :class:`StringFieldDefWithCondition`, Dict[required=[shorthand]], :class:`StringValueDefWithCondition`, Dict + url : dict, :class:`StringFieldDefWithCondition`, :class:`StringValueDefWithCondition` The URL of an image mark. - x : :class:`PositionDatumDef`, Dict, :class:`PositionDef`, :class:`PositionFieldDef`, Dict[required=[shorthand]], :class:`PositionValueDef`, Dict[required=[value]] + x : dict, :class:`PositionDef`, :class:`PositionDatumDef`, :class:`PositionFieldDef`, :class:`PositionValueDef` X coordinates of the marks, or width of horizontal ``"bar"`` and ``"area"`` without specified ``x2`` or ``width``. The ``value`` of this channel can be a number or a string ``"width"`` for the width of the plot. - x2 : :class:`DatumDef`, Dict, :class:`Position2Def`, :class:`PositionValueDef`, Dict[required=[value]], :class:`SecondaryFieldDef`, Dict[required=[shorthand]] + x2 : dict, :class:`DatumDef`, :class:`Position2Def`, :class:`PositionValueDef`, :class:`SecondaryFieldDef` X2 coordinates for ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. The ``value`` of this channel can be a number or a string ``"width"`` for the width of the plot. - xError : :class:`SecondaryFieldDef`, Dict[required=[shorthand]], :class:`ValueDefnumber`, Dict[required=[value]] + xError : dict, :class:`ValueDefnumber`, :class:`SecondaryFieldDef` Error value of x coordinates for error specified ``"errorbar"`` and ``"errorband"``. - xError2 : :class:`SecondaryFieldDef`, Dict[required=[shorthand]], :class:`ValueDefnumber`, Dict[required=[value]] + xError2 : dict, :class:`ValueDefnumber`, :class:`SecondaryFieldDef` Secondary error value of x coordinates for error specified ``"errorbar"`` and ``"errorband"``. - xOffset : :class:`OffsetDef`, :class:`ScaleDatumDef`, Dict, :class:`ScaleFieldDef`, Dict[required=[shorthand]], :class:`ValueDefnumber`, Dict[required=[value]] + xOffset : dict, :class:`OffsetDef`, :class:`ScaleDatumDef`, :class:`ScaleFieldDef`, :class:`ValueDefnumber` Offset of x-position of the marks - y : :class:`PositionDatumDef`, Dict, :class:`PositionDef`, :class:`PositionFieldDef`, Dict[required=[shorthand]], :class:`PositionValueDef`, Dict[required=[value]] + y : dict, :class:`PositionDef`, :class:`PositionDatumDef`, :class:`PositionFieldDef`, :class:`PositionValueDef` Y coordinates of the marks, or height of vertical ``"bar"`` and ``"area"`` without specified ``y2`` or ``height``. The ``value`` of this channel can be a number or a string ``"height"`` for the height of the plot. - y2 : :class:`DatumDef`, Dict, :class:`Position2Def`, :class:`PositionValueDef`, Dict[required=[value]], :class:`SecondaryFieldDef`, Dict[required=[shorthand]] + y2 : dict, :class:`DatumDef`, :class:`Position2Def`, :class:`PositionValueDef`, :class:`SecondaryFieldDef` Y2 coordinates for ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. The ``value`` of this channel can be a number or a string ``"height"`` for the height of the plot. - yError : :class:`SecondaryFieldDef`, Dict[required=[shorthand]], :class:`ValueDefnumber`, Dict[required=[value]] + yError : dict, :class:`ValueDefnumber`, :class:`SecondaryFieldDef` Error value of y coordinates for error specified ``"errorbar"`` and ``"errorband"``. - yError2 : :class:`SecondaryFieldDef`, Dict[required=[shorthand]], :class:`ValueDefnumber`, Dict[required=[value]] + yError2 : dict, :class:`ValueDefnumber`, :class:`SecondaryFieldDef` Secondary error value of y coordinates for error specified ``"errorbar"`` and ``"errorband"``. - yOffset : :class:`OffsetDef`, :class:`ScaleDatumDef`, Dict, :class:`ScaleFieldDef`, Dict[required=[shorthand]], :class:`ValueDefnumber`, Dict[required=[value]] + yOffset : dict, :class:`OffsetDef`, :class:`ScaleDatumDef`, :class:`ScaleFieldDef`, :class:`ValueDefnumber` Offset of y-position of the marks """ @@ -14119,326 +12067,52 @@ class FacetedEncoding(VegaLiteSchema): def __init__( self, - angle: Union[ - Union[ - "NumericMarkPropDef", - Union["FieldOrDatumDefWithConditionDatumDefnumber", dict], - Union["FieldOrDatumDefWithConditionMarkPropFieldDefnumber", dict], - Union["ValueDefWithConditionMarkPropFieldOrDatumDefnumber", dict], - ], - UndefinedType, - ] = Undefined, - color: Union[ - Union[ - "ColorDef", - Union["FieldOrDatumDefWithConditionDatumDefGradientstringnull", dict], - Union[ - "FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull", - dict, - ], - Union[ - "ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull", - dict, - ], - ], - UndefinedType, - ] = Undefined, - column: Union[ - Union["RowColumnEncodingFieldDef", dict], UndefinedType - ] = Undefined, - description: Union[ - Union[ - Union["StringFieldDefWithCondition", dict], - Union["StringValueDefWithCondition", dict], - ], - UndefinedType, - ] = Undefined, + angle: Union[dict, "SchemaBase", UndefinedType] = Undefined, + color: Union[dict, "SchemaBase", UndefinedType] = Undefined, + column: Union[dict, "SchemaBase", UndefinedType] = Undefined, + description: Union[dict, "SchemaBase", UndefinedType] = Undefined, detail: Union[ - Union[ - Sequence[Union["FieldDefWithoutScale", dict]], - Union["FieldDefWithoutScale", dict], - ], - UndefinedType, - ] = Undefined, - facet: Union[Union["FacetEncodingFieldDef", dict], UndefinedType] = Undefined, - fill: Union[ - Union[ - "ColorDef", - Union["FieldOrDatumDefWithConditionDatumDefGradientstringnull", dict], - Union[ - "FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull", - dict, - ], - Union[ - "ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull", - dict, - ], - ], - UndefinedType, - ] = Undefined, - fillOpacity: Union[ - Union[ - "NumericMarkPropDef", - Union["FieldOrDatumDefWithConditionDatumDefnumber", dict], - Union["FieldOrDatumDefWithConditionMarkPropFieldDefnumber", dict], - Union["ValueDefWithConditionMarkPropFieldOrDatumDefnumber", dict], - ], - UndefinedType, - ] = Undefined, - href: Union[ - Union[ - Union["StringFieldDefWithCondition", dict], - Union["StringValueDefWithCondition", dict], - ], - UndefinedType, - ] = Undefined, - key: Union[Union["FieldDefWithoutScale", dict], UndefinedType] = Undefined, - latitude: Union[ - Union[ - "LatLongDef", Union["DatumDef", dict], Union["LatLongFieldDef", dict] - ], - UndefinedType, - ] = Undefined, - latitude2: Union[ - Union[ - "Position2Def", - Union["DatumDef", dict], - Union["PositionValueDef", dict], - Union["SecondaryFieldDef", dict], - ], - UndefinedType, - ] = Undefined, - longitude: Union[ - Union[ - "LatLongDef", Union["DatumDef", dict], Union["LatLongFieldDef", dict] - ], - UndefinedType, - ] = Undefined, - longitude2: Union[ - Union[ - "Position2Def", - Union["DatumDef", dict], - Union["PositionValueDef", dict], - Union["SecondaryFieldDef", dict], - ], - UndefinedType, - ] = Undefined, - opacity: Union[ - Union[ - "NumericMarkPropDef", - Union["FieldOrDatumDefWithConditionDatumDefnumber", dict], - Union["FieldOrDatumDefWithConditionMarkPropFieldDefnumber", dict], - Union["ValueDefWithConditionMarkPropFieldOrDatumDefnumber", dict], - ], - UndefinedType, - ] = Undefined, + dict, "SchemaBase", Sequence[Union[dict, "SchemaBase"]], UndefinedType + ] = Undefined, + facet: Union[dict, "SchemaBase", UndefinedType] = Undefined, + fill: Union[dict, "SchemaBase", UndefinedType] = Undefined, + fillOpacity: Union[dict, "SchemaBase", UndefinedType] = Undefined, + href: Union[dict, "SchemaBase", UndefinedType] = Undefined, + key: Union[dict, "SchemaBase", UndefinedType] = Undefined, + latitude: Union[dict, "SchemaBase", UndefinedType] = Undefined, + latitude2: Union[dict, "SchemaBase", UndefinedType] = Undefined, + longitude: Union[dict, "SchemaBase", UndefinedType] = Undefined, + longitude2: Union[dict, "SchemaBase", UndefinedType] = Undefined, + opacity: Union[dict, "SchemaBase", UndefinedType] = Undefined, order: Union[ - Union[ - Sequence[Union["OrderFieldDef", dict]], - Union["OrderFieldDef", dict], - Union["OrderOnlyDef", dict], - Union["OrderValueDef", dict], - ], - UndefinedType, - ] = Undefined, - radius: Union[ - Union[ - "PolarDef", - Union["PositionDatumDefBase", dict], - Union["PositionFieldDefBase", dict], - Union["PositionValueDef", dict], - ], - UndefinedType, - ] = Undefined, - radius2: Union[ - Union[ - "Position2Def", - Union["DatumDef", dict], - Union["PositionValueDef", dict], - Union["SecondaryFieldDef", dict], - ], - UndefinedType, - ] = Undefined, - row: Union[Union["RowColumnEncodingFieldDef", dict], UndefinedType] = Undefined, - shape: Union[ - Union[ - "ShapeDef", - Union["FieldOrDatumDefWithConditionDatumDefstringnull", dict], - Union[ - "FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull", - dict, - ], - Union[ - "ValueDefWithConditionMarkPropFieldOrDatumDefTypeForShapestringnull", - dict, - ], - ], - UndefinedType, - ] = Undefined, - size: Union[ - Union[ - "NumericMarkPropDef", - Union["FieldOrDatumDefWithConditionDatumDefnumber", dict], - Union["FieldOrDatumDefWithConditionMarkPropFieldDefnumber", dict], - Union["ValueDefWithConditionMarkPropFieldOrDatumDefnumber", dict], - ], - UndefinedType, - ] = Undefined, - stroke: Union[ - Union[ - "ColorDef", - Union["FieldOrDatumDefWithConditionDatumDefGradientstringnull", dict], - Union[ - "FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull", - dict, - ], - Union[ - "ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull", - dict, - ], - ], - UndefinedType, - ] = Undefined, - strokeDash: Union[ - Union[ - "NumericArrayMarkPropDef", - Union["FieldOrDatumDefWithConditionDatumDefnumberArray", dict], - Union["FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray", dict], - Union["ValueDefWithConditionMarkPropFieldOrDatumDefnumberArray", dict], - ], - UndefinedType, - ] = Undefined, - strokeOpacity: Union[ - Union[ - "NumericMarkPropDef", - Union["FieldOrDatumDefWithConditionDatumDefnumber", dict], - Union["FieldOrDatumDefWithConditionMarkPropFieldDefnumber", dict], - Union["ValueDefWithConditionMarkPropFieldOrDatumDefnumber", dict], - ], - UndefinedType, - ] = Undefined, - strokeWidth: Union[ - Union[ - "NumericMarkPropDef", - Union["FieldOrDatumDefWithConditionDatumDefnumber", dict], - Union["FieldOrDatumDefWithConditionMarkPropFieldDefnumber", dict], - Union["ValueDefWithConditionMarkPropFieldOrDatumDefnumber", dict], - ], - UndefinedType, - ] = Undefined, - text: Union[ - Union[ - "TextDef", - Union["FieldOrDatumDefWithConditionStringDatumDefText", dict], - Union["FieldOrDatumDefWithConditionStringFieldDefText", dict], - Union["ValueDefWithConditionStringFieldDefText", dict], - ], - UndefinedType, - ] = Undefined, - theta: Union[ - Union[ - "PolarDef", - Union["PositionDatumDefBase", dict], - Union["PositionFieldDefBase", dict], - Union["PositionValueDef", dict], - ], - UndefinedType, - ] = Undefined, - theta2: Union[ - Union[ - "Position2Def", - Union["DatumDef", dict], - Union["PositionValueDef", dict], - Union["SecondaryFieldDef", dict], - ], - UndefinedType, - ] = Undefined, + dict, "SchemaBase", Sequence[Union[dict, "SchemaBase"]], UndefinedType + ] = Undefined, + radius: Union[dict, "SchemaBase", UndefinedType] = Undefined, + radius2: Union[dict, "SchemaBase", UndefinedType] = Undefined, + row: Union[dict, "SchemaBase", UndefinedType] = Undefined, + shape: Union[dict, "SchemaBase", UndefinedType] = Undefined, + size: Union[dict, "SchemaBase", UndefinedType] = Undefined, + stroke: Union[dict, "SchemaBase", UndefinedType] = Undefined, + strokeDash: Union[dict, "SchemaBase", UndefinedType] = Undefined, + strokeOpacity: Union[dict, "SchemaBase", UndefinedType] = Undefined, + strokeWidth: Union[dict, "SchemaBase", UndefinedType] = Undefined, + text: Union[dict, "SchemaBase", UndefinedType] = Undefined, + theta: Union[dict, "SchemaBase", UndefinedType] = Undefined, + theta2: Union[dict, "SchemaBase", UndefinedType] = Undefined, tooltip: Union[ - Union[ - None, - Sequence[Union["StringFieldDef", dict]], - Union["StringFieldDefWithCondition", dict], - Union["StringValueDefWithCondition", dict], - ], - UndefinedType, - ] = Undefined, - url: Union[ - Union[ - Union["StringFieldDefWithCondition", dict], - Union["StringValueDefWithCondition", dict], - ], - UndefinedType, - ] = Undefined, - x: Union[ - Union[ - "PositionDef", - Union["PositionDatumDef", dict], - Union["PositionFieldDef", dict], - Union["PositionValueDef", dict], - ], - UndefinedType, - ] = Undefined, - x2: Union[ - Union[ - "Position2Def", - Union["DatumDef", dict], - Union["PositionValueDef", dict], - Union["SecondaryFieldDef", dict], - ], - UndefinedType, - ] = Undefined, - xError: Union[ - Union[Union["SecondaryFieldDef", dict], Union["ValueDefnumber", dict]], - UndefinedType, - ] = Undefined, - xError2: Union[ - Union[Union["SecondaryFieldDef", dict], Union["ValueDefnumber", dict]], - UndefinedType, - ] = Undefined, - xOffset: Union[ - Union[ - "OffsetDef", - Union["ScaleDatumDef", dict], - Union["ScaleFieldDef", dict], - Union["ValueDefnumber", dict], - ], - UndefinedType, - ] = Undefined, - y: Union[ - Union[ - "PositionDef", - Union["PositionDatumDef", dict], - Union["PositionFieldDef", dict], - Union["PositionValueDef", dict], - ], - UndefinedType, - ] = Undefined, - y2: Union[ - Union[ - "Position2Def", - Union["DatumDef", dict], - Union["PositionValueDef", dict], - Union["SecondaryFieldDef", dict], - ], - UndefinedType, - ] = Undefined, - yError: Union[ - Union[Union["SecondaryFieldDef", dict], Union["ValueDefnumber", dict]], - UndefinedType, - ] = Undefined, - yError2: Union[ - Union[Union["SecondaryFieldDef", dict], Union["ValueDefnumber", dict]], - UndefinedType, - ] = Undefined, - yOffset: Union[ - Union[ - "OffsetDef", - Union["ScaleDatumDef", dict], - Union["ScaleFieldDef", dict], - Union["ValueDefnumber", dict], - ], - UndefinedType, - ] = Undefined, + dict, None, "SchemaBase", Sequence[Union[dict, "SchemaBase"]], UndefinedType + ] = Undefined, + url: Union[dict, "SchemaBase", UndefinedType] = Undefined, + x: Union[dict, "SchemaBase", UndefinedType] = Undefined, + x2: Union[dict, "SchemaBase", UndefinedType] = Undefined, + xError: Union[dict, "SchemaBase", UndefinedType] = Undefined, + xError2: Union[dict, "SchemaBase", UndefinedType] = Undefined, + xOffset: Union[dict, "SchemaBase", UndefinedType] = Undefined, + y: Union[dict, "SchemaBase", UndefinedType] = Undefined, + y2: Union[dict, "SchemaBase", UndefinedType] = Undefined, + yError: Union[dict, "SchemaBase", UndefinedType] = Undefined, + yError2: Union[dict, "SchemaBase", UndefinedType] = Undefined, + yOffset: Union[dict, "SchemaBase", UndefinedType] = Undefined, **kwds, ): super(FacetedEncoding, self).__init__( @@ -14488,24 +12162,22 @@ def __init__( class Feature(VegaLiteSchema): """Feature schema wrapper - - :class:`Feature`, Dict[required=[geometry, properties, type]] A feature object which contains a geometry and associated properties. https://tools.ietf.org/html/rfc7946#section-3.2 Parameters ---------- - geometry : :class:`GeometryCollection`, Dict[required=[geometries, type]], :class:`Geometry`, :class:`LineString`, Dict[required=[coordinates, type]], :class:`MultiLineString`, Dict[required=[coordinates, type]], :class:`MultiPoint`, Dict[required=[coordinates, type]], :class:`MultiPolygon`, Dict[required=[coordinates, type]], :class:`Point`, Dict[required=[coordinates, type]], :class:`Polygon`, Dict[required=[coordinates, type]] + geometry : dict, :class:`Point`, :class:`Polygon`, :class:`Geometry`, :class:`LineString`, :class:`MultiPoint`, :class:`MultiPolygon`, :class:`MultiLineString`, :class:`GeometryCollection` The feature's geometry - properties : :class:`GeoJsonProperties`, Dict, None + properties : dict, None, :class:`GeoJsonProperties` Properties associated with this feature. type : str Specifies the type of GeoJSON object. bbox : :class:`BBox`, Sequence[float] Bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections. https://tools.ietf.org/html/rfc7946#section-5 - id : float, str + id : str, float A value that uniquely identifies this feature in a https://tools.ietf.org/html/rfc7946#section-3.2. """ @@ -14514,25 +12186,11 @@ class Feature(VegaLiteSchema): def __init__( self, - geometry: Union[ - Union[ - "Geometry", - Union["GeometryCollection", dict], - Union["LineString", dict], - Union["MultiLineString", dict], - Union["MultiPoint", dict], - Union["MultiPolygon", dict], - Union["Point", dict], - Union["Polygon", dict], - ], - UndefinedType, - ] = Undefined, - properties: Union[ - Union["GeoJsonProperties", None, dict], UndefinedType - ] = Undefined, + geometry: Union[dict, "SchemaBase", UndefinedType] = Undefined, + properties: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, type: Union[str, UndefinedType] = Undefined, - bbox: Union[Union["BBox", Sequence[float]], UndefinedType] = Undefined, - id: Union[Union[float, str], UndefinedType] = Undefined, + bbox: Union["SchemaBase", Sequence[float], UndefinedType] = Undefined, + id: Union[str, float, UndefinedType] = Undefined, **kwds, ): super(Feature, self).__init__( @@ -14547,14 +12205,12 @@ def __init__( class FeatureCollection(VegaLiteSchema): """FeatureCollection schema wrapper - - :class:`FeatureCollection`, Dict[required=[features, type]] A collection of feature objects. https://tools.ietf.org/html/rfc7946#section-3.3 Parameters ---------- - features : Sequence[:class:`FeatureGeometryGeoJsonProperties`, Dict[required=[geometry, properties, type]]] + features : Sequence[dict, :class:`FeatureGeometryGeoJsonProperties`] type : str Specifies the type of GeoJSON object. @@ -14567,11 +12223,9 @@ class FeatureCollection(VegaLiteSchema): def __init__( self, - features: Union[ - Sequence[Union["FeatureGeometryGeoJsonProperties", dict]], UndefinedType - ] = Undefined, + features: Union[Sequence[Union[dict, "SchemaBase"]], UndefinedType] = Undefined, type: Union[str, UndefinedType] = Undefined, - bbox: Union[Union["BBox", Sequence[float]], UndefinedType] = Undefined, + bbox: Union["SchemaBase", Sequence[float], UndefinedType] = Undefined, **kwds, ): super(FeatureCollection, self).__init__( @@ -14581,24 +12235,22 @@ def __init__( class FeatureGeometryGeoJsonProperties(VegaLiteSchema): """FeatureGeometryGeoJsonProperties schema wrapper - - :class:`FeatureGeometryGeoJsonProperties`, Dict[required=[geometry, properties, type]] A feature object which contains a geometry and associated properties. https://tools.ietf.org/html/rfc7946#section-3.2 Parameters ---------- - geometry : :class:`GeometryCollection`, Dict[required=[geometries, type]], :class:`Geometry`, :class:`LineString`, Dict[required=[coordinates, type]], :class:`MultiLineString`, Dict[required=[coordinates, type]], :class:`MultiPoint`, Dict[required=[coordinates, type]], :class:`MultiPolygon`, Dict[required=[coordinates, type]], :class:`Point`, Dict[required=[coordinates, type]], :class:`Polygon`, Dict[required=[coordinates, type]] + geometry : dict, :class:`Point`, :class:`Polygon`, :class:`Geometry`, :class:`LineString`, :class:`MultiPoint`, :class:`MultiPolygon`, :class:`MultiLineString`, :class:`GeometryCollection` The feature's geometry - properties : :class:`GeoJsonProperties`, Dict, None + properties : dict, None, :class:`GeoJsonProperties` Properties associated with this feature. type : str Specifies the type of GeoJSON object. bbox : :class:`BBox`, Sequence[float] Bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections. https://tools.ietf.org/html/rfc7946#section-5 - id : float, str + id : str, float A value that uniquely identifies this feature in a https://tools.ietf.org/html/rfc7946#section-3.2. """ @@ -14607,25 +12259,11 @@ class FeatureGeometryGeoJsonProperties(VegaLiteSchema): def __init__( self, - geometry: Union[ - Union[ - "Geometry", - Union["GeometryCollection", dict], - Union["LineString", dict], - Union["MultiLineString", dict], - Union["MultiPoint", dict], - Union["MultiPolygon", dict], - Union["Point", dict], - Union["Polygon", dict], - ], - UndefinedType, - ] = Undefined, - properties: Union[ - Union["GeoJsonProperties", None, dict], UndefinedType - ] = Undefined, + geometry: Union[dict, "SchemaBase", UndefinedType] = Undefined, + properties: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, type: Union[str, UndefinedType] = Undefined, - bbox: Union[Union["BBox", Sequence[float]], UndefinedType] = Undefined, - id: Union[Union[float, str], UndefinedType] = Undefined, + bbox: Union["SchemaBase", Sequence[float], UndefinedType] = Undefined, + id: Union[str, float, UndefinedType] = Undefined, **kwds, ): super(FeatureGeometryGeoJsonProperties, self).__init__( @@ -14639,10 +12277,7 @@ def __init__( class Field(VegaLiteSchema): - """Field schema wrapper - - :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] - """ + """Field schema wrapper""" _schema = {"$ref": "#/definitions/Field"} @@ -14652,16 +12287,14 @@ def __init__(self, *args, **kwds): class FieldDefWithoutScale(VegaLiteSchema): """FieldDefWithoutScale schema wrapper - - :class:`FieldDefWithoutScale`, Dict[required=[shorthand]] Definition object for a data field, its type and transformation of an encoding channel. Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -14673,7 +12306,7 @@ class FieldDefWithoutScale(VegaLiteSchema): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool, str + bin : str, bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -14694,7 +12327,7 @@ class FieldDefWithoutScale(VegaLiteSchema): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -14709,7 +12342,7 @@ class FieldDefWithoutScale(VegaLiteSchema): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -14718,7 +12351,7 @@ class FieldDefWithoutScale(VegaLiteSchema): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -14814,208 +12447,168 @@ class FieldDefWithoutScale(VegaLiteSchema): def __init__( self, shorthand: Union[ - Union[Sequence[str], Union["RepeatRef", dict], str], UndefinedType + str, dict, "SchemaBase", Sequence[str], UndefinedType ] = Undefined, aggregate: Union[ - Union[ - "Aggregate", - Union["ArgmaxDef", dict], - Union["ArgminDef", dict], - Union[ - "NonArgAggregateOp", - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - ], + dict, + "SchemaBase", + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union["BinParams", dict], bool, str], UndefinedType - ] = Undefined, - field: Union[ - Union["Field", Union["FieldName", str], Union["RepeatRef", dict]], - UndefinedType, - ] = Undefined, + bin: Union[str, bool, dict, None, "SchemaBase", UndefinedType] = Undefined, + field: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - "BinnedTimeUnit", - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - ], - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], - ], - Union["TimeUnitParams", dict], - ], - UndefinedType, - ] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType - ] = Undefined, + dict, + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", + ], + UndefinedType, + ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, type: Union[ - Union[ - "StandardType", - Literal["quantitative", "ordinal", "temporal", "nominal"], - ], + "SchemaBase", + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -15034,10 +12627,7 @@ def __init__( class FieldName(Field): - """FieldName schema wrapper - - :class:`FieldName`, str - """ + """FieldName schema wrapper""" _schema = {"$ref": "#/definitions/FieldName"} @@ -15048,12 +12638,10 @@ def __init__(self, *args): class FieldOrDatumDefWithConditionStringFieldDefstring(VegaLiteSchema): """FieldOrDatumDefWithConditionStringFieldDefstring schema wrapper - :class:`FieldOrDatumDefWithConditionStringFieldDefstring`, Dict - Parameters ---------- - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -15065,7 +12653,7 @@ class FieldOrDatumDefWithConditionStringFieldDefstring(VegaLiteSchema): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool, str + bin : str, bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -15086,14 +12674,14 @@ class FieldOrDatumDefWithConditionStringFieldDefstring(VegaLiteSchema): **See also:** `bin `__ documentation. - condition : :class:`ConditionalParameterValueDefstringExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringExprRef`, Sequence[:class:`ConditionalParameterValueDefstringExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringExprRef`] + condition : dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`, Sequence[dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -15108,7 +12696,7 @@ class FieldOrDatumDefWithConditionStringFieldDefstring(VegaLiteSchema): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - format : :class:`Dict`, Dict, str + format : str, dict, :class:`Dict` When used with the default ``"number"`` and ``"time"`` format type, the text formatting pattern for labels of guides (axes, legends, headers) and text marks. @@ -15142,7 +12730,7 @@ class FieldOrDatumDefWithConditionStringFieldDefstring(VegaLiteSchema): * ``"time"`` for temporal fields and ordinal and nominal fields with ``timeUnit``. * ``"number"`` for quantitative fields as well as ordinal and nominal fields without ``timeUnit``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -15151,7 +12739,7 @@ class FieldOrDatumDefWithConditionStringFieldDefstring(VegaLiteSchema): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -15249,224 +12837,170 @@ class FieldOrDatumDefWithConditionStringFieldDefstring(VegaLiteSchema): def __init__( self, aggregate: Union[ - Union[ - "Aggregate", - Union["ArgmaxDef", dict], - Union["ArgminDef", dict], - Union[ - "NonArgAggregateOp", - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - ], + dict, + "SchemaBase", + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union["BinParams", dict], bool, str], UndefinedType - ] = Undefined, + bin: Union[str, bool, dict, None, "SchemaBase", UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - "ConditionalValueDefstringExprRef", - Union["ConditionalParameterValueDefstringExprRef", dict], - Union["ConditionalPredicateValueDefstringExprRef", dict], - ] - ], - Union[ - "ConditionalValueDefstringExprRef", - Union["ConditionalParameterValueDefstringExprRef", dict], - Union["ConditionalPredicateValueDefstringExprRef", dict], - ], - ], - UndefinedType, + dict, "SchemaBase", Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, - field: Union[ - Union["Field", Union["FieldName", str], Union["RepeatRef", dict]], - UndefinedType, - ] = Undefined, - format: Union[Union[Union["Dict", dict], str], UndefinedType] = Undefined, + field: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, + format: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - "BinnedTimeUnit", - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - ], - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], - ], - Union["TimeUnitParams", dict], - ], - UndefinedType, - ] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType - ] = Undefined, + dict, + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", + ], + UndefinedType, + ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, type: Union[ - Union[ - "StandardType", - Literal["quantitative", "ordinal", "temporal", "nominal"], - ], + "SchemaBase", + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -15489,8 +13023,6 @@ def __init__( class FieldRange(VegaLiteSchema): """FieldRange schema wrapper - :class:`FieldRange`, Dict[required=[field]] - Parameters ---------- @@ -15505,12 +13037,7 @@ def __init__(self, field: Union[str, UndefinedType] = Undefined, **kwds): class Fit(VegaLiteSchema): - """Fit schema wrapper - - :class:`Fit`, :class:`GeoJsonFeatureCollection`, Dict[required=[features, type]], - :class:`GeoJsonFeature`, Dict[required=[geometry, properties, type]], - Sequence[:class:`GeoJsonFeature`, Dict[required=[geometry, properties, type]]] - """ + """Fit schema wrapper""" _schema = {"$ref": "#/definitions/Fit"} @@ -15519,10 +13046,7 @@ def __init__(self, *args, **kwds): class FontStyle(VegaLiteSchema): - """FontStyle schema wrapper - - :class:`FontStyle`, str - """ + """FontStyle schema wrapper""" _schema = {"$ref": "#/definitions/FontStyle"} @@ -15531,11 +13055,7 @@ def __init__(self, *args): class FontWeight(VegaLiteSchema): - """FontWeight schema wrapper - - :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, - 600, 700, 800, 900] - """ + """FontWeight schema wrapper""" _schema = {"$ref": "#/definitions/FontWeight"} @@ -15546,8 +13066,6 @@ def __init__(self, *args): class FormatConfig(VegaLiteSchema): """FormatConfig schema wrapper - :class:`FormatConfig`, Dict - Parameters ---------- @@ -15630,12 +13148,7 @@ def __init__( class Generator(Data): - """Generator schema wrapper - - :class:`Generator`, :class:`GraticuleGenerator`, Dict[required=[graticule]], - :class:`SequenceGenerator`, Dict[required=[sequence]], :class:`SphereGenerator`, - Dict[required=[sphere]] - """ + """Generator schema wrapper""" _schema = {"$ref": "#/definitions/Generator"} @@ -15645,37 +13158,35 @@ def __init__(self, *args, **kwds): class GenericUnitSpecEncodingAnyMark(VegaLiteSchema): """GenericUnitSpecEncodingAnyMark schema wrapper - - :class:`GenericUnitSpecEncodingAnyMark`, Dict[required=[mark]] Base interface for a unit (single-view) specification. Parameters ---------- - mark : :class:`AnyMark`, :class:`BoxPlotDef`, Dict[required=[type]], :class:`CompositeMarkDef`, :class:`ErrorBandDef`, Dict[required=[type]], :class:`ErrorBarDef`, Dict[required=[type]], :class:`BoxPlot`, str, :class:`CompositeMark`, :class:`ErrorBand`, str, :class:`ErrorBar`, str, :class:`MarkDef`, Dict[required=[type]], :class:`Mark`, Literal['arc', 'area', 'bar', 'image', 'line', 'point', 'rect', 'rule', 'text', 'tick', 'trail', 'circle', 'square', 'geoshape'] + mark : str, dict, :class:`Mark`, :class:`AnyMark`, :class:`BoxPlot`, :class:`MarkDef`, :class:`ErrorBar`, :class:`ErrorBand`, :class:`BoxPlotDef`, :class:`ErrorBarDef`, :class:`ErrorBandDef`, :class:`CompositeMark`, :class:`CompositeMarkDef`, Literal['arc', 'area', 'bar', 'image', 'line', 'point', 'rect', 'rule', 'text', 'tick', 'trail', 'circle', 'square', 'geoshape'] A string describing the mark type (one of ``"bar"``, ``"circle"``, ``"square"``, ``"tick"``, ``"line"``, ``"area"``, ``"point"``, ``"rule"``, ``"geoshape"``, and ``"text"`` ) or a `mark definition object `__. - data : :class:`DataSource`, :class:`InlineData`, Dict[required=[values]], :class:`NamedData`, Dict[required=[name]], :class:`UrlData`, Dict[required=[url]], :class:`Data`, :class:`Generator`, :class:`GraticuleGenerator`, Dict[required=[graticule]], :class:`SequenceGenerator`, Dict[required=[sequence]], :class:`SphereGenerator`, Dict[required=[sphere]], None + data : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` An object describing the data source. Set to ``null`` to ignore the parent's data source. If no data is set, it is derived from the parent. description : str Description of this mark for commenting purpose. - encoding : :class:`Encoding`, Dict + encoding : dict, :class:`Encoding` A key-value mapping between encoding channels and definition of fields. name : str Name of the visualization for later reference. - params : Sequence[:class:`SelectionParameter`, Dict[required=[name, select]]] + params : Sequence[dict, :class:`SelectionParameter`] An array of parameters that may either be simple variables, or more complex selections that map user input to data queries. - projection : :class:`Projection`, Dict + projection : dict, :class:`Projection` An object defining properties of geographic projection, which will be applied to ``shape`` path for ``"geoshape"`` marks and to ``latitude`` and ``"longitude"`` channels for other marks. - title : :class:`Text`, Sequence[str], str, :class:`TitleParams`, Dict[required=[text]] + title : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - transform : Sequence[:class:`AggregateTransform`, Dict[required=[aggregate]], :class:`BinTransform`, Dict[required=[bin, field, as]], :class:`CalculateTransform`, Dict[required=[calculate, as]], :class:`DensityTransform`, Dict[required=[density]], :class:`ExtentTransform`, Dict[required=[extent, param]], :class:`FilterTransform`, Dict[required=[filter]], :class:`FlattenTransform`, Dict[required=[flatten]], :class:`FoldTransform`, Dict[required=[fold]], :class:`ImputeTransform`, Dict[required=[impute, key]], :class:`JoinAggregateTransform`, Dict[required=[joinaggregate]], :class:`LoessTransform`, Dict[required=[loess, on]], :class:`LookupTransform`, Dict[required=[lookup, from]], :class:`PivotTransform`, Dict[required=[pivot, value]], :class:`QuantileTransform`, Dict[required=[quantile]], :class:`RegressionTransform`, Dict[required=[regression, on]], :class:`SampleTransform`, Dict[required=[sample]], :class:`StackTransform`, Dict[required=[stack, groupby, as]], :class:`TimeUnitTransform`, Dict[required=[timeUnit, field, as]], :class:`Transform`, :class:`WindowTransform`, Dict[required=[window]]] + transform : Sequence[dict, :class:`Transform`, :class:`BinTransform`, :class:`FoldTransform`, :class:`LoessTransform`, :class:`PivotTransform`, :class:`StackTransform`, :class:`ExtentTransform`, :class:`FilterTransform`, :class:`ImputeTransform`, :class:`LookupTransform`, :class:`SampleTransform`, :class:`WindowTransform`, :class:`DensityTransform`, :class:`FlattenTransform`, :class:`QuantileTransform`, :class:`TimeUnitTransform`, :class:`AggregateTransform`, :class:`CalculateTransform`, :class:`RegressionTransform`, :class:`JoinAggregateTransform`] An array of data transformations such as filter and new field calculation. """ @@ -15684,101 +13195,36 @@ class GenericUnitSpecEncodingAnyMark(VegaLiteSchema): def __init__( self, mark: Union[ - Union[ - "AnyMark", - Union[ - "CompositeMark", - Union["BoxPlot", str], - Union["ErrorBand", str], - Union["ErrorBar", str], - ], - Union[ - "CompositeMarkDef", - Union["BoxPlotDef", dict], - Union["ErrorBandDef", dict], - Union["ErrorBarDef", dict], - ], - Union[ - "Mark", - Literal[ - "arc", - "area", - "bar", - "image", - "line", - "point", - "rect", - "rule", - "text", - "tick", - "trail", - "circle", - "square", - "geoshape", - ], - ], - Union["MarkDef", dict], - ], - UndefinedType, - ] = Undefined, - data: Union[ - Union[ - None, - Union[ - "Data", - Union[ - "DataSource", - Union["InlineData", dict], - Union["NamedData", dict], - Union["UrlData", dict], - ], - Union[ - "Generator", - Union["GraticuleGenerator", dict], - Union["SequenceGenerator", dict], - Union["SphereGenerator", dict], - ], - ], - ], - UndefinedType, - ] = Undefined, + str, + dict, + "SchemaBase", + Literal[ + "arc", + "area", + "bar", + "image", + "line", + "point", + "rect", + "rule", + "text", + "tick", + "trail", + "circle", + "square", + "geoshape", + ], + UndefinedType, + ] = Undefined, + data: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, description: Union[str, UndefinedType] = Undefined, - encoding: Union[Union["Encoding", dict], UndefinedType] = Undefined, + encoding: Union[dict, "SchemaBase", UndefinedType] = Undefined, name: Union[str, UndefinedType] = Undefined, - params: Union[ - Sequence[Union["SelectionParameter", dict]], UndefinedType - ] = Undefined, - projection: Union[Union["Projection", dict], UndefinedType] = Undefined, - title: Union[ - Union[Union["Text", Sequence[str], str], Union["TitleParams", dict]], - UndefinedType, - ] = Undefined, + params: Union[Sequence[Union[dict, "SchemaBase"]], UndefinedType] = Undefined, + projection: Union[dict, "SchemaBase", UndefinedType] = Undefined, + title: Union[str, dict, "SchemaBase", Sequence[str], UndefinedType] = Undefined, transform: Union[ - Sequence[ - Union[ - "Transform", - Union["AggregateTransform", dict], - Union["BinTransform", dict], - Union["CalculateTransform", dict], - Union["DensityTransform", dict], - Union["ExtentTransform", dict], - Union["FilterTransform", dict], - Union["FlattenTransform", dict], - Union["FoldTransform", dict], - Union["ImputeTransform", dict], - Union["JoinAggregateTransform", dict], - Union["LoessTransform", dict], - Union["LookupTransform", dict], - Union["PivotTransform", dict], - Union["QuantileTransform", dict], - Union["RegressionTransform", dict], - Union["SampleTransform", dict], - Union["StackTransform", dict], - Union["TimeUnitTransform", dict], - Union["WindowTransform", dict], - ] - ], - UndefinedType, + Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, **kwds, ): @@ -15798,24 +13244,22 @@ def __init__( class GeoJsonFeature(Fit): """GeoJsonFeature schema wrapper - - :class:`GeoJsonFeature`, Dict[required=[geometry, properties, type]] A feature object which contains a geometry and associated properties. https://tools.ietf.org/html/rfc7946#section-3.2 Parameters ---------- - geometry : :class:`GeometryCollection`, Dict[required=[geometries, type]], :class:`Geometry`, :class:`LineString`, Dict[required=[coordinates, type]], :class:`MultiLineString`, Dict[required=[coordinates, type]], :class:`MultiPoint`, Dict[required=[coordinates, type]], :class:`MultiPolygon`, Dict[required=[coordinates, type]], :class:`Point`, Dict[required=[coordinates, type]], :class:`Polygon`, Dict[required=[coordinates, type]] + geometry : dict, :class:`Point`, :class:`Polygon`, :class:`Geometry`, :class:`LineString`, :class:`MultiPoint`, :class:`MultiPolygon`, :class:`MultiLineString`, :class:`GeometryCollection` The feature's geometry - properties : :class:`GeoJsonProperties`, Dict, None + properties : dict, None, :class:`GeoJsonProperties` Properties associated with this feature. type : str Specifies the type of GeoJSON object. bbox : :class:`BBox`, Sequence[float] Bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections. https://tools.ietf.org/html/rfc7946#section-5 - id : float, str + id : str, float A value that uniquely identifies this feature in a https://tools.ietf.org/html/rfc7946#section-3.2. """ @@ -15824,25 +13268,11 @@ class GeoJsonFeature(Fit): def __init__( self, - geometry: Union[ - Union[ - "Geometry", - Union["GeometryCollection", dict], - Union["LineString", dict], - Union["MultiLineString", dict], - Union["MultiPoint", dict], - Union["MultiPolygon", dict], - Union["Point", dict], - Union["Polygon", dict], - ], - UndefinedType, - ] = Undefined, - properties: Union[ - Union["GeoJsonProperties", None, dict], UndefinedType - ] = Undefined, + geometry: Union[dict, "SchemaBase", UndefinedType] = Undefined, + properties: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, type: Union[str, UndefinedType] = Undefined, - bbox: Union[Union["BBox", Sequence[float]], UndefinedType] = Undefined, - id: Union[Union[float, str], UndefinedType] = Undefined, + bbox: Union["SchemaBase", Sequence[float], UndefinedType] = Undefined, + id: Union[str, float, UndefinedType] = Undefined, **kwds, ): super(GeoJsonFeature, self).__init__( @@ -15857,14 +13287,12 @@ def __init__( class GeoJsonFeatureCollection(Fit): """GeoJsonFeatureCollection schema wrapper - - :class:`GeoJsonFeatureCollection`, Dict[required=[features, type]] A collection of feature objects. https://tools.ietf.org/html/rfc7946#section-3.3 Parameters ---------- - features : Sequence[:class:`FeatureGeometryGeoJsonProperties`, Dict[required=[geometry, properties, type]]] + features : Sequence[dict, :class:`FeatureGeometryGeoJsonProperties`] type : str Specifies the type of GeoJSON object. @@ -15877,11 +13305,9 @@ class GeoJsonFeatureCollection(Fit): def __init__( self, - features: Union[ - Sequence[Union["FeatureGeometryGeoJsonProperties", dict]], UndefinedType - ] = Undefined, + features: Union[Sequence[Union[dict, "SchemaBase"]], UndefinedType] = Undefined, type: Union[str, UndefinedType] = Undefined, - bbox: Union[Union["BBox", Sequence[float]], UndefinedType] = Undefined, + bbox: Union["SchemaBase", Sequence[float], UndefinedType] = Undefined, **kwds, ): super(GeoJsonFeatureCollection, self).__init__( @@ -15890,10 +13316,7 @@ def __init__( class GeoJsonProperties(VegaLiteSchema): - """GeoJsonProperties schema wrapper - - :class:`GeoJsonProperties`, Dict, None - """ + """GeoJsonProperties schema wrapper""" _schema = {"$ref": "#/definitions/GeoJsonProperties"} @@ -15903,12 +13326,6 @@ def __init__(self, *args, **kwds): class Geometry(VegaLiteSchema): """Geometry schema wrapper - - :class:`GeometryCollection`, Dict[required=[geometries, type]], :class:`Geometry`, - :class:`LineString`, Dict[required=[coordinates, type]], :class:`MultiLineString`, - Dict[required=[coordinates, type]], :class:`MultiPoint`, Dict[required=[coordinates, type]], - :class:`MultiPolygon`, Dict[required=[coordinates, type]], :class:`Point`, - Dict[required=[coordinates, type]], :class:`Polygon`, Dict[required=[coordinates, type]] Union of geometry objects. https://tools.ietf.org/html/rfc7946#section-3 """ @@ -15920,14 +13337,12 @@ def __init__(self, *args, **kwds): class GeometryCollection(Geometry): """GeometryCollection schema wrapper - - :class:`GeometryCollection`, Dict[required=[geometries, type]] Geometry Collection https://tools.ietf.org/html/rfc7946#section-3.1.8 Parameters ---------- - geometries : Sequence[:class:`GeometryCollection`, Dict[required=[geometries, type]], :class:`Geometry`, :class:`LineString`, Dict[required=[coordinates, type]], :class:`MultiLineString`, Dict[required=[coordinates, type]], :class:`MultiPoint`, Dict[required=[coordinates, type]], :class:`MultiPolygon`, Dict[required=[coordinates, type]], :class:`Point`, Dict[required=[coordinates, type]], :class:`Polygon`, Dict[required=[coordinates, type]]] + geometries : Sequence[dict, :class:`Point`, :class:`Polygon`, :class:`Geometry`, :class:`LineString`, :class:`MultiPoint`, :class:`MultiPolygon`, :class:`MultiLineString`, :class:`GeometryCollection`] type : str Specifies the type of GeoJSON object. @@ -15941,22 +13356,10 @@ class GeometryCollection(Geometry): def __init__( self, geometries: Union[ - Sequence[ - Union[ - "Geometry", - Union["GeometryCollection", dict], - Union["LineString", dict], - Union["MultiLineString", dict], - Union["MultiPoint", dict], - Union["MultiPolygon", dict], - Union["Point", dict], - Union["Polygon", dict], - ] - ], - UndefinedType, + Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, type: Union[str, UndefinedType] = Undefined, - bbox: Union[Union["BBox", Sequence[float]], UndefinedType] = Undefined, + bbox: Union["SchemaBase", Sequence[float], UndefinedType] = Undefined, **kwds, ): super(GeometryCollection, self).__init__( @@ -15965,11 +13368,7 @@ def __init__( class Gradient(VegaLiteSchema): - """Gradient schema wrapper - - :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], - :class:`RadialGradient`, Dict[required=[gradient, stops]] - """ + """Gradient schema wrapper""" _schema = {"$ref": "#/definitions/Gradient"} @@ -15980,12 +13379,10 @@ def __init__(self, *args, **kwds): class GradientStop(VegaLiteSchema): """GradientStop schema wrapper - :class:`GradientStop`, Dict[required=[offset, color]] - Parameters ---------- - color : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str + color : str, :class:`Color`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] The color value at this point in the gradient. offset : float The offset fraction for the color stop, indicating its position within the gradient. @@ -15996,163 +13393,157 @@ class GradientStop(VegaLiteSchema): def __init__( self, color: Union[ - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, + str, + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, @@ -16165,12 +13556,10 @@ def __init__( class GraticuleGenerator(Generator): """GraticuleGenerator schema wrapper - :class:`GraticuleGenerator`, Dict[required=[graticule]] - Parameters ---------- - graticule : :class:`GraticuleParams`, Dict, bool + graticule : bool, dict, :class:`GraticuleParams` Generate graticule GeoJSON data for geographic reference lines. name : str Provide a placeholder name and bind data at runtime. @@ -16180,9 +13569,7 @@ class GraticuleGenerator(Generator): def __init__( self, - graticule: Union[ - Union[Union["GraticuleParams", dict], bool], UndefinedType - ] = Undefined, + graticule: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, name: Union[str, UndefinedType] = Undefined, **kwds, ): @@ -16192,28 +13579,26 @@ def __init__( class GraticuleParams(VegaLiteSchema): """GraticuleParams schema wrapper - :class:`GraticuleParams`, Dict - Parameters ---------- - extent : :class:`Vector2Vector2number`, Sequence[:class:`Vector2number`, Sequence[float]] + extent : :class:`Vector2Vector2number`, Sequence[Sequence[float], :class:`Vector2number`] Sets both the major and minor extents to the same values. - extentMajor : :class:`Vector2Vector2number`, Sequence[:class:`Vector2number`, Sequence[float]] + extentMajor : :class:`Vector2Vector2number`, Sequence[Sequence[float], :class:`Vector2number`] The major extent of the graticule as a two-element array of coordinates. - extentMinor : :class:`Vector2Vector2number`, Sequence[:class:`Vector2number`, Sequence[float]] + extentMinor : :class:`Vector2Vector2number`, Sequence[Sequence[float], :class:`Vector2number`] The minor extent of the graticule as a two-element array of coordinates. precision : float The precision of the graticule in degrees. **Default value:** ``2.5`` - step : :class:`Vector2number`, Sequence[float] + step : Sequence[float], :class:`Vector2number` Sets both the major and minor step angles to the same values. - stepMajor : :class:`Vector2number`, Sequence[float] + stepMajor : Sequence[float], :class:`Vector2number` The major step angles of the graticule. **Default value:** ``[90, 360]`` - stepMinor : :class:`Vector2number`, Sequence[float] + stepMinor : Sequence[float], :class:`Vector2number` The minor step angles of the graticule. **Default value:** ``[10, 10]`` @@ -16224,34 +13609,18 @@ class GraticuleParams(VegaLiteSchema): def __init__( self, extent: Union[ - Union[ - "Vector2Vector2number", - Sequence[Union["Vector2number", Sequence[float]]], - ], - UndefinedType, + "SchemaBase", Sequence[Union["SchemaBase", Sequence[float]]], UndefinedType ] = Undefined, extentMajor: Union[ - Union[ - "Vector2Vector2number", - Sequence[Union["Vector2number", Sequence[float]]], - ], - UndefinedType, + "SchemaBase", Sequence[Union["SchemaBase", Sequence[float]]], UndefinedType ] = Undefined, extentMinor: Union[ - Union[ - "Vector2Vector2number", - Sequence[Union["Vector2number", Sequence[float]]], - ], - UndefinedType, + "SchemaBase", Sequence[Union["SchemaBase", Sequence[float]]], UndefinedType ] = Undefined, precision: Union[float, UndefinedType] = Undefined, - step: Union[Union["Vector2number", Sequence[float]], UndefinedType] = Undefined, - stepMajor: Union[ - Union["Vector2number", Sequence[float]], UndefinedType - ] = Undefined, - stepMinor: Union[ - Union["Vector2number", Sequence[float]], UndefinedType - ] = Undefined, + step: Union["SchemaBase", Sequence[float], UndefinedType] = Undefined, + stepMajor: Union["SchemaBase", Sequence[float], UndefinedType] = Undefined, + stepMinor: Union["SchemaBase", Sequence[float], UndefinedType] = Undefined, **kwds, ): super(GraticuleParams, self).__init__( @@ -16268,14 +13637,12 @@ def __init__( class Header(VegaLiteSchema): """Header schema wrapper - - :class:`Header`, Dict Headers of row / column channels for faceted plots. Parameters ---------- - format : :class:`Dict`, Dict, str + format : str, dict, :class:`Dict` When used with the default ``"number"`` and ``"time"`` format type, the text formatting pattern for labels of guides (axes, legends, headers) and text marks. @@ -16309,7 +13676,7 @@ class Header(VegaLiteSchema): * ``"time"`` for temporal fields and ordinal and nominal fields with ``timeUnit``. * ``"number"`` for quantitative fields as well as ordinal and nominal fields without ``timeUnit``. - labelAlign : :class:`Align`, Literal['left', 'center', 'right'], :class:`ExprRef`, Dict[required=[expr]] + labelAlign : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] Horizontal text alignment of header labels. One of ``"left"``, ``"center"``, or ``"right"``. labelAnchor : :class:`TitleAnchor`, Literal[None, 'start', 'middle', 'end'] @@ -16320,13 +13687,13 @@ class Header(VegaLiteSchema): The rotation angle of the header labels. **Default value:** ``0`` for column header, ``-90`` for row header. - labelBaseline : :class:`Baseline`, Literal['top', 'middle', 'bottom'], :class:`TextBaseline`, str, :class:`ExprRef`, Dict[required=[expr]] + labelBaseline : str, dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['top', 'middle', 'bottom'] The vertical text baseline for the header labels. One of ``"alphabetic"`` (default), ``"top"``, ``"middle"``, ``"bottom"``, ``"line-top"``, or ``"line-bottom"``. The ``"line-top"`` and ``"line-bottom"`` values operate similarly to ``"top"`` and ``"bottom"``, but are calculated relative to the ``titleLineHeight`` rather than ``titleFontSize`` alone. - labelColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]] + labelColor : str, dict, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] The color of the header label, can be in hex color code or regular color name. labelExpr : str `Vega expression `__ for customizing @@ -16334,26 +13701,26 @@ class Header(VegaLiteSchema): **Note:** The label text and value can be assessed via the ``label`` and ``value`` properties of the header's backing ``datum`` object. - labelFont : :class:`ExprRef`, Dict[required=[expr]], str + labelFont : str, dict, :class:`ExprRef` The font of the header label. - labelFontSize : :class:`ExprRef`, Dict[required=[expr]], float + labelFontSize : dict, float, :class:`ExprRef` The font size of the header label, in pixels. - labelFontStyle : :class:`ExprRef`, Dict[required=[expr]], :class:`FontStyle`, str + labelFontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` The font style of the header label. - labelFontWeight : :class:`ExprRef`, Dict[required=[expr]], :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + labelFontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] The font weight of the header label. - labelLimit : :class:`ExprRef`, Dict[required=[expr]], float + labelLimit : dict, float, :class:`ExprRef` The maximum length of the header label in pixels. The text value will be automatically truncated if the rendered size exceeds the limit. **Default value:** ``0``, indicating no limit - labelLineHeight : :class:`ExprRef`, Dict[required=[expr]], float + labelLineHeight : dict, float, :class:`ExprRef` Line height in pixels for multi-line header labels or title text with ``"line-top"`` or ``"line-bottom"`` baseline. labelOrient : :class:`Orient`, Literal['left', 'right', 'top', 'bottom'] The orientation of the header label. One of ``"top"``, ``"bottom"``, ``"left"`` or ``"right"``. - labelPadding : :class:`ExprRef`, Dict[required=[expr]], float + labelPadding : dict, float, :class:`ExprRef` The padding, in pixel, between facet header's label and the plot. **Default value:** ``10`` @@ -16363,7 +13730,7 @@ class Header(VegaLiteSchema): **Default value:** ``true``. orient : :class:`Orient`, Literal['left', 'right', 'top', 'bottom'] Shortcut for setting both labelOrient and titleOrient. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -16383,7 +13750,7 @@ class Header(VegaLiteSchema): 2) If both field definition's ``title`` and axis, header, or legend ``title`` are defined, axis/header/legend title will be used. - titleAlign : :class:`Align`, Literal['left', 'center', 'right'], :class:`ExprRef`, Dict[required=[expr]] + titleAlign : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] Horizontal text alignment (to the anchor) of header titles. titleAnchor : :class:`TitleAnchor`, Literal[None, 'start', 'middle', 'end'] The anchor position for placing the title. One of ``"start"``, ``"middle"``, or @@ -16393,7 +13760,7 @@ class Header(VegaLiteSchema): The rotation angle of the header title. **Default value:** ``0``. - titleBaseline : :class:`Baseline`, Literal['top', 'middle', 'bottom'], :class:`TextBaseline`, str, :class:`ExprRef`, Dict[required=[expr]] + titleBaseline : str, dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['top', 'middle', 'bottom'] The vertical text baseline for the header title. One of ``"alphabetic"`` (default), ``"top"``, ``"middle"``, ``"bottom"``, ``"line-top"``, or ``"line-bottom"``. The ``"line-top"`` and ``"line-bottom"`` values operate similarly to ``"top"`` and @@ -16401,30 +13768,30 @@ class Header(VegaLiteSchema): ``titleFontSize`` alone. **Default value:** ``"middle"`` - titleColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]] + titleColor : str, dict, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Color of the header title, can be in hex color code or regular color name. - titleFont : :class:`ExprRef`, Dict[required=[expr]], str + titleFont : str, dict, :class:`ExprRef` Font of the header title. (e.g., ``"Helvetica Neue"`` ). - titleFontSize : :class:`ExprRef`, Dict[required=[expr]], float + titleFontSize : dict, float, :class:`ExprRef` Font size of the header title. - titleFontStyle : :class:`ExprRef`, Dict[required=[expr]], :class:`FontStyle`, str + titleFontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` The font style of the header title. - titleFontWeight : :class:`ExprRef`, Dict[required=[expr]], :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + titleFontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] Font weight of the header title. This can be either a string (e.g ``"bold"``, ``"normal"`` ) or a number ( ``100``, ``200``, ``300``, ..., ``900`` where ``"normal"`` = ``400`` and ``"bold"`` = ``700`` ). - titleLimit : :class:`ExprRef`, Dict[required=[expr]], float + titleLimit : dict, float, :class:`ExprRef` The maximum length of the header title in pixels. The text value will be automatically truncated if the rendered size exceeds the limit. **Default value:** ``0``, indicating no limit - titleLineHeight : :class:`ExprRef`, Dict[required=[expr]], float + titleLineHeight : dict, float, :class:`ExprRef` Line height in pixels for multi-line header title text or title text with ``"line-top"`` or ``"line-bottom"`` baseline. titleOrient : :class:`Orient`, Literal['left', 'right', 'top', 'bottom'] The orientation of the header title. One of ``"top"``, ``"bottom"``, ``"left"`` or ``"right"``. - titlePadding : :class:`ExprRef`, Dict[required=[expr]], float + titlePadding : dict, float, :class:`ExprRef` The padding, in pixel, between facet header's title and the label. **Default value:** ``10`` @@ -16434,479 +13801,449 @@ class Header(VegaLiteSchema): def __init__( self, - format: Union[Union[Union["Dict", dict], str], UndefinedType] = Undefined, + format: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, labelAlign: Union[ - Union[ - Union["Align", Literal["left", "center", "right"]], - Union["ExprRef", "_Parameter", dict], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["left", "center", "right"], UndefinedType, ] = Undefined, labelAnchor: Union[ - Union["TitleAnchor", Literal[None, "start", "middle", "end"]], UndefinedType + "SchemaBase", Literal[None, "start", "middle", "end"], UndefinedType ] = Undefined, labelAngle: Union[float, UndefinedType] = Undefined, labelBaseline: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "TextBaseline", - Union["Baseline", Literal["top", "middle", "bottom"]], - str, - ], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, labelColor: Union[ - Union[ - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], + str, + dict, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, labelExpr: Union[str, UndefinedType] = Undefined, labelFont: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelFontSize: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelFontStyle: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["FontStyle", str]], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelFontWeight: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "FontWeight", - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, labelLimit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelLineHeight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelOrient: Union[ - Union["Orient", Literal["left", "right", "top", "bottom"]], UndefinedType + "SchemaBase", Literal["left", "right", "top", "bottom"], UndefinedType ] = Undefined, labelPadding: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labels: Union[bool, UndefinedType] = Undefined, orient: Union[ - Union["Orient", Literal["left", "right", "top", "bottom"]], UndefinedType - ] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType + "SchemaBase", Literal["left", "right", "top", "bottom"], UndefinedType ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, titleAlign: Union[ - Union[ - Union["Align", Literal["left", "center", "right"]], - Union["ExprRef", "_Parameter", dict], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["left", "center", "right"], UndefinedType, ] = Undefined, titleAnchor: Union[ - Union["TitleAnchor", Literal[None, "start", "middle", "end"]], UndefinedType + "SchemaBase", Literal[None, "start", "middle", "end"], UndefinedType ] = Undefined, titleAngle: Union[float, UndefinedType] = Undefined, titleBaseline: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "TextBaseline", - Union["Baseline", Literal["top", "middle", "bottom"]], - str, - ], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, titleColor: Union[ - Union[ - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], + str, + dict, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, titleFont: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleFontSize: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleFontStyle: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["FontStyle", str]], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleFontWeight: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "FontWeight", - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, titleLimit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleLineHeight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleOrient: Union[ - Union["Orient", Literal["left", "right", "top", "bottom"]], UndefinedType + "SchemaBase", Literal["left", "right", "top", "bottom"], UndefinedType ] = Undefined, titlePadding: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, **kwds, ): @@ -16950,12 +14287,10 @@ def __init__( class HeaderConfig(VegaLiteSchema): """HeaderConfig schema wrapper - :class:`HeaderConfig`, Dict - Parameters ---------- - format : :class:`Dict`, Dict, str + format : str, dict, :class:`Dict` When used with the default ``"number"`` and ``"time"`` format type, the text formatting pattern for labels of guides (axes, legends, headers) and text marks. @@ -16989,7 +14324,7 @@ class HeaderConfig(VegaLiteSchema): * ``"time"`` for temporal fields and ordinal and nominal fields with ``timeUnit``. * ``"number"`` for quantitative fields as well as ordinal and nominal fields without ``timeUnit``. - labelAlign : :class:`Align`, Literal['left', 'center', 'right'], :class:`ExprRef`, Dict[required=[expr]] + labelAlign : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] Horizontal text alignment of header labels. One of ``"left"``, ``"center"``, or ``"right"``. labelAnchor : :class:`TitleAnchor`, Literal[None, 'start', 'middle', 'end'] @@ -17000,13 +14335,13 @@ class HeaderConfig(VegaLiteSchema): The rotation angle of the header labels. **Default value:** ``0`` for column header, ``-90`` for row header. - labelBaseline : :class:`Baseline`, Literal['top', 'middle', 'bottom'], :class:`TextBaseline`, str, :class:`ExprRef`, Dict[required=[expr]] + labelBaseline : str, dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['top', 'middle', 'bottom'] The vertical text baseline for the header labels. One of ``"alphabetic"`` (default), ``"top"``, ``"middle"``, ``"bottom"``, ``"line-top"``, or ``"line-bottom"``. The ``"line-top"`` and ``"line-bottom"`` values operate similarly to ``"top"`` and ``"bottom"``, but are calculated relative to the ``titleLineHeight`` rather than ``titleFontSize`` alone. - labelColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]] + labelColor : str, dict, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] The color of the header label, can be in hex color code or regular color name. labelExpr : str `Vega expression `__ for customizing @@ -17014,26 +14349,26 @@ class HeaderConfig(VegaLiteSchema): **Note:** The label text and value can be assessed via the ``label`` and ``value`` properties of the header's backing ``datum`` object. - labelFont : :class:`ExprRef`, Dict[required=[expr]], str + labelFont : str, dict, :class:`ExprRef` The font of the header label. - labelFontSize : :class:`ExprRef`, Dict[required=[expr]], float + labelFontSize : dict, float, :class:`ExprRef` The font size of the header label, in pixels. - labelFontStyle : :class:`ExprRef`, Dict[required=[expr]], :class:`FontStyle`, str + labelFontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` The font style of the header label. - labelFontWeight : :class:`ExprRef`, Dict[required=[expr]], :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + labelFontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] The font weight of the header label. - labelLimit : :class:`ExprRef`, Dict[required=[expr]], float + labelLimit : dict, float, :class:`ExprRef` The maximum length of the header label in pixels. The text value will be automatically truncated if the rendered size exceeds the limit. **Default value:** ``0``, indicating no limit - labelLineHeight : :class:`ExprRef`, Dict[required=[expr]], float + labelLineHeight : dict, float, :class:`ExprRef` Line height in pixels for multi-line header labels or title text with ``"line-top"`` or ``"line-bottom"`` baseline. labelOrient : :class:`Orient`, Literal['left', 'right', 'top', 'bottom'] The orientation of the header label. One of ``"top"``, ``"bottom"``, ``"left"`` or ``"right"``. - labelPadding : :class:`ExprRef`, Dict[required=[expr]], float + labelPadding : dict, float, :class:`ExprRef` The padding, in pixel, between facet header's label and the plot. **Default value:** ``10`` @@ -17045,7 +14380,7 @@ class HeaderConfig(VegaLiteSchema): Shortcut for setting both labelOrient and titleOrient. title : None Set to null to disable title for the axis, legend, or header. - titleAlign : :class:`Align`, Literal['left', 'center', 'right'], :class:`ExprRef`, Dict[required=[expr]] + titleAlign : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] Horizontal text alignment (to the anchor) of header titles. titleAnchor : :class:`TitleAnchor`, Literal[None, 'start', 'middle', 'end'] The anchor position for placing the title. One of ``"start"``, ``"middle"``, or @@ -17055,7 +14390,7 @@ class HeaderConfig(VegaLiteSchema): The rotation angle of the header title. **Default value:** ``0``. - titleBaseline : :class:`Baseline`, Literal['top', 'middle', 'bottom'], :class:`TextBaseline`, str, :class:`ExprRef`, Dict[required=[expr]] + titleBaseline : str, dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['top', 'middle', 'bottom'] The vertical text baseline for the header title. One of ``"alphabetic"`` (default), ``"top"``, ``"middle"``, ``"bottom"``, ``"line-top"``, or ``"line-bottom"``. The ``"line-top"`` and ``"line-bottom"`` values operate similarly to ``"top"`` and @@ -17063,30 +14398,30 @@ class HeaderConfig(VegaLiteSchema): ``titleFontSize`` alone. **Default value:** ``"middle"`` - titleColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]] + titleColor : str, dict, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Color of the header title, can be in hex color code or regular color name. - titleFont : :class:`ExprRef`, Dict[required=[expr]], str + titleFont : str, dict, :class:`ExprRef` Font of the header title. (e.g., ``"Helvetica Neue"`` ). - titleFontSize : :class:`ExprRef`, Dict[required=[expr]], float + titleFontSize : dict, float, :class:`ExprRef` Font size of the header title. - titleFontStyle : :class:`ExprRef`, Dict[required=[expr]], :class:`FontStyle`, str + titleFontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` The font style of the header title. - titleFontWeight : :class:`ExprRef`, Dict[required=[expr]], :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + titleFontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] Font weight of the header title. This can be either a string (e.g ``"bold"``, ``"normal"`` ) or a number ( ``100``, ``200``, ``300``, ..., ``900`` where ``"normal"`` = ``400`` and ``"bold"`` = ``700`` ). - titleLimit : :class:`ExprRef`, Dict[required=[expr]], float + titleLimit : dict, float, :class:`ExprRef` The maximum length of the header title in pixels. The text value will be automatically truncated if the rendered size exceeds the limit. **Default value:** ``0``, indicating no limit - titleLineHeight : :class:`ExprRef`, Dict[required=[expr]], float + titleLineHeight : dict, float, :class:`ExprRef` Line height in pixels for multi-line header title text or title text with ``"line-top"`` or ``"line-bottom"`` baseline. titleOrient : :class:`Orient`, Literal['left', 'right', 'top', 'bottom'] The orientation of the header title. One of ``"top"``, ``"bottom"``, ``"left"`` or ``"right"``. - titlePadding : :class:`ExprRef`, Dict[required=[expr]], float + titlePadding : dict, float, :class:`ExprRef` The padding, in pixel, between facet header's title and the label. **Default value:** ``10`` @@ -17096,477 +14431,449 @@ class HeaderConfig(VegaLiteSchema): def __init__( self, - format: Union[Union[Union["Dict", dict], str], UndefinedType] = Undefined, + format: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, labelAlign: Union[ - Union[ - Union["Align", Literal["left", "center", "right"]], - Union["ExprRef", "_Parameter", dict], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["left", "center", "right"], UndefinedType, ] = Undefined, labelAnchor: Union[ - Union["TitleAnchor", Literal[None, "start", "middle", "end"]], UndefinedType + "SchemaBase", Literal[None, "start", "middle", "end"], UndefinedType ] = Undefined, labelAngle: Union[float, UndefinedType] = Undefined, labelBaseline: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "TextBaseline", - Union["Baseline", Literal["top", "middle", "bottom"]], - str, - ], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, labelColor: Union[ - Union[ - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], + str, + dict, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, labelExpr: Union[str, UndefinedType] = Undefined, labelFont: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelFontSize: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelFontStyle: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["FontStyle", str]], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelFontWeight: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "FontWeight", - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, labelLimit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelLineHeight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelOrient: Union[ - Union["Orient", Literal["left", "right", "top", "bottom"]], UndefinedType + "SchemaBase", Literal["left", "right", "top", "bottom"], UndefinedType ] = Undefined, labelPadding: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labels: Union[bool, UndefinedType] = Undefined, orient: Union[ - Union["Orient", Literal["left", "right", "top", "bottom"]], UndefinedType + "SchemaBase", Literal["left", "right", "top", "bottom"], UndefinedType ] = Undefined, title: Union[None, UndefinedType] = Undefined, titleAlign: Union[ - Union[ - Union["Align", Literal["left", "center", "right"]], - Union["ExprRef", "_Parameter", dict], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["left", "center", "right"], UndefinedType, ] = Undefined, titleAnchor: Union[ - Union["TitleAnchor", Literal[None, "start", "middle", "end"]], UndefinedType + "SchemaBase", Literal[None, "start", "middle", "end"], UndefinedType ] = Undefined, titleAngle: Union[float, UndefinedType] = Undefined, titleBaseline: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "TextBaseline", - Union["Baseline", Literal["top", "middle", "bottom"]], - str, - ], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, titleColor: Union[ - Union[ - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], + str, + dict, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, titleFont: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleFontSize: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleFontStyle: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["FontStyle", str]], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleFontWeight: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "FontWeight", - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, titleLimit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleLineHeight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleOrient: Union[ - Union["Orient", Literal["left", "right", "top", "bottom"]], UndefinedType + "SchemaBase", Literal["left", "right", "top", "bottom"], UndefinedType ] = Undefined, titlePadding: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, **kwds, ): @@ -17608,10 +14915,7 @@ def __init__( class HexColor(Color): - """HexColor schema wrapper - - :class:`HexColor`, str - """ + """HexColor schema wrapper""" _schema = {"$ref": "#/definitions/HexColor"} @@ -17620,10 +14924,7 @@ def __init__(self, *args): class ImputeMethod(VegaLiteSchema): - """ImputeMethod schema wrapper - - :class:`ImputeMethod`, Literal['value', 'median', 'max', 'min', 'mean'] - """ + """ImputeMethod schema wrapper""" _schema = {"$ref": "#/definitions/ImputeMethod"} @@ -17634,8 +14935,6 @@ def __init__(self, *args): class ImputeParams(VegaLiteSchema): """ImputeParams schema wrapper - :class:`ImputeParams`, Dict - Parameters ---------- @@ -17649,7 +14948,7 @@ class ImputeParams(VegaLiteSchema): **Default value:** : ``[null, null]`` indicating that the window includes all objects. - keyvals : :class:`ImputeSequence`, Dict[required=[stop]], Sequence[Any] + keyvals : dict, Sequence[Any], :class:`ImputeSequence` Defines the key values that should be considered for imputation. An array of key values or an object defining a `number sequence `__. @@ -17674,11 +14973,10 @@ class ImputeParams(VegaLiteSchema): def __init__( self, frame: Union[Sequence[Union[None, float]], UndefinedType] = Undefined, - keyvals: Union[ - Union[Sequence[Any], Union["ImputeSequence", dict]], UndefinedType - ] = Undefined, + keyvals: Union[dict, "SchemaBase", Sequence[Any], UndefinedType] = Undefined, method: Union[ - Union["ImputeMethod", Literal["value", "median", "max", "min", "mean"]], + "SchemaBase", + Literal["value", "median", "max", "min", "mean"], UndefinedType, ] = Undefined, value: Union[Any, UndefinedType] = Undefined, @@ -17692,8 +14990,6 @@ def __init__( class ImputeSequence(VegaLiteSchema): """ImputeSequence schema wrapper - :class:`ImputeSequence`, Dict[required=[stop]] - Parameters ---------- @@ -17721,16 +15017,14 @@ def __init__( class InlineData(DataSource): """InlineData schema wrapper - :class:`InlineData`, Dict[required=[values]] - Parameters ---------- - values : :class:`InlineDataset`, Dict, Sequence[Dict], Sequence[bool], Sequence[float], Sequence[str], str + values : str, dict, Sequence[str], Sequence[bool], Sequence[dict], Sequence[float], :class:`InlineDataset` The full data set, included inline. This can be an array of objects or primitive values, an object, or a string. Arrays of primitive values are ingested as objects with a ``data`` property. Strings are parsed according to the specified format type. - format : :class:`CsvDataFormat`, Dict, :class:`DataFormat`, :class:`DsvDataFormat`, Dict[required=[delimiter]], :class:`JsonDataFormat`, Dict, :class:`TopoDataFormat`, Dict + format : dict, :class:`DataFormat`, :class:`CsvDataFormat`, :class:`DsvDataFormat`, :class:`JsonDataFormat`, :class:`TopoDataFormat` An object that specifies the format for parsing the data. name : str Provide a placeholder name and bind data at runtime. @@ -17741,27 +15035,16 @@ class InlineData(DataSource): def __init__( self, values: Union[ - Union[ - "InlineDataset", - Sequence[bool], - Sequence[dict], - Sequence[float], - Sequence[str], - dict, - str, - ], - UndefinedType, - ] = Undefined, - format: Union[ - Union[ - "DataFormat", - Union["CsvDataFormat", dict], - Union["DsvDataFormat", dict], - Union["JsonDataFormat", dict], - Union["TopoDataFormat", dict], - ], + str, + dict, + "SchemaBase", + Sequence[str], + Sequence[bool], + Sequence[dict], + Sequence[float], UndefinedType, ] = Undefined, + format: Union[dict, "SchemaBase", UndefinedType] = Undefined, name: Union[str, UndefinedType] = Undefined, **kwds, ): @@ -17771,11 +15054,7 @@ def __init__( class InlineDataset(VegaLiteSchema): - """InlineDataset schema wrapper - - :class:`InlineDataset`, Dict, Sequence[Dict], Sequence[bool], Sequence[float], - Sequence[str], str - """ + """InlineDataset schema wrapper""" _schema = {"$ref": "#/definitions/InlineDataset"} @@ -17784,12 +15063,7 @@ def __init__(self, *args, **kwds): class Interpolate(VegaLiteSchema): - """Interpolate schema wrapper - - :class:`Interpolate`, Literal['basis', 'basis-open', 'basis-closed', 'bundle', 'cardinal', - 'cardinal-open', 'cardinal-closed', 'catmull-rom', 'linear', 'linear-closed', 'monotone', - 'natural', 'step', 'step-before', 'step-after'] - """ + """Interpolate schema wrapper""" _schema = {"$ref": "#/definitions/Interpolate"} @@ -17800,8 +15074,6 @@ def __init__(self, *args): class IntervalSelectionConfig(VegaLiteSchema): """IntervalSelectionConfig schema wrapper - :class:`IntervalSelectionConfig`, Dict[required=[type]] - Parameters ---------- @@ -17813,7 +15085,7 @@ class IntervalSelectionConfig(VegaLiteSchema): * ``"point"`` -- to select multiple discrete data values; the first value is selected on ``click`` and additional values toggled on shift-click. * ``"interval"`` -- to select a continuous range of data values on ``drag``. - clear : :class:`DerivedStream`, Dict[required=[stream]], :class:`EventStream`, Dict[required=[source, type]], Dict[required=[type]], :class:`MergedStream`, Dict[required=[merge]], :class:`Stream`, bool, str + clear : str, bool, dict, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream` Clears the selection, emptying it of all values. This property can be a `Event Stream `__ or ``false`` to disable clear. @@ -17830,20 +15102,20 @@ class IntervalSelectionConfig(VegaLiteSchema): **See also:** The `projection with encodings and fields section `__ in the documentation. - fields : Sequence[:class:`FieldName`, str] + fields : Sequence[str, :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 `__ in the documentation. - mark : :class:`BrushConfig`, Dict + mark : dict, :class:`BrushConfig` 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. **See also:** `mark examples `__ in the documentation. - on : :class:`DerivedStream`, Dict[required=[stream]], :class:`EventStream`, Dict[required=[source, type]], Dict[required=[type]], :class:`MergedStream`, Dict[required=[merge]], :class:`Stream`, str + on : str, dict, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream` A `Vega event stream `__ (object or selector) that triggers the selection. For interval selections, the event stream must specify a `start and end @@ -17871,7 +15143,7 @@ class IntervalSelectionConfig(VegaLiteSchema): **See also:** `resolve examples `__ in the documentation. - translate : bool, str + translate : str, bool When truthy, allows a user to interactively move an interval selection back-and-forth. Can be ``true``, ``false`` (to disable panning), or a `Vega event stream definition `__ which must @@ -17885,7 +15157,7 @@ class IntervalSelectionConfig(VegaLiteSchema): **See also:** `translate examples `__ in the documentation. - zoom : bool, str + zoom : str, bool When truthy, allows a user to interactively resize an interval selection. Can be ``true``, ``false`` (to disable zooming), or a `Vega event stream definition `__. Currently, only ``wheel`` @@ -17905,23 +15177,11 @@ class IntervalSelectionConfig(VegaLiteSchema): def __init__( self, type: Union[str, UndefinedType] = Undefined, - clear: Union[ - Union[ - Union[ - "Stream", - Union["DerivedStream", dict], - Union["EventStream", dict], - Union["MergedStream", dict], - ], - bool, - str, - ], - UndefinedType, - ] = Undefined, + clear: Union[str, bool, dict, "SchemaBase", UndefinedType] = Undefined, encodings: Union[ Sequence[ Union[ - "SingleDefUnitChannel", + "SchemaBase", Literal[ "x", "y", @@ -17958,26 +15218,14 @@ def __init__( ], UndefinedType, ] = Undefined, - fields: Union[Sequence[Union["FieldName", str]], UndefinedType] = Undefined, - mark: Union[Union["BrushConfig", dict], UndefinedType] = Undefined, - on: Union[ - Union[ - Union[ - "Stream", - Union["DerivedStream", dict], - Union["EventStream", dict], - Union["MergedStream", dict], - ], - str, - ], - UndefinedType, - ] = Undefined, + fields: Union[Sequence[Union[str, "SchemaBase"]], UndefinedType] = Undefined, + mark: Union[dict, "SchemaBase", UndefinedType] = Undefined, + on: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, resolve: Union[ - Union["SelectionResolution", Literal["global", "union", "intersect"]], - UndefinedType, + "SchemaBase", Literal["global", "union", "intersect"], UndefinedType ] = Undefined, - translate: Union[Union[bool, str], UndefinedType] = Undefined, - zoom: Union[Union[bool, str], UndefinedType] = Undefined, + translate: Union[str, bool, UndefinedType] = Undefined, + zoom: Union[str, bool, UndefinedType] = Undefined, **kwds, ): super(IntervalSelectionConfig, self).__init__( @@ -17997,12 +15245,10 @@ def __init__( class IntervalSelectionConfigWithoutType(VegaLiteSchema): """IntervalSelectionConfigWithoutType schema wrapper - :class:`IntervalSelectionConfigWithoutType`, Dict - Parameters ---------- - clear : :class:`DerivedStream`, Dict[required=[stream]], :class:`EventStream`, Dict[required=[source, type]], Dict[required=[type]], :class:`MergedStream`, Dict[required=[merge]], :class:`Stream`, bool, str + clear : str, bool, dict, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream` Clears the selection, emptying it of all values. This property can be a `Event Stream `__ or ``false`` to disable clear. @@ -18019,20 +15265,20 @@ class IntervalSelectionConfigWithoutType(VegaLiteSchema): **See also:** The `projection with encodings and fields section `__ in the documentation. - fields : Sequence[:class:`FieldName`, str] + fields : Sequence[str, :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 `__ in the documentation. - mark : :class:`BrushConfig`, Dict + mark : dict, :class:`BrushConfig` 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. **See also:** `mark examples `__ in the documentation. - on : :class:`DerivedStream`, Dict[required=[stream]], :class:`EventStream`, Dict[required=[source, type]], Dict[required=[type]], :class:`MergedStream`, Dict[required=[merge]], :class:`Stream`, str + on : str, dict, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream` A `Vega event stream `__ (object or selector) that triggers the selection. For interval selections, the event stream must specify a `start and end @@ -18060,7 +15306,7 @@ class IntervalSelectionConfigWithoutType(VegaLiteSchema): **See also:** `resolve examples `__ in the documentation. - translate : bool, str + translate : str, bool When truthy, allows a user to interactively move an interval selection back-and-forth. Can be ``true``, ``false`` (to disable panning), or a `Vega event stream definition `__ which must @@ -18074,7 +15320,7 @@ class IntervalSelectionConfigWithoutType(VegaLiteSchema): **See also:** `translate examples `__ in the documentation. - zoom : bool, str + zoom : str, bool When truthy, allows a user to interactively resize an interval selection. Can be ``true``, ``false`` (to disable zooming), or a `Vega event stream definition `__. Currently, only ``wheel`` @@ -18093,23 +15339,11 @@ class IntervalSelectionConfigWithoutType(VegaLiteSchema): def __init__( self, - clear: Union[ - Union[ - Union[ - "Stream", - Union["DerivedStream", dict], - Union["EventStream", dict], - Union["MergedStream", dict], - ], - bool, - str, - ], - UndefinedType, - ] = Undefined, + clear: Union[str, bool, dict, "SchemaBase", UndefinedType] = Undefined, encodings: Union[ Sequence[ Union[ - "SingleDefUnitChannel", + "SchemaBase", Literal[ "x", "y", @@ -18146,26 +15380,14 @@ def __init__( ], UndefinedType, ] = Undefined, - fields: Union[Sequence[Union["FieldName", str]], UndefinedType] = Undefined, - mark: Union[Union["BrushConfig", dict], UndefinedType] = Undefined, - on: Union[ - Union[ - Union[ - "Stream", - Union["DerivedStream", dict], - Union["EventStream", dict], - Union["MergedStream", dict], - ], - str, - ], - UndefinedType, - ] = Undefined, + fields: Union[Sequence[Union[str, "SchemaBase"]], UndefinedType] = Undefined, + mark: Union[dict, "SchemaBase", UndefinedType] = Undefined, + on: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, resolve: Union[ - Union["SelectionResolution", Literal["global", "union", "intersect"]], - UndefinedType, + "SchemaBase", Literal["global", "union", "intersect"], UndefinedType ] = Undefined, - translate: Union[Union[bool, str], UndefinedType] = Undefined, - zoom: Union[Union[bool, str], UndefinedType] = Undefined, + translate: Union[str, bool, UndefinedType] = Undefined, + zoom: Union[str, bool, UndefinedType] = Undefined, **kwds, ): super(IntervalSelectionConfigWithoutType, self).__init__( @@ -18184,8 +15406,6 @@ def __init__( class JoinAggregateFieldDef(VegaLiteSchema): """JoinAggregateFieldDef schema wrapper - :class:`JoinAggregateFieldDef`, Dict[required=[op, as]] - Parameters ---------- @@ -18193,10 +15413,10 @@ class JoinAggregateFieldDef(VegaLiteSchema): The aggregation operation to apply (e.g., ``"sum"``, ``"average"`` or ``"count"`` ). See the list of all supported operations `here `__. - field : :class:`FieldName`, str + field : str, :class:`FieldName` The data field for which to compute the aggregate function. This can be omitted for functions that do not operate over a field such as ``"count"``. - as : :class:`FieldName`, str + as : str, :class:`FieldName` The output name for the join aggregate operation. """ @@ -18205,37 +15425,35 @@ class JoinAggregateFieldDef(VegaLiteSchema): def __init__( self, op: Union[ - Union[ - "AggregateOp", - Literal[ - "argmax", - "argmin", - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - ], - UndefinedType, - ] = Undefined, - field: Union[Union["FieldName", str], UndefinedType] = Undefined, + "SchemaBase", + Literal[ + "argmax", + "argmin", + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", + ], + UndefinedType, + ] = Undefined, + field: Union[str, "SchemaBase", UndefinedType] = Undefined, **kwds, ): super(JoinAggregateFieldDef, self).__init__(op=op, field=field, **kwds) @@ -18244,12 +15462,10 @@ def __init__( class JsonDataFormat(DataFormat): """JsonDataFormat schema wrapper - :class:`JsonDataFormat`, Dict - Parameters ---------- - parse : :class:`Parse`, Dict, None + parse : dict, None, :class:`Parse` If set to ``null``, disable type inference based on the spec and only use type inference based on the data. Alternatively, a parsing directive object can be provided for explicit data types. Each property of the object corresponds to a field @@ -18281,7 +15497,7 @@ class JsonDataFormat(DataFormat): def __init__( self, - parse: Union[Union[None, Union["Parse", dict]], UndefinedType] = Undefined, + parse: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, property: Union[str, UndefinedType] = Undefined, type: Union[str, UndefinedType] = Undefined, **kwds, @@ -18292,10 +15508,7 @@ def __init__( class LabelOverlap(VegaLiteSchema): - """LabelOverlap schema wrapper - - :class:`LabelOverlap`, bool, str - """ + """LabelOverlap schema wrapper""" _schema = {"$ref": "#/definitions/LabelOverlap"} @@ -18304,11 +15517,7 @@ def __init__(self, *args, **kwds): class LatLongDef(VegaLiteSchema): - """LatLongDef schema wrapper - - :class:`DatumDef`, Dict, :class:`LatLongDef`, :class:`LatLongFieldDef`, - Dict[required=[shorthand]] - """ + """LatLongDef schema wrapper""" _schema = {"$ref": "#/definitions/LatLongDef"} @@ -18319,14 +15528,12 @@ def __init__(self, *args, **kwds): class LatLongFieldDef(LatLongDef): """LatLongFieldDef schema wrapper - :class:`LatLongFieldDef`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -18359,7 +15566,7 @@ class LatLongFieldDef(LatLongDef): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -18374,7 +15581,7 @@ class LatLongFieldDef(LatLongDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -18383,7 +15590,7 @@ class LatLongFieldDef(LatLongDef): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -18479,201 +15686,165 @@ class LatLongFieldDef(LatLongDef): def __init__( self, shorthand: Union[ - Union[Sequence[str], Union["RepeatRef", dict], str], UndefinedType + str, dict, "SchemaBase", Sequence[str], UndefinedType ] = Undefined, aggregate: Union[ - Union[ - "Aggregate", - Union["ArgmaxDef", dict], - Union["ArgminDef", dict], - Union[ - "NonArgAggregateOp", - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - ], + dict, + "SchemaBase", + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, bin: Union[None, UndefinedType] = Undefined, - field: Union[ - Union["Field", Union["FieldName", str], Union["RepeatRef", dict]], - UndefinedType, - ] = Undefined, + field: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - "BinnedTimeUnit", - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - ], - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], - ], - Union["TimeUnitParams", dict], - ], - UndefinedType, - ] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType - ] = Undefined, + dict, + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", + ], + UndefinedType, + ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, type: Union[str, UndefinedType] = Undefined, **kwds, ): @@ -18693,8 +15864,6 @@ def __init__( class LayerRepeatMapping(VegaLiteSchema): """LayerRepeatMapping schema wrapper - :class:`LayerRepeatMapping`, Dict[required=[layer]] - Parameters ---------- @@ -18721,10 +15890,7 @@ def __init__( class LayoutAlign(VegaLiteSchema): - """LayoutAlign schema wrapper - - :class:`LayoutAlign`, Literal['all', 'each', 'none'] - """ + """LayoutAlign schema wrapper""" _schema = {"$ref": "#/definitions/LayoutAlign"} @@ -18734,32 +15900,30 @@ def __init__(self, *args): class Legend(VegaLiteSchema): """Legend schema wrapper - - :class:`Legend`, Dict Properties of a legend or boolean flag for determining whether to show it. Parameters ---------- - aria : :class:`ExprRef`, Dict[required=[expr]], bool + aria : bool, dict, :class:`ExprRef` A boolean flag indicating if `ARIA attributes `__ should be included (SVG output only). If ``false``, the "aria-hidden" attribute will be set on the output SVG group, removing the legend from the ARIA accessibility tree. **Default value:** ``true`` - clipHeight : :class:`ExprRef`, Dict[required=[expr]], float + clipHeight : dict, float, :class:`ExprRef` The height in pixels to clip symbol legend entries and limit their size. - columnPadding : :class:`ExprRef`, Dict[required=[expr]], float + columnPadding : dict, float, :class:`ExprRef` The horizontal padding in pixels between symbol legend entries. **Default value:** ``10``. - columns : :class:`ExprRef`, Dict[required=[expr]], float + columns : dict, float, :class:`ExprRef` The number of columns in which to arrange symbol legend entries. A value of ``0`` or lower indicates a single row with one column per entry. - cornerRadius : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadius : dict, float, :class:`ExprRef` Corner radius for the full legend. - description : :class:`ExprRef`, Dict[required=[expr]], str + description : str, dict, :class:`ExprRef` A text description of this legend for `ARIA accessibility `__ (SVG output only). If the ``aria`` property is true, for SVG output the `"aria-label" attribute @@ -18776,9 +15940,9 @@ class Legend(VegaLiteSchema): * For left-/right- ``orient`` ed legends, ``"vertical"`` * For top/bottom-left/right- ``orient`` ed legends, ``"horizontal"`` for gradient legends and ``"vertical"`` for symbol legends. - fillColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ExprRef`, Dict[required=[expr]] + fillColor : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Background fill color for the full legend. - format : :class:`Dict`, Dict, str + format : str, dict, :class:`Dict` When used with the default ``"number"`` and ``"time"`` format type, the text formatting pattern for labels of guides (axes, legends, headers) and text marks. @@ -18812,40 +15976,40 @@ class Legend(VegaLiteSchema): * ``"time"`` for temporal fields and ordinal and nominal fields with ``timeUnit``. * ``"number"`` for quantitative fields as well as ordinal and nominal fields without ``timeUnit``. - gradientLength : :class:`ExprRef`, Dict[required=[expr]], float + gradientLength : dict, float, :class:`ExprRef` The length in pixels of the primary axis of a color gradient. This value corresponds to the height of a vertical gradient or the width of a horizontal gradient. **Default value:** ``200``. - gradientOpacity : :class:`ExprRef`, Dict[required=[expr]], float + gradientOpacity : dict, float, :class:`ExprRef` Opacity of the color gradient. - gradientStrokeColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ExprRef`, Dict[required=[expr]] + gradientStrokeColor : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] The color of the gradient stroke, can be in hex color code or regular color name. **Default value:** ``"lightGray"``. - gradientStrokeWidth : :class:`ExprRef`, Dict[required=[expr]], float + gradientStrokeWidth : dict, float, :class:`ExprRef` The width of the gradient stroke, in pixels. **Default value:** ``0``. - gradientThickness : :class:`ExprRef`, Dict[required=[expr]], float + gradientThickness : dict, float, :class:`ExprRef` The thickness in pixels of the color gradient. This value corresponds to the width of a vertical gradient or the height of a horizontal gradient. **Default value:** ``16``. - gridAlign : :class:`ExprRef`, Dict[required=[expr]], :class:`LayoutAlign`, Literal['all', 'each', 'none'] + gridAlign : dict, :class:`ExprRef`, :class:`LayoutAlign`, Literal['all', 'each', 'none'] The alignment to apply to symbol legends rows and columns. The supported string values are ``"all"``, ``"each"`` (the default), and ``none``. For more information, see the `grid layout documentation `__. **Default value:** ``"each"``. - labelAlign : :class:`Align`, Literal['left', 'center', 'right'], :class:`ExprRef`, Dict[required=[expr]] + labelAlign : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] The alignment of the legend label, can be left, center, or right. - labelBaseline : :class:`Baseline`, Literal['top', 'middle', 'bottom'], :class:`TextBaseline`, str, :class:`ExprRef`, Dict[required=[expr]] + labelBaseline : str, dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['top', 'middle', 'bottom'] The position of the baseline of legend label, can be ``"top"``, ``"middle"``, ``"bottom"``, or ``"alphabetic"``. **Default value:** ``"middle"``. - labelColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ExprRef`, Dict[required=[expr]] + labelColor : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] The color of the legend label, can be in hex color code or regular color name. labelExpr : str `Vega expression `__ for customizing @@ -18853,27 +16017,27 @@ class Legend(VegaLiteSchema): **Note:** The label text and value can be assessed via the ``label`` and ``value`` properties of the legend's backing ``datum`` object. - labelFont : :class:`ExprRef`, Dict[required=[expr]], str + labelFont : str, dict, :class:`ExprRef` The font of the legend label. - labelFontSize : :class:`ExprRef`, Dict[required=[expr]], float + labelFontSize : dict, float, :class:`ExprRef` The font size of legend label. **Default value:** ``10``. - labelFontStyle : :class:`ExprRef`, Dict[required=[expr]], :class:`FontStyle`, str + labelFontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` The font style of legend label. - labelFontWeight : :class:`ExprRef`, Dict[required=[expr]], :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + labelFontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] The font weight of legend label. - labelLimit : :class:`ExprRef`, Dict[required=[expr]], float + labelLimit : dict, float, :class:`ExprRef` Maximum allowed pixel width of legend tick labels. **Default value:** ``160``. - labelOffset : :class:`ExprRef`, Dict[required=[expr]], float + labelOffset : dict, float, :class:`ExprRef` The offset of the legend label. **Default value:** ``4``. - labelOpacity : :class:`ExprRef`, Dict[required=[expr]], float + labelOpacity : dict, float, :class:`ExprRef` Opacity of labels. - labelOverlap : :class:`ExprRef`, Dict[required=[expr]], :class:`LabelOverlap`, bool, str + labelOverlap : str, bool, dict, :class:`ExprRef`, :class:`LabelOverlap` The strategy to use for resolving overlap of labels in gradient legends. If ``false``, no overlap reduction is attempted. If set to ``true`` (default) or ``"parity"``, a strategy of removing every other label is used. If set to @@ -18881,17 +16045,17 @@ class Legend(VegaLiteSchema): overlaps with the last visible label (this often works better for log-scaled axes). **Default value:** ``true``. - labelPadding : :class:`ExprRef`, Dict[required=[expr]], float + labelPadding : dict, float, :class:`ExprRef` Padding in pixels between the legend and legend labels. - labelSeparation : :class:`ExprRef`, Dict[required=[expr]], float + labelSeparation : dict, float, :class:`ExprRef` The minimum separation that must be between label bounding boxes for them to be considered non-overlapping (default ``0`` ). This property is ignored if *labelOverlap* resolution is not enabled. - legendX : :class:`ExprRef`, Dict[required=[expr]], float + legendX : dict, float, :class:`ExprRef` Custom x-position for legend with orient "none". - legendY : :class:`ExprRef`, Dict[required=[expr]], float + legendY : dict, float, :class:`ExprRef` Custom y-position for legend with orient "none". - offset : :class:`ExprRef`, Dict[required=[expr]], float + offset : dict, float, :class:`ExprRef` The offset in pixels by which to displace the legend from the data rectangle and axes. @@ -18902,42 +16066,42 @@ class Legend(VegaLiteSchema): ``"top-right"``, ``"bottom-left"``, ``"bottom-right"``, ``"none"``. **Default value:** ``"right"`` - padding : :class:`ExprRef`, Dict[required=[expr]], float + padding : dict, float, :class:`ExprRef` The padding between the border and content of the legend group. **Default value:** ``0``. - rowPadding : :class:`ExprRef`, Dict[required=[expr]], float + rowPadding : dict, float, :class:`ExprRef` The vertical padding in pixels between symbol legend entries. **Default value:** ``2``. - strokeColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ExprRef`, Dict[required=[expr]] + strokeColor : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Border stroke color for the full legend. - symbolDash : :class:`ExprRef`, Dict[required=[expr]], Sequence[float] + symbolDash : dict, Sequence[float], :class:`ExprRef` An array of alternating [stroke, space] lengths for dashed symbol strokes. - symbolDashOffset : :class:`ExprRef`, Dict[required=[expr]], float + symbolDashOffset : dict, float, :class:`ExprRef` The pixel offset at which to start drawing with the symbol stroke dash array. - symbolFillColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ExprRef`, Dict[required=[expr]] + symbolFillColor : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] The color of the legend symbol, - symbolLimit : :class:`ExprRef`, Dict[required=[expr]], float + symbolLimit : dict, float, :class:`ExprRef` The maximum number of allowed entries for a symbol legend. Additional entries will be dropped. - symbolOffset : :class:`ExprRef`, Dict[required=[expr]], float + symbolOffset : dict, float, :class:`ExprRef` Horizontal pixel offset for legend symbols. **Default value:** ``0``. - symbolOpacity : :class:`ExprRef`, Dict[required=[expr]], float + symbolOpacity : dict, float, :class:`ExprRef` Opacity of the legend symbols. - symbolSize : :class:`ExprRef`, Dict[required=[expr]], float + symbolSize : dict, float, :class:`ExprRef` The size of the legend symbol, in pixels. **Default value:** ``100``. - symbolStrokeColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ExprRef`, Dict[required=[expr]] + symbolStrokeColor : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Stroke color for legend symbols. - symbolStrokeWidth : :class:`ExprRef`, Dict[required=[expr]], float + symbolStrokeWidth : dict, float, :class:`ExprRef` The width of the symbol's stroke. **Default value:** ``1.5``. - symbolType : :class:`ExprRef`, Dict[required=[expr]], :class:`SymbolShape`, str + symbolType : str, dict, :class:`ExprRef`, :class:`SymbolShape` The symbol shape. One of the plotting shapes ``circle`` (default), ``square``, ``cross``, ``diamond``, ``triangle-up``, ``triangle-down``, ``triangle-right``, or ``triangle-left``, the line symbol ``stroke``, or one of the centered directional @@ -18948,16 +16112,16 @@ class Legend(VegaLiteSchema): dimensions. **Default value:** ``"circle"``. - tickCount : :class:`ExprRef`, Dict[required=[expr]], :class:`TickCount`, :class:`TimeIntervalStep`, Dict[required=[interval, step]], :class:`TimeInterval`, Literal['millisecond', 'second', 'minute', 'hour', 'day', 'week', 'month', 'year'], float + tickCount : dict, float, :class:`ExprRef`, :class:`TickCount`, :class:`TimeInterval`, :class:`TimeIntervalStep`, Literal['millisecond', 'second', 'minute', 'hour', 'day', 'week', 'month', 'year'] The desired number of tick values for quantitative legends. - tickMinStep : :class:`ExprRef`, Dict[required=[expr]], float + tickMinStep : dict, float, :class:`ExprRef` The minimum desired step between legend ticks, in terms of scale domain values. For example, a value of ``1`` indicates that ticks should not be less than 1 unit apart. If ``tickMinStep`` is specified, the ``tickCount`` value will be adjusted, if necessary, to enforce the minimum step value. **Default value** : ``undefined`` - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -18977,13 +16141,13 @@ class Legend(VegaLiteSchema): 2) If both field definition's ``title`` and axis, header, or legend ``title`` are defined, axis/header/legend title will be used. - titleAlign : :class:`Align`, Literal['left', 'center', 'right'], :class:`ExprRef`, Dict[required=[expr]] + titleAlign : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] Horizontal text alignment for legend titles. **Default value:** ``"left"``. - titleAnchor : :class:`ExprRef`, Dict[required=[expr]], :class:`TitleAnchor`, Literal[None, 'start', 'middle', 'end'] + titleAnchor : dict, :class:`ExprRef`, :class:`TitleAnchor`, Literal[None, 'start', 'middle', 'end'] Text anchor position for placing legend titles. - titleBaseline : :class:`Baseline`, Literal['top', 'middle', 'bottom'], :class:`TextBaseline`, str, :class:`ExprRef`, Dict[required=[expr]] + titleBaseline : str, dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['top', 'middle', 'bottom'] Vertical text baseline for legend titles. One of ``"alphabetic"`` (default), ``"top"``, ``"middle"``, ``"bottom"``, ``"line-top"``, or ``"line-bottom"``. The ``"line-top"`` and ``"line-bottom"`` values operate similarly to ``"top"`` and @@ -18991,30 +16155,30 @@ class Legend(VegaLiteSchema): alone. **Default value:** ``"top"``. - titleColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ExprRef`, Dict[required=[expr]] + titleColor : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] The color of the legend title, can be in hex color code or regular color name. - titleFont : :class:`ExprRef`, Dict[required=[expr]], str + titleFont : str, dict, :class:`ExprRef` The font of the legend title. - titleFontSize : :class:`ExprRef`, Dict[required=[expr]], float + titleFontSize : dict, float, :class:`ExprRef` The font size of the legend title. - titleFontStyle : :class:`ExprRef`, Dict[required=[expr]], :class:`FontStyle`, str + titleFontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` The font style of the legend title. - titleFontWeight : :class:`ExprRef`, Dict[required=[expr]], :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + titleFontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] The font weight of the legend title. This can be either a string (e.g ``"bold"``, ``"normal"`` ) or a number ( ``100``, ``200``, ``300``, ..., ``900`` where ``"normal"`` = ``400`` and ``"bold"`` = ``700`` ). - titleLimit : :class:`ExprRef`, Dict[required=[expr]], float + titleLimit : dict, float, :class:`ExprRef` Maximum allowed pixel width of legend titles. **Default value:** ``180``. - titleLineHeight : :class:`ExprRef`, Dict[required=[expr]], float + titleLineHeight : dict, float, :class:`ExprRef` Line height in pixels for multi-line title text or title text with ``"line-top"`` or ``"line-bottom"`` baseline. - titleOpacity : :class:`ExprRef`, Dict[required=[expr]], float + titleOpacity : dict, float, :class:`ExprRef` Opacity of the legend title. - titleOrient : :class:`ExprRef`, Dict[required=[expr]], :class:`Orient`, Literal['left', 'right', 'top', 'bottom'] + titleOrient : dict, :class:`Orient`, :class:`ExprRef`, Literal['left', 'right', 'top', 'bottom'] Orientation of the legend title. - titlePadding : :class:`ExprRef`, Dict[required=[expr]], float + titlePadding : dict, float, :class:`ExprRef` The padding, in pixels, between title and legend. **Default value:** ``5``. @@ -19024,7 +16188,7 @@ class Legend(VegaLiteSchema): **Default value:** ``"gradient"`` for non-binned quantitative fields and temporal fields; ``"symbol"`` otherwise. - values : :class:`ExprRef`, Dict[required=[expr]], Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str] + values : dict, Sequence[str], Sequence[bool], Sequence[float], :class:`ExprRef`, Sequence[dict, :class:`DateTime`] Explicitly set the visible legend values. zindex : float A non-negative integer indicating the z-index of the legend. If zindex is 0, legend @@ -19035,1465 +16199,1371 @@ class Legend(VegaLiteSchema): def __init__( self, - aria: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType - ] = Undefined, + aria: Union[bool, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, clipHeight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, columnPadding: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, columns: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, description: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, direction: Union[ - Union["Orientation", Literal["horizontal", "vertical"]], UndefinedType + "SchemaBase", Literal["horizontal", "vertical"], UndefinedType ] = Undefined, fillColor: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], - ], - UndefinedType, - ] = Undefined, - format: Union[Union[Union["Dict", dict], str], UndefinedType] = Undefined, + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", + ], + UndefinedType, + ] = Undefined, + format: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, gradientLength: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, gradientOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, gradientStrokeColor: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, gradientStrokeWidth: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, gradientThickness: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, gridAlign: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["LayoutAlign", Literal["all", "each", "none"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["all", "each", "none"], UndefinedType, ] = Undefined, labelAlign: Union[ - Union[ - Union["Align", Literal["left", "center", "right"]], - Union["ExprRef", "_Parameter", dict], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["left", "center", "right"], UndefinedType, ] = Undefined, labelBaseline: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "TextBaseline", - Union["Baseline", Literal["top", "middle", "bottom"]], - str, - ], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, labelColor: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, labelExpr: Union[str, UndefinedType] = Undefined, labelFont: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelFontSize: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelFontStyle: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["FontStyle", str]], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelFontWeight: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "FontWeight", - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, labelLimit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelOverlap: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], Union["LabelOverlap", bool, str] - ], - UndefinedType, + str, bool, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelPadding: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelSeparation: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, legendX: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, legendY: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, offset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, orient: Union[ - Union[ - "LegendOrient", - Literal[ - "none", - "left", - "right", - "top", - "bottom", - "top-left", - "top-right", - "bottom-left", - "bottom-right", - ], + "SchemaBase", + Literal[ + "none", + "left", + "right", + "top", + "bottom", + "top-left", + "top-right", + "bottom-left", + "bottom-right", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, rowPadding: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeColor: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolDash: Union[ - Union[Sequence[float], Union["ExprRef", "_Parameter", dict]], UndefinedType + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, symbolDashOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, symbolFillColor: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolLimit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, symbolOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, symbolOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, symbolSize: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, symbolStrokeColor: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolStrokeWidth: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, symbolType: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["SymbolShape", str]], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, tickCount: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "TickCount", - Union[ - "TimeInterval", - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - ], - Union["TimeIntervalStep", dict], - float, - ], + dict, + float, + "_Parameter", + "SchemaBase", + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, tickMinStep: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, titleAlign: Union[ - Union[ - Union["Align", Literal["left", "center", "right"]], - Union["ExprRef", "_Parameter", dict], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["left", "center", "right"], UndefinedType, ] = Undefined, titleAnchor: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["TitleAnchor", Literal[None, "start", "middle", "end"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[None, "start", "middle", "end"], UndefinedType, ] = Undefined, titleBaseline: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "TextBaseline", - Union["Baseline", Literal["top", "middle", "bottom"]], - str, - ], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, titleColor: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, titleFont: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleFontSize: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleFontStyle: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["FontStyle", str]], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleFontWeight: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "FontWeight", - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, titleLimit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleLineHeight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleOrient: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["Orient", Literal["left", "right", "top", "bottom"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["left", "right", "top", "bottom"], UndefinedType, ] = Undefined, titlePadding: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, type: Union[Literal["symbol", "gradient"], UndefinedType] = Undefined, values: Union[ - Union[ - Sequence[Union["DateTime", dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - Union["ExprRef", "_Parameter", dict], - ], + dict, + "_Parameter", + "SchemaBase", + Sequence[str], + Sequence[bool], + Sequence[float], + Sequence[Union[dict, "SchemaBase"]], UndefinedType, ] = Undefined, zindex: Union[float, UndefinedType] = Undefined, @@ -20571,10 +17641,7 @@ def __init__( class LegendBinding(VegaLiteSchema): - """LegendBinding schema wrapper - - :class:`LegendBinding`, :class:`LegendStreamBinding`, Dict[required=[legend]], str - """ + """LegendBinding schema wrapper""" _schema = {"$ref": "#/definitions/LegendBinding"} @@ -20585,30 +17652,28 @@ def __init__(self, *args, **kwds): class LegendConfig(VegaLiteSchema): """LegendConfig schema wrapper - :class:`LegendConfig`, Dict - Parameters ---------- - aria : :class:`ExprRef`, Dict[required=[expr]], bool + aria : bool, dict, :class:`ExprRef` A boolean flag indicating if `ARIA attributes `__ should be included (SVG output only). If ``false``, the "aria-hidden" attribute will be set on the output SVG group, removing the legend from the ARIA accessibility tree. **Default value:** ``true`` - clipHeight : :class:`ExprRef`, Dict[required=[expr]], float + clipHeight : dict, float, :class:`ExprRef` The height in pixels to clip symbol legend entries and limit their size. - columnPadding : :class:`ExprRef`, Dict[required=[expr]], float + columnPadding : dict, float, :class:`ExprRef` The horizontal padding in pixels between symbol legend entries. **Default value:** ``10``. - columns : :class:`ExprRef`, Dict[required=[expr]], float + columns : dict, float, :class:`ExprRef` The number of columns in which to arrange symbol legend entries. A value of ``0`` or lower indicates a single row with one column per entry. - cornerRadius : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadius : dict, float, :class:`ExprRef` Corner radius for the full legend. - description : :class:`ExprRef`, Dict[required=[expr]], str + description : str, dict, :class:`ExprRef` A text description of this legend for `ARIA accessibility `__ (SVG output only). If the ``aria`` property is true, for SVG output the `"aria-label" attribute @@ -20627,9 +17692,9 @@ class LegendConfig(VegaLiteSchema): legends and ``"vertical"`` for symbol legends. disable : bool Disable legend by default - fillColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ExprRef`, Dict[required=[expr]] + fillColor : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Background fill color for the full legend. - gradientDirection : :class:`ExprRef`, Dict[required=[expr]], :class:`Orientation`, Literal['horizontal', 'vertical'] + gradientDirection : dict, :class:`ExprRef`, :class:`Orientation`, Literal['horizontal', 'vertical'] The default direction ( ``"horizontal"`` or ``"vertical"`` ) for gradient legends. **Default value:** ``"vertical"``. @@ -20643,28 +17708,28 @@ class LegendConfig(VegaLiteSchema): undefined. **Default value:** ``100`` - gradientLabelLimit : :class:`ExprRef`, Dict[required=[expr]], float + gradientLabelLimit : dict, float, :class:`ExprRef` The maximum allowed length in pixels of color ramp gradient labels. - gradientLabelOffset : :class:`ExprRef`, Dict[required=[expr]], float + gradientLabelOffset : dict, float, :class:`ExprRef` Vertical offset in pixels for color ramp gradient labels. **Default value:** ``2``. - gradientLength : :class:`ExprRef`, Dict[required=[expr]], float + gradientLength : dict, float, :class:`ExprRef` The length in pixels of the primary axis of a color gradient. This value corresponds to the height of a vertical gradient or the width of a horizontal gradient. **Default value:** ``200``. - gradientOpacity : :class:`ExprRef`, Dict[required=[expr]], float + gradientOpacity : dict, float, :class:`ExprRef` Opacity of the color gradient. - gradientStrokeColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ExprRef`, Dict[required=[expr]] + gradientStrokeColor : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] The color of the gradient stroke, can be in hex color code or regular color name. **Default value:** ``"lightGray"``. - gradientStrokeWidth : :class:`ExprRef`, Dict[required=[expr]], float + gradientStrokeWidth : dict, float, :class:`ExprRef` The width of the gradient stroke, in pixels. **Default value:** ``0``. - gradientThickness : :class:`ExprRef`, Dict[required=[expr]], float + gradientThickness : dict, float, :class:`ExprRef` The thickness in pixels of the color gradient. This value corresponds to the width of a vertical gradient or the height of a horizontal gradient. @@ -20679,42 +17744,42 @@ class LegendConfig(VegaLiteSchema): undefined. **Default value:** ``100`` - gridAlign : :class:`ExprRef`, Dict[required=[expr]], :class:`LayoutAlign`, Literal['all', 'each', 'none'] + gridAlign : dict, :class:`ExprRef`, :class:`LayoutAlign`, Literal['all', 'each', 'none'] The alignment to apply to symbol legends rows and columns. The supported string values are ``"all"``, ``"each"`` (the default), and ``none``. For more information, see the `grid layout documentation `__. **Default value:** ``"each"``. - labelAlign : :class:`Align`, Literal['left', 'center', 'right'], :class:`ExprRef`, Dict[required=[expr]] + labelAlign : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] The alignment of the legend label, can be left, center, or right. - labelBaseline : :class:`Baseline`, Literal['top', 'middle', 'bottom'], :class:`TextBaseline`, str, :class:`ExprRef`, Dict[required=[expr]] + labelBaseline : str, dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['top', 'middle', 'bottom'] The position of the baseline of legend label, can be ``"top"``, ``"middle"``, ``"bottom"``, or ``"alphabetic"``. **Default value:** ``"middle"``. - labelColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ExprRef`, Dict[required=[expr]] + labelColor : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] The color of the legend label, can be in hex color code or regular color name. - labelFont : :class:`ExprRef`, Dict[required=[expr]], str + labelFont : str, dict, :class:`ExprRef` The font of the legend label. - labelFontSize : :class:`ExprRef`, Dict[required=[expr]], float + labelFontSize : dict, float, :class:`ExprRef` The font size of legend label. **Default value:** ``10``. - labelFontStyle : :class:`ExprRef`, Dict[required=[expr]], :class:`FontStyle`, str + labelFontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` The font style of legend label. - labelFontWeight : :class:`ExprRef`, Dict[required=[expr]], :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + labelFontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] The font weight of legend label. - labelLimit : :class:`ExprRef`, Dict[required=[expr]], float + labelLimit : dict, float, :class:`ExprRef` Maximum allowed pixel width of legend tick labels. **Default value:** ``160``. - labelOffset : :class:`ExprRef`, Dict[required=[expr]], float + labelOffset : dict, float, :class:`ExprRef` The offset of the legend label. **Default value:** ``4``. - labelOpacity : :class:`ExprRef`, Dict[required=[expr]], float + labelOpacity : dict, float, :class:`ExprRef` Opacity of labels. - labelOverlap : :class:`ExprRef`, Dict[required=[expr]], :class:`LabelOverlap`, bool, str + labelOverlap : str, bool, dict, :class:`ExprRef`, :class:`LabelOverlap` The strategy to use for resolving overlap of labels in gradient legends. If ``false``, no overlap reduction is attempted. If set to ``true`` or ``"parity"``, a strategy of removing every other label is used. If set to ``"greedy"``, a linear @@ -20722,19 +17787,19 @@ class LegendConfig(VegaLiteSchema): visible label (this often works better for log-scaled axes). **Default value:** ``"greedy"`` for ``log scales otherwise`` true`. - labelPadding : :class:`ExprRef`, Dict[required=[expr]], float + labelPadding : dict, float, :class:`ExprRef` Padding in pixels between the legend and legend labels. - labelSeparation : :class:`ExprRef`, Dict[required=[expr]], float + labelSeparation : dict, float, :class:`ExprRef` The minimum separation that must be between label bounding boxes for them to be considered non-overlapping (default ``0`` ). This property is ignored if *labelOverlap* resolution is not enabled. - layout : :class:`ExprRef`, Dict[required=[expr]] + layout : dict, :class:`ExprRef` - legendX : :class:`ExprRef`, Dict[required=[expr]], float + legendX : dict, float, :class:`ExprRef` Custom x-position for legend with orient "none". - legendY : :class:`ExprRef`, Dict[required=[expr]], float + legendY : dict, float, :class:`ExprRef` Custom y-position for legend with orient "none". - offset : :class:`ExprRef`, Dict[required=[expr]], float + offset : dict, float, :class:`ExprRef` The offset in pixels by which to displace the legend from the data rectangle and axes. @@ -20745,60 +17810,60 @@ class LegendConfig(VegaLiteSchema): ``"top-right"``, ``"bottom-left"``, ``"bottom-right"``, ``"none"``. **Default value:** ``"right"`` - padding : :class:`ExprRef`, Dict[required=[expr]], float + padding : dict, float, :class:`ExprRef` The padding between the border and content of the legend group. **Default value:** ``0``. - rowPadding : :class:`ExprRef`, Dict[required=[expr]], float + rowPadding : dict, float, :class:`ExprRef` The vertical padding in pixels between symbol legend entries. **Default value:** ``2``. - strokeColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ExprRef`, Dict[required=[expr]] + strokeColor : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Border stroke color for the full legend. - strokeDash : :class:`ExprRef`, Dict[required=[expr]], Sequence[float] + strokeDash : dict, Sequence[float], :class:`ExprRef` Border stroke dash pattern for the full legend. - strokeWidth : :class:`ExprRef`, Dict[required=[expr]], float + strokeWidth : dict, float, :class:`ExprRef` Border stroke width for the full legend. - symbolBaseFillColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ExprRef`, Dict[required=[expr]] + symbolBaseFillColor : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Default fill color for legend symbols. Only applied if there is no ``"fill"`` scale color encoding for the legend. **Default value:** ``"transparent"``. - symbolBaseStrokeColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ExprRef`, Dict[required=[expr]] + symbolBaseStrokeColor : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Default stroke color for legend symbols. Only applied if there is no ``"fill"`` scale color encoding for the legend. **Default value:** ``"gray"``. - symbolDash : :class:`ExprRef`, Dict[required=[expr]], Sequence[float] + symbolDash : dict, Sequence[float], :class:`ExprRef` An array of alternating [stroke, space] lengths for dashed symbol strokes. - symbolDashOffset : :class:`ExprRef`, Dict[required=[expr]], float + symbolDashOffset : dict, float, :class:`ExprRef` The pixel offset at which to start drawing with the symbol stroke dash array. - symbolDirection : :class:`ExprRef`, Dict[required=[expr]], :class:`Orientation`, Literal['horizontal', 'vertical'] + symbolDirection : dict, :class:`ExprRef`, :class:`Orientation`, Literal['horizontal', 'vertical'] The default direction ( ``"horizontal"`` or ``"vertical"`` ) for symbol legends. **Default value:** ``"vertical"``. - symbolFillColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ExprRef`, Dict[required=[expr]] + symbolFillColor : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] The color of the legend symbol, - symbolLimit : :class:`ExprRef`, Dict[required=[expr]], float + symbolLimit : dict, float, :class:`ExprRef` The maximum number of allowed entries for a symbol legend. Additional entries will be dropped. - symbolOffset : :class:`ExprRef`, Dict[required=[expr]], float + symbolOffset : dict, float, :class:`ExprRef` Horizontal pixel offset for legend symbols. **Default value:** ``0``. - symbolOpacity : :class:`ExprRef`, Dict[required=[expr]], float + symbolOpacity : dict, float, :class:`ExprRef` Opacity of the legend symbols. - symbolSize : :class:`ExprRef`, Dict[required=[expr]], float + symbolSize : dict, float, :class:`ExprRef` The size of the legend symbol, in pixels. **Default value:** ``100``. - symbolStrokeColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ExprRef`, Dict[required=[expr]] + symbolStrokeColor : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Stroke color for legend symbols. - symbolStrokeWidth : :class:`ExprRef`, Dict[required=[expr]], float + symbolStrokeWidth : dict, float, :class:`ExprRef` The width of the symbol's stroke. **Default value:** ``1.5``. - symbolType : :class:`ExprRef`, Dict[required=[expr]], :class:`SymbolShape`, str + symbolType : str, dict, :class:`ExprRef`, :class:`SymbolShape` The symbol shape. One of the plotting shapes ``circle`` (default), ``square``, ``cross``, ``diamond``, ``triangle-up``, ``triangle-down``, ``triangle-right``, or ``triangle-left``, the line symbol ``stroke``, or one of the centered directional @@ -20809,17 +17874,17 @@ class LegendConfig(VegaLiteSchema): dimensions. **Default value:** ``"circle"``. - tickCount : :class:`ExprRef`, Dict[required=[expr]], :class:`TickCount`, :class:`TimeIntervalStep`, Dict[required=[interval, step]], :class:`TimeInterval`, Literal['millisecond', 'second', 'minute', 'hour', 'day', 'week', 'month', 'year'], float + tickCount : dict, float, :class:`ExprRef`, :class:`TickCount`, :class:`TimeInterval`, :class:`TimeIntervalStep`, Literal['millisecond', 'second', 'minute', 'hour', 'day', 'week', 'month', 'year'] The desired number of tick values for quantitative legends. title : None Set to null to disable title for the axis, legend, or header. - titleAlign : :class:`Align`, Literal['left', 'center', 'right'], :class:`ExprRef`, Dict[required=[expr]] + titleAlign : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] Horizontal text alignment for legend titles. **Default value:** ``"left"``. - titleAnchor : :class:`ExprRef`, Dict[required=[expr]], :class:`TitleAnchor`, Literal[None, 'start', 'middle', 'end'] + titleAnchor : dict, :class:`ExprRef`, :class:`TitleAnchor`, Literal[None, 'start', 'middle', 'end'] Text anchor position for placing legend titles. - titleBaseline : :class:`Baseline`, Literal['top', 'middle', 'bottom'], :class:`TextBaseline`, str, :class:`ExprRef`, Dict[required=[expr]] + titleBaseline : str, dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['top', 'middle', 'bottom'] Vertical text baseline for legend titles. One of ``"alphabetic"`` (default), ``"top"``, ``"middle"``, ``"bottom"``, ``"line-top"``, or ``"line-bottom"``. The ``"line-top"`` and ``"line-bottom"`` values operate similarly to ``"top"`` and @@ -20827,30 +17892,30 @@ class LegendConfig(VegaLiteSchema): alone. **Default value:** ``"top"``. - titleColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ExprRef`, Dict[required=[expr]] + titleColor : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] The color of the legend title, can be in hex color code or regular color name. - titleFont : :class:`ExprRef`, Dict[required=[expr]], str + titleFont : str, dict, :class:`ExprRef` The font of the legend title. - titleFontSize : :class:`ExprRef`, Dict[required=[expr]], float + titleFontSize : dict, float, :class:`ExprRef` The font size of the legend title. - titleFontStyle : :class:`ExprRef`, Dict[required=[expr]], :class:`FontStyle`, str + titleFontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` The font style of the legend title. - titleFontWeight : :class:`ExprRef`, Dict[required=[expr]], :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + titleFontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] The font weight of the legend title. This can be either a string (e.g ``"bold"``, ``"normal"`` ) or a number ( ``100``, ``200``, ``300``, ..., ``900`` where ``"normal"`` = ``400`` and ``"bold"`` = ``700`` ). - titleLimit : :class:`ExprRef`, Dict[required=[expr]], float + titleLimit : dict, float, :class:`ExprRef` Maximum allowed pixel width of legend titles. **Default value:** ``180``. - titleLineHeight : :class:`ExprRef`, Dict[required=[expr]], float + titleLineHeight : dict, float, :class:`ExprRef` Line height in pixels for multi-line title text or title text with ``"line-top"`` or ``"line-bottom"`` baseline. - titleOpacity : :class:`ExprRef`, Dict[required=[expr]], float + titleOpacity : dict, float, :class:`ExprRef` Opacity of the legend title. - titleOrient : :class:`ExprRef`, Dict[required=[expr]], :class:`Orient`, Literal['left', 'right', 'top', 'bottom'] + titleOrient : dict, :class:`Orient`, :class:`ExprRef`, Literal['left', 'right', 'top', 'bottom'] Orientation of the legend title. - titlePadding : :class:`ExprRef`, Dict[required=[expr]], float + titlePadding : dict, float, :class:`ExprRef` The padding, in pixels, between title and legend. **Default value:** ``5``. @@ -20858,7 +17923,7 @@ class LegendConfig(VegaLiteSchema): The opacity of unselected legend entries. **Default value:** 0.35. - zindex : :class:`ExprRef`, Dict[required=[expr]], float + zindex : dict, float, :class:`ExprRef` The integer z-index indicating the layering of the legend group relative to other axis, mark, and legend groups. """ @@ -20867,1817 +17932,1707 @@ class LegendConfig(VegaLiteSchema): def __init__( self, - aria: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType - ] = Undefined, + aria: Union[bool, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, clipHeight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, columnPadding: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, columns: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, description: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, direction: Union[ - Union["Orientation", Literal["horizontal", "vertical"]], UndefinedType + "SchemaBase", Literal["horizontal", "vertical"], UndefinedType ] = Undefined, disable: Union[bool, UndefinedType] = Undefined, fillColor: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, gradientDirection: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["Orientation", Literal["horizontal", "vertical"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["horizontal", "vertical"], UndefinedType, ] = Undefined, gradientHorizontalMaxLength: Union[float, UndefinedType] = Undefined, gradientHorizontalMinLength: Union[float, UndefinedType] = Undefined, gradientLabelLimit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, gradientLabelOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, gradientLength: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, gradientOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, gradientStrokeColor: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, gradientStrokeWidth: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, gradientThickness: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, gradientVerticalMaxLength: Union[float, UndefinedType] = Undefined, gradientVerticalMinLength: Union[float, UndefinedType] = Undefined, gridAlign: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["LayoutAlign", Literal["all", "each", "none"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["all", "each", "none"], UndefinedType, ] = Undefined, labelAlign: Union[ - Union[ - Union["Align", Literal["left", "center", "right"]], - Union["ExprRef", "_Parameter", dict], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["left", "center", "right"], UndefinedType, ] = Undefined, labelBaseline: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "TextBaseline", - Union["Baseline", Literal["top", "middle", "bottom"]], - str, - ], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, labelColor: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, labelFont: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelFontSize: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelFontStyle: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["FontStyle", str]], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelFontWeight: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "FontWeight", - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, labelLimit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelOverlap: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], Union["LabelOverlap", bool, str] - ], - UndefinedType, + str, bool, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelPadding: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, labelSeparation: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, - layout: Union[Union["ExprRef", "_Parameter", dict], UndefinedType] = Undefined, + layout: Union[dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, legendX: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, legendY: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, offset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, orient: Union[ - Union[ - "LegendOrient", - Literal[ - "none", - "left", - "right", - "top", - "bottom", - "top-left", - "top-right", - "bottom-left", - "bottom-right", - ], + "SchemaBase", + Literal[ + "none", + "left", + "right", + "top", + "bottom", + "top-left", + "top-right", + "bottom-left", + "bottom-right", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, rowPadding: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeColor: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, strokeDash: Union[ - Union[Sequence[float], Union["ExprRef", "_Parameter", dict]], UndefinedType + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, strokeWidth: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, symbolBaseFillColor: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolBaseStrokeColor: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolDash: Union[ - Union[Sequence[float], Union["ExprRef", "_Parameter", dict]], UndefinedType + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, symbolDashOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, symbolDirection: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["Orientation", Literal["horizontal", "vertical"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["horizontal", "vertical"], UndefinedType, ] = Undefined, symbolFillColor: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolLimit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, symbolOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, symbolOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, symbolSize: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, symbolStrokeColor: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, symbolStrokeWidth: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, symbolType: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["SymbolShape", str]], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, tickCount: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "TickCount", - Union[ - "TimeInterval", - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - ], - Union["TimeIntervalStep", dict], - float, - ], + dict, + float, + "_Parameter", + "SchemaBase", + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, title: Union[None, UndefinedType] = Undefined, titleAlign: Union[ - Union[ - Union["Align", Literal["left", "center", "right"]], - Union["ExprRef", "_Parameter", dict], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["left", "center", "right"], UndefinedType, ] = Undefined, titleAnchor: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["TitleAnchor", Literal[None, "start", "middle", "end"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[None, "start", "middle", "end"], UndefinedType, ] = Undefined, titleBaseline: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "TextBaseline", - Union["Baseline", Literal["top", "middle", "bottom"]], - str, - ], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, titleColor: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, titleFont: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleFontSize: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleFontStyle: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["FontStyle", str]], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleFontWeight: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "FontWeight", - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, titleLimit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleLineHeight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, titleOrient: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["Orient", Literal["left", "right", "top", "bottom"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["left", "right", "top", "bottom"], UndefinedType, ] = Undefined, titlePadding: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, unselectedOpacity: Union[float, UndefinedType] = Undefined, zindex: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, **kwds, ): @@ -22762,11 +19717,7 @@ def __init__( class LegendOrient(VegaLiteSchema): - """LegendOrient schema wrapper - - :class:`LegendOrient`, Literal['none', 'left', 'right', 'top', 'bottom', 'top-left', - 'top-right', 'bottom-left', 'bottom-right'] - """ + """LegendOrient schema wrapper""" _schema = {"$ref": "#/definitions/LegendOrient"} @@ -22777,8 +19728,6 @@ def __init__(self, *args): class LegendResolveMap(VegaLiteSchema): """LegendResolveMap schema wrapper - :class:`LegendResolveMap`, Dict - Parameters ---------- @@ -22811,37 +19760,37 @@ class LegendResolveMap(VegaLiteSchema): def __init__( self, angle: Union[ - Union["ResolveMode", Literal["independent", "shared"]], UndefinedType + "SchemaBase", Literal["independent", "shared"], UndefinedType ] = Undefined, color: Union[ - Union["ResolveMode", Literal["independent", "shared"]], UndefinedType + "SchemaBase", Literal["independent", "shared"], UndefinedType ] = Undefined, fill: Union[ - Union["ResolveMode", Literal["independent", "shared"]], UndefinedType + "SchemaBase", Literal["independent", "shared"], UndefinedType ] = Undefined, fillOpacity: Union[ - Union["ResolveMode", Literal["independent", "shared"]], UndefinedType + "SchemaBase", Literal["independent", "shared"], UndefinedType ] = Undefined, opacity: Union[ - Union["ResolveMode", Literal["independent", "shared"]], UndefinedType + "SchemaBase", Literal["independent", "shared"], UndefinedType ] = Undefined, shape: Union[ - Union["ResolveMode", Literal["independent", "shared"]], UndefinedType + "SchemaBase", Literal["independent", "shared"], UndefinedType ] = Undefined, size: Union[ - Union["ResolveMode", Literal["independent", "shared"]], UndefinedType + "SchemaBase", Literal["independent", "shared"], UndefinedType ] = Undefined, stroke: Union[ - Union["ResolveMode", Literal["independent", "shared"]], UndefinedType + "SchemaBase", Literal["independent", "shared"], UndefinedType ] = Undefined, strokeDash: Union[ - Union["ResolveMode", Literal["independent", "shared"]], UndefinedType + "SchemaBase", Literal["independent", "shared"], UndefinedType ] = Undefined, strokeOpacity: Union[ - Union["ResolveMode", Literal["independent", "shared"]], UndefinedType + "SchemaBase", Literal["independent", "shared"], UndefinedType ] = Undefined, strokeWidth: Union[ - Union["ResolveMode", Literal["independent", "shared"]], UndefinedType + "SchemaBase", Literal["independent", "shared"], UndefinedType ] = Undefined, **kwds, ): @@ -22864,32 +19813,17 @@ def __init__( class LegendStreamBinding(LegendBinding): """LegendStreamBinding schema wrapper - :class:`LegendStreamBinding`, Dict[required=[legend]] - Parameters ---------- - legend : :class:`DerivedStream`, Dict[required=[stream]], :class:`EventStream`, Dict[required=[source, type]], Dict[required=[type]], :class:`MergedStream`, Dict[required=[merge]], :class:`Stream`, str + legend : str, dict, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream` """ _schema = {"$ref": "#/definitions/LegendStreamBinding"} def __init__( - self, - legend: Union[ - Union[ - Union[ - "Stream", - Union["DerivedStream", dict], - Union["EventStream", dict], - Union["MergedStream", dict], - ], - str, - ], - UndefinedType, - ] = Undefined, - **kwds, + self, legend: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, **kwds ): super(LegendStreamBinding, self).__init__(legend=legend, **kwds) @@ -22897,37 +19831,35 @@ def __init__( class LineConfig(AnyMarkConfig): """LineConfig schema wrapper - :class:`LineConfig`, Dict - Parameters ---------- - align : :class:`Align`, Literal['left', 'center', 'right'], :class:`ExprRef`, Dict[required=[expr]] + align : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] The horizontal alignment of the text or ranged marks (area, bar, image, rect, rule). One of ``"left"``, ``"right"``, ``"center"``. **Note:** Expression reference is *not* supported for range marks. - angle : :class:`ExprRef`, Dict[required=[expr]], float + angle : dict, float, :class:`ExprRef` The rotation angle of the text, in degrees. - aria : :class:`ExprRef`, Dict[required=[expr]], bool + aria : bool, dict, :class:`ExprRef` A boolean flag indicating if `ARIA attributes `__ should be included (SVG output only). If ``false``, the "aria-hidden" attribute will be set on the output SVG element, removing the mark item from the ARIA accessibility tree. - ariaRole : :class:`ExprRef`, Dict[required=[expr]], str + ariaRole : str, dict, :class:`ExprRef` Sets the type of user interface element of the mark item for `ARIA accessibility `__ (SVG output only). If specified, this property determines the "role" attribute. Warning: this property is experimental and may be changed in the future. - ariaRoleDescription : :class:`ExprRef`, Dict[required=[expr]], str + ariaRoleDescription : str, dict, :class:`ExprRef` A human-readable, author-localized description for the role of the mark item for `ARIA accessibility `__ (SVG output only). If specified, this property determines the "aria-roledescription" attribute. Warning: this property is experimental and may be changed in the future. - aspect : :class:`ExprRef`, Dict[required=[expr]], bool + aspect : bool, dict, :class:`ExprRef` Whether to keep aspect ratio of image marks. - baseline : :class:`Baseline`, Literal['top', 'middle', 'bottom'], :class:`TextBaseline`, str, :class:`ExprRef`, Dict[required=[expr]] + baseline : str, dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['top', 'middle', 'bottom'] For text marks, the vertical text baseline. One of ``"alphabetic"`` (default), ``"top"``, ``"middle"``, ``"bottom"``, ``"line-top"``, ``"line-bottom"``, or an expression reference that provides one of the valid values. The ``"line-top"`` and @@ -22938,13 +19870,13 @@ class LineConfig(AnyMarkConfig): ``"middle"``, ``"bottom"``. **Note:** Expression reference is *not* supported for range marks. - blend : :class:`Blend`, Literal[None, 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'], :class:`ExprRef`, Dict[required=[expr]] + blend : dict, :class:`Blend`, :class:`ExprRef`, Literal[None, 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'] The color blend mode for drawing an item on its current background. Any valid `CSS mix-blend-mode `__ value can be used. __Default value:__ ``"source-over"`` - color : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]] + color : str, dict, :class:`Color`, :class:`ExprRef`, :class:`Gradient`, :class:`HexColor`, :class:`ColorName`, :class:`LinearGradient`, :class:`RadialGradient`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Default color. **Default value:** :raw-html:`` @@ -22957,59 +19889,59 @@ class LineConfig(AnyMarkConfig): `__. * The ``fill`` and ``stroke`` properties have higher precedence than ``color`` and will override ``color``. - cornerRadius : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadius : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles or arcs' corners. **Default value:** ``0`` - cornerRadiusBottomLeft : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusBottomLeft : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom left corner. **Default value:** ``0`` - cornerRadiusBottomRight : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusBottomRight : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom right corner. **Default value:** ``0`` - cornerRadiusTopLeft : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusTopLeft : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top right corner. **Default value:** ``0`` - cornerRadiusTopRight : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusTopRight : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top left corner. **Default value:** ``0`` - cursor : :class:`Cursor`, Literal['auto', 'default', 'none', 'context-menu', 'help', 'pointer', 'progress', 'wait', 'cell', 'crosshair', 'text', 'vertical-text', 'alias', 'copy', 'move', 'no-drop', 'not-allowed', 'e-resize', 'n-resize', 'ne-resize', 'nw-resize', 's-resize', 'se-resize', 'sw-resize', 'w-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'col-resize', 'row-resize', 'all-scroll', 'zoom-in', 'zoom-out', 'grab', 'grabbing'], :class:`ExprRef`, Dict[required=[expr]] + cursor : dict, :class:`Cursor`, :class:`ExprRef`, Literal['auto', 'default', 'none', 'context-menu', 'help', 'pointer', 'progress', 'wait', 'cell', 'crosshair', 'text', 'vertical-text', 'alias', 'copy', 'move', 'no-drop', 'not-allowed', 'e-resize', 'n-resize', 'ne-resize', 'nw-resize', 's-resize', 'se-resize', 'sw-resize', 'w-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'col-resize', 'row-resize', 'all-scroll', 'zoom-in', 'zoom-out', 'grab', 'grabbing'] The mouse cursor used over the mark. Any valid `CSS cursor type `__ can be used. - description : :class:`ExprRef`, Dict[required=[expr]], str + description : str, dict, :class:`ExprRef` A text description of the mark item for `ARIA accessibility `__ (SVG output only). If specified, this property determines the `"aria-label" attribute `__. - dir : :class:`ExprRef`, Dict[required=[expr]], :class:`TextDirection`, Literal['ltr', 'rtl'] + dir : dict, :class:`ExprRef`, Literal['ltr', 'rtl'], :class:`TextDirection` The direction of the text. One of ``"ltr"`` (left-to-right) or ``"rtl"`` (right-to-left). This property determines on which side is truncated in response to the limit parameter. **Default value:** ``"ltr"`` - dx : :class:`ExprRef`, Dict[required=[expr]], float + dx : dict, float, :class:`ExprRef` The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the *angle* property. - dy : :class:`ExprRef`, Dict[required=[expr]], float + dy : dict, float, :class:`ExprRef` The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the *angle* property. - ellipsis : :class:`ExprRef`, Dict[required=[expr]], str + ellipsis : str, dict, :class:`ExprRef` The ellipsis string for text truncated in response to the limit parameter. **Default value:** ``"…"`` - endAngle : :class:`ExprRef`, Dict[required=[expr]], float + endAngle : dict, float, :class:`ExprRef` The end angle in radians for arc marks. A value of ``0`` indicates up (north), increasing values proceed clockwise. - fill : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]], None + fill : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`Gradient`, :class:`HexColor`, :class:`ColorName`, :class:`LinearGradient`, :class:`RadialGradient`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Default fill color. This property has higher precedence than ``config.color``. Set to ``null`` to remove fill. **Default value:** (None) - fillOpacity : :class:`ExprRef`, Dict[required=[expr]], float + fillOpacity : dict, float, :class:`ExprRef` The fill opacity (value between [0,1]). **Default value:** ``1`` @@ -23023,28 +19955,28 @@ class LineConfig(AnyMarkConfig): **Note:** This property cannot be used in a `style config `__. - font : :class:`ExprRef`, Dict[required=[expr]], str + font : str, dict, :class:`ExprRef` The typeface to set the text in (e.g., ``"Helvetica Neue"`` ). - fontSize : :class:`ExprRef`, Dict[required=[expr]], float + fontSize : dict, float, :class:`ExprRef` The font size, in pixels. **Default value:** ``11`` - fontStyle : :class:`ExprRef`, Dict[required=[expr]], :class:`FontStyle`, str + fontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` The font style (e.g., ``"italic"`` ). - fontWeight : :class:`ExprRef`, Dict[required=[expr]], :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + fontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] The font weight. This can be either a string (e.g ``"bold"``, ``"normal"`` ) or a number ( ``100``, ``200``, ``300``, ..., ``900`` where ``"normal"`` = ``400`` and ``"bold"`` = ``700`` ). - height : :class:`ExprRef`, Dict[required=[expr]], float + height : dict, float, :class:`ExprRef` Height of the marks. - href : :class:`ExprRef`, Dict[required=[expr]], :class:`URI`, str + href : str, dict, :class:`URI`, :class:`ExprRef` A URL to load upon mouse click. If defined, the mark acts as a hyperlink. - innerRadius : :class:`ExprRef`, Dict[required=[expr]], float + innerRadius : dict, float, :class:`ExprRef` The inner radius in pixels of arc marks. ``innerRadius`` is an alias for ``radius2``. **Default value:** ``0`` - interpolate : :class:`ExprRef`, Dict[required=[expr]], :class:`Interpolate`, Literal['basis', 'basis-open', 'basis-closed', 'bundle', 'cardinal', 'cardinal-open', 'cardinal-closed', 'catmull-rom', 'linear', 'linear-closed', 'monotone', 'natural', 'step', 'step-before', 'step-after'] + interpolate : dict, :class:`ExprRef`, :class:`Interpolate`, Literal['basis', 'basis-open', 'basis-closed', 'bundle', 'cardinal', 'cardinal-open', 'cardinal-closed', 'catmull-rom', 'linear', 'linear-closed', 'monotone', 'natural', 'step', 'step-before', 'step-after'] The line interpolation method to use for line and area marks. One of the following: @@ -23075,23 +20007,23 @@ class LineConfig(AnyMarkConfig): (for line, trail, and area marks) or filtered (for other marks). * If ``null``, all data items are included. In this case, invalid values will be interpreted as zeroes. - limit : :class:`ExprRef`, Dict[required=[expr]], float + limit : dict, float, :class:`ExprRef` The maximum length of the text mark in pixels. The text value will be automatically truncated if the rendered size exceeds the limit. **Default value:** ``0`` -- indicating no limit - lineBreak : :class:`ExprRef`, Dict[required=[expr]], str + lineBreak : str, dict, :class:`ExprRef` A delimiter, such as a newline character, upon which to break text strings into multiple lines. This property is ignored if the text is array-valued. - lineHeight : :class:`ExprRef`, Dict[required=[expr]], float + lineHeight : dict, float, :class:`ExprRef` The line height in pixels (the spacing between subsequent lines of text) for multi-line text marks. - opacity : :class:`ExprRef`, Dict[required=[expr]], float + opacity : dict, float, :class:`ExprRef` The overall opacity (value between [0,1]). **Default value:** ``0.7`` for non-aggregate plots with ``point``, ``tick``, ``circle``, or ``square`` marks or layered ``bar`` charts and ``1`` otherwise. - order : None, bool + order : bool, None For line and trail marks, this ``order`` property can be set to ``null`` or ``false`` to make the lines use the original order in the data sources. orient : :class:`Orientation`, Literal['horizontal', 'vertical'] @@ -23106,13 +20038,13 @@ class LineConfig(AnyMarkConfig): the line if ``config.sortLineBy`` is not specified. For stacked charts, this is always determined by the orientation of the stack; therefore explicitly specified value will be ignored. - outerRadius : :class:`ExprRef`, Dict[required=[expr]], float + outerRadius : dict, float, :class:`ExprRef` The outer radius in pixels of arc marks. ``outerRadius`` is an alias for ``radius``. **Default value:** ``0`` - padAngle : :class:`ExprRef`, Dict[required=[expr]], float + padAngle : dict, float, :class:`ExprRef` The angular padding applied to sides of the arc, in radians. - point : :class:`OverlayMarkDef`, Dict, bool, str + point : str, bool, dict, :class:`OverlayMarkDef` A flag for overlaying points on top of line or area marks, or an object defining the properties of the overlayed points. @@ -23127,18 +20059,18 @@ class LineConfig(AnyMarkConfig): area marks. **Default value:** ``false``. - radius : :class:`ExprRef`, Dict[required=[expr]], float + radius : dict, float, :class:`ExprRef` For arc mark, the primary (outer) radius in pixels. For text marks, polar coordinate radial offset, in pixels, of the text from the origin determined by the ``x`` and ``y`` properties. **Default value:** ``min(plot_width, plot_height)/2`` - radius2 : :class:`ExprRef`, Dict[required=[expr]], float + radius2 : dict, float, :class:`ExprRef` The secondary (inner) radius in pixels of arc marks. **Default value:** ``0`` - shape : :class:`ExprRef`, Dict[required=[expr]], :class:`SymbolShape`, str, str + shape : str, dict, :class:`ExprRef`, :class:`SymbolShape` Shape of the point marks. Supported values include: @@ -23153,7 +20085,7 @@ class LineConfig(AnyMarkConfig): coordinates ranging from -1 to 1 along both the x and y dimensions.) **Default value:** ``"circle"`` - size : :class:`ExprRef`, Dict[required=[expr]], float + size : dict, float, :class:`ExprRef` Default size for marks. @@ -23170,56 +20102,56 @@ class LineConfig(AnyMarkConfig): * ``2`` for bar marks with discrete dimensions; * ``5`` for bar marks with continuous dimensions; * ``11`` for text marks. - smooth : :class:`ExprRef`, Dict[required=[expr]], bool + smooth : bool, dict, :class:`ExprRef` A boolean flag (default true) indicating if the image should be smoothed when resized. If false, individual pixels should be scaled directly rather than interpolated with smoothing. For SVG rendering, this option may not work in some browsers due to lack of standardization. - startAngle : :class:`ExprRef`, Dict[required=[expr]], float + startAngle : dict, float, :class:`ExprRef` The start angle in radians for arc marks. A value of ``0`` indicates up (north), increasing values proceed clockwise. - stroke : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]], None + stroke : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`Gradient`, :class:`HexColor`, :class:`ColorName`, :class:`LinearGradient`, :class:`RadialGradient`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Default stroke color. This property has higher precedence than ``config.color``. Set to ``null`` to remove stroke. **Default value:** (None) - strokeCap : :class:`ExprRef`, Dict[required=[expr]], :class:`StrokeCap`, Literal['butt', 'round', 'square'] + strokeCap : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] The stroke cap for line ending style. One of ``"butt"``, ``"round"``, or ``"square"``. **Default value:** ``"butt"`` - strokeDash : :class:`ExprRef`, Dict[required=[expr]], Sequence[float] + strokeDash : dict, Sequence[float], :class:`ExprRef` An array of alternating stroke, space lengths for creating dashed or dotted lines. - strokeDashOffset : :class:`ExprRef`, Dict[required=[expr]], float + strokeDashOffset : dict, float, :class:`ExprRef` The offset (in pixels) into which to begin drawing with the stroke dash array. - strokeJoin : :class:`ExprRef`, Dict[required=[expr]], :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] + strokeJoin : dict, :class:`ExprRef`, :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] The stroke line join method. One of ``"miter"``, ``"round"`` or ``"bevel"``. **Default value:** ``"miter"`` - strokeMiterLimit : :class:`ExprRef`, Dict[required=[expr]], float + strokeMiterLimit : dict, float, :class:`ExprRef` The miter limit at which to bevel a line join. - strokeOffset : :class:`ExprRef`, Dict[required=[expr]], float + strokeOffset : dict, float, :class:`ExprRef` The offset in pixels at which to draw the group stroke and fill. If unspecified, the default behavior is to dynamically offset stroked groups such that 1 pixel stroke widths align with the pixel grid. - strokeOpacity : :class:`ExprRef`, Dict[required=[expr]], float + strokeOpacity : dict, float, :class:`ExprRef` The stroke opacity (value between [0,1]). **Default value:** ``1`` - strokeWidth : :class:`ExprRef`, Dict[required=[expr]], float + strokeWidth : dict, float, :class:`ExprRef` The stroke width, in pixels. - tension : :class:`ExprRef`, Dict[required=[expr]], float + tension : dict, float, :class:`ExprRef` Depending on the interpolation type, sets the tension parameter (for line and area marks). - text : :class:`ExprRef`, Dict[required=[expr]], :class:`Text`, Sequence[str], str + text : str, dict, :class:`Text`, Sequence[str], :class:`ExprRef` Placeholder text if the ``text`` channel is not specified - theta : :class:`ExprRef`, Dict[required=[expr]], float + theta : dict, float, :class:`ExprRef` For arc marks, the arc length in radians if theta2 is not specified, otherwise the start arc angle. (A value of 0 indicates up or “north”, increasing values proceed clockwise.) For text marks, polar coordinate angle in radians. - theta2 : :class:`ExprRef`, Dict[required=[expr]], float + theta2 : dict, float, :class:`ExprRef` The end angle of arc marks in radians. A value of 0 indicates up or “north”, increasing values proceed clockwise. timeUnitBandPosition : float @@ -23230,7 +20162,7 @@ class LineConfig(AnyMarkConfig): Default relative band size for a time unit. If set to ``1``, the bandwidth of the marks will be equal to the time unit band step. If set to ``0.5``, bandwidth of the marks will be half of the time unit band step. - tooltip : :class:`ExprRef`, Dict[required=[expr]], :class:`TooltipContent`, Dict[required=[content]], None, bool, float, str + tooltip : str, bool, dict, None, float, :class:`ExprRef`, :class:`TooltipContent` The tooltip text string to show upon mouse hover or an object defining which fields should the tooltip be derived from. @@ -23245,28 +20177,28 @@ class LineConfig(AnyMarkConfig): documentation for a detailed discussion about tooltip in Vega-Lite. **Default value:** ``null`` - url : :class:`ExprRef`, Dict[required=[expr]], :class:`URI`, str + url : str, dict, :class:`URI`, :class:`ExprRef` The URL of the image file for image marks. - width : :class:`ExprRef`, Dict[required=[expr]], float + width : dict, float, :class:`ExprRef` Width of the marks. - x : :class:`ExprRef`, Dict[required=[expr]], float, str + x : str, dict, float, :class:`ExprRef` X coordinates of the marks, or width of horizontal ``"bar"`` and ``"area"`` without specified ``x2`` or ``width``. The ``value`` of this channel can be a number or a string ``"width"`` for the width of the plot. - x2 : :class:`ExprRef`, Dict[required=[expr]], float, str + x2 : str, dict, float, :class:`ExprRef` X2 coordinates for ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. The ``value`` of this channel can be a number or a string ``"width"`` for the width of the plot. - y : :class:`ExprRef`, Dict[required=[expr]], float, str + y : str, dict, float, :class:`ExprRef` Y coordinates of the marks, or height of vertical ``"bar"`` and ``"area"`` without specified ``y2`` or ``height``. The ``value`` of this channel can be a number or a string ``"height"`` for the height of the plot. - y2 : :class:`ExprRef`, Dict[required=[expr]], float, str + y2 : str, dict, float, :class:`ExprRef` Y2 coordinates for ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. The ``value`` of this channel can be a number or a string ``"height"`` for the @@ -23278,858 +20210,767 @@ class LineConfig(AnyMarkConfig): def __init__( self, align: Union[ - Union[ - Union["Align", Literal["left", "center", "right"]], - Union["ExprRef", "_Parameter", dict], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["left", "center", "right"], UndefinedType, ] = Undefined, angle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - aria: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + aria: Union[bool, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, ariaRole: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, ariaRoleDescription: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, aspect: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + bool, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, baseline: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "TextBaseline", - Union["Baseline", Literal["top", "middle", "bottom"]], - str, - ], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, blend: Union[ - Union[ - Union[ - "Blend", - Literal[ - None, - "multiply", - "screen", - "overlay", - "darken", - "lighten", - "color-dodge", - "color-burn", - "hard-light", - "soft-light", - "difference", - "exclusion", - "hue", - "saturation", - "color", - "luminosity", - ], - ], - Union["ExprRef", "_Parameter", dict], + dict, + "_Parameter", + "SchemaBase", + Literal[ + None, + "multiply", + "screen", + "overlay", + "darken", + "lighten", + "color-dodge", + "color-burn", + "hard-light", + "soft-light", + "difference", + "exclusion", + "hue", + "saturation", + "color", + "luminosity", ], UndefinedType, ] = Undefined, color: Union[ - Union[ - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], - Union[ - "Gradient", - Union["LinearGradient", dict], - Union["RadialGradient", dict], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, cornerRadius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusBottomLeft: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusBottomRight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusTopLeft: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusTopRight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cursor: Union[ - Union[ - Union[ - "Cursor", - Literal[ - "auto", - "default", - "none", - "context-menu", - "help", - "pointer", - "progress", - "wait", - "cell", - "crosshair", - "text", - "vertical-text", - "alias", - "copy", - "move", - "no-drop", - "not-allowed", - "e-resize", - "n-resize", - "ne-resize", - "nw-resize", - "s-resize", - "se-resize", - "sw-resize", - "w-resize", - "ew-resize", - "ns-resize", - "nesw-resize", - "nwse-resize", - "col-resize", - "row-resize", - "all-scroll", - "zoom-in", - "zoom-out", - "grab", - "grabbing", - ], - ], - Union["ExprRef", "_Parameter", dict], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "auto", + "default", + "none", + "context-menu", + "help", + "pointer", + "progress", + "wait", + "cell", + "crosshair", + "text", + "vertical-text", + "alias", + "copy", + "move", + "no-drop", + "not-allowed", + "e-resize", + "n-resize", + "ne-resize", + "nw-resize", + "s-resize", + "se-resize", + "sw-resize", + "w-resize", + "ew-resize", + "ns-resize", + "nesw-resize", + "nwse-resize", + "col-resize", + "row-resize", + "all-scroll", + "zoom-in", + "zoom-out", + "grab", + "grabbing", ], UndefinedType, ] = Undefined, description: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, dir: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["TextDirection", Literal["ltr", "rtl"]], - ], - UndefinedType, - ] = Undefined, - dx: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - dy: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, "_Parameter", "SchemaBase", Literal["ltr", "rtl"], UndefinedType ] = Undefined, + dx: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, + dy: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, ellipsis: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, endAngle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, fill: Union[ - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], - Union[ - "Gradient", - Union["LinearGradient", dict], - Union["RadialGradient", dict], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, fillOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, filled: Union[bool, UndefinedType] = Undefined, - font: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType - ] = Undefined, + font: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, fontSize: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, fontStyle: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["FontStyle", str]], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, fontWeight: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "FontWeight", - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, height: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - href: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["URI", str]], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + href: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, innerRadius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "Interpolate", - Literal[ - "basis", - "basis-open", - "basis-closed", - "bundle", - "cardinal", - "cardinal-open", - "cardinal-closed", - "catmull-rom", - "linear", - "linear-closed", - "monotone", - "natural", - "step", - "step-before", - "step-after", - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "basis", + "basis-open", + "basis-closed", + "bundle", + "cardinal", + "cardinal-open", + "cardinal-closed", + "catmull-rom", + "linear", + "linear-closed", + "monotone", + "natural", + "step", + "step-before", + "step-after", ], UndefinedType, ] = Undefined, invalid: Union[Literal["filter", None], UndefinedType] = Undefined, limit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, lineBreak: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, lineHeight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, opacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, - order: Union[Union[None, bool], UndefinedType] = Undefined, + order: Union[bool, None, UndefinedType] = Undefined, orient: Union[ - Union["Orientation", Literal["horizontal", "vertical"]], UndefinedType + "SchemaBase", Literal["horizontal", "vertical"], UndefinedType ] = Undefined, outerRadius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, padAngle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - point: Union[ - Union[Union["OverlayMarkDef", dict], bool, str], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + point: Union[str, bool, dict, "SchemaBase", UndefinedType] = Undefined, radius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, radius2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - shape: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[Union["SymbolShape", str], str], - ], - UndefinedType, - ] = Undefined, - size: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + shape: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, + size: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, smooth: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + bool, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, startAngle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, stroke: Union[ - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], - Union[ - "Gradient", - Union["LinearGradient", dict], - Union["RadialGradient", dict], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, strokeCap: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["StrokeCap", Literal["butt", "round", "square"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, strokeDash: Union[ - Union[Sequence[float], Union["ExprRef", "_Parameter", dict]], UndefinedType + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, strokeDashOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeJoin: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["StrokeJoin", Literal["miter", "round", "bevel"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["miter", "round", "bevel"], UndefinedType, ] = Undefined, strokeMiterLimit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeWidth: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, tension: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, text: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], Union["Text", Sequence[str], str] - ], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", Sequence[str], UndefinedType ] = Undefined, theta: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, theta2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, timeUnitBandPosition: Union[float, UndefinedType] = Undefined, timeUnitBandSize: Union[float, UndefinedType] = Undefined, tooltip: Union[ - Union[ - None, - Union["ExprRef", "_Parameter", dict], - Union["TooltipContent", dict], - bool, - float, - str, - ], - UndefinedType, - ] = Undefined, - url: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["URI", str]], - UndefinedType, + str, bool, dict, None, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + url: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, width: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, x: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, x2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, y: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, y2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, **kwds, ): @@ -24210,14 +21051,12 @@ def __init__( class LineString(Geometry): """LineString schema wrapper - - :class:`LineString`, Dict[required=[coordinates, type]] LineString geometry object. https://tools.ietf.org/html/rfc7946#section-3.1.4 Parameters ---------- - coordinates : Sequence[:class:`Position`, Sequence[float]] + coordinates : Sequence[Sequence[float], :class:`Position`] type : str Specifies the type of GeoJSON object. @@ -24231,10 +21070,10 @@ class LineString(Geometry): def __init__( self, coordinates: Union[ - Sequence[Union["Position", Sequence[float]]], UndefinedType + Sequence[Union["SchemaBase", Sequence[float]]], UndefinedType ] = Undefined, type: Union[str, UndefinedType] = Undefined, - bbox: Union[Union["BBox", Sequence[float]], UndefinedType] = Undefined, + bbox: Union["SchemaBase", Sequence[float], UndefinedType] = Undefined, **kwds, ): super(LineString, self).__init__( @@ -24245,14 +21084,12 @@ def __init__( class LinearGradient(Gradient): """LinearGradient schema wrapper - :class:`LinearGradient`, Dict[required=[gradient, stops]] - Parameters ---------- gradient : str The type of gradient. Use ``"linear"`` for a linear gradient. - stops : Sequence[:class:`GradientStop`, Dict[required=[offset, color]]] + stops : Sequence[dict, :class:`GradientStop`] An array of gradient stops defining the gradient color sequence. id : str @@ -24279,7 +21116,7 @@ class LinearGradient(Gradient): def __init__( self, gradient: Union[str, UndefinedType] = Undefined, - stops: Union[Sequence[Union["GradientStop", dict]], UndefinedType] = Undefined, + stops: Union[Sequence[Union[dict, "SchemaBase"]], UndefinedType] = Undefined, id: Union[str, UndefinedType] = Undefined, x1: Union[float, UndefinedType] = Undefined, x2: Union[float, UndefinedType] = Undefined, @@ -24295,14 +21132,12 @@ def __init__( class Locale(VegaLiteSchema): """Locale schema wrapper - :class:`Locale`, Dict - Parameters ---------- - number : :class:`NumberLocale`, Dict[required=[decimal, thousands, grouping, currency]] + number : dict, :class:`NumberLocale` Locale definition for formatting numbers. - time : :class:`TimeLocale`, Dict[required=[dateTime, date, time, periods, days, shortDays, months, shortMonths]] + time : dict, :class:`TimeLocale` Locale definition for formatting dates and times. """ @@ -24310,8 +21145,8 @@ class Locale(VegaLiteSchema): def __init__( self, - number: Union[Union["NumberLocale", dict], UndefinedType] = Undefined, - time: Union[Union["TimeLocale", dict], UndefinedType] = Undefined, + number: Union[dict, "SchemaBase", UndefinedType] = Undefined, + time: Union[dict, "SchemaBase", UndefinedType] = Undefined, **kwds, ): super(Locale, self).__init__(number=number, time=time, **kwds) @@ -24320,16 +21155,14 @@ def __init__( class LookupData(VegaLiteSchema): """LookupData schema wrapper - :class:`LookupData`, Dict[required=[data, key]] - Parameters ---------- - data : :class:`DataSource`, :class:`InlineData`, Dict[required=[values]], :class:`NamedData`, Dict[required=[name]], :class:`UrlData`, Dict[required=[url]], :class:`Data`, :class:`Generator`, :class:`GraticuleGenerator`, Dict[required=[graticule]], :class:`SequenceGenerator`, Dict[required=[sequence]], :class:`SphereGenerator`, Dict[required=[sphere]] + data : dict, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` Secondary data source to lookup in. - key : :class:`FieldName`, str + key : str, :class:`FieldName` Key in data to lookup. - fields : Sequence[:class:`FieldName`, str] + fields : Sequence[str, :class:`FieldName`] Fields in foreign data or selection to lookup. If not specified, the entire object is queried. """ @@ -24338,26 +21171,9 @@ class LookupData(VegaLiteSchema): def __init__( self, - data: Union[ - Union[ - "Data", - Union[ - "DataSource", - Union["InlineData", dict], - Union["NamedData", dict], - Union["UrlData", dict], - ], - Union[ - "Generator", - Union["GraticuleGenerator", dict], - Union["SequenceGenerator", dict], - Union["SphereGenerator", dict], - ], - ], - UndefinedType, - ] = Undefined, - key: Union[Union["FieldName", str], UndefinedType] = Undefined, - fields: Union[Sequence[Union["FieldName", str]], UndefinedType] = Undefined, + data: Union[dict, "SchemaBase", UndefinedType] = Undefined, + key: Union[str, "SchemaBase", UndefinedType] = Undefined, + fields: Union[Sequence[Union[str, "SchemaBase"]], UndefinedType] = Undefined, **kwds, ): super(LookupData, self).__init__(data=data, key=key, fields=fields, **kwds) @@ -24366,16 +21182,14 @@ def __init__( class LookupSelection(VegaLiteSchema): """LookupSelection schema wrapper - :class:`LookupSelection`, Dict[required=[key, param]] - Parameters ---------- - key : :class:`FieldName`, str + key : str, :class:`FieldName` Key in data to lookup. - param : :class:`ParameterName`, str + param : str, :class:`ParameterName` Selection parameter name to look up. - fields : Sequence[:class:`FieldName`, str] + fields : Sequence[str, :class:`FieldName`] Fields in foreign data or selection to lookup. If not specified, the entire object is queried. """ @@ -24384,9 +21198,9 @@ class LookupSelection(VegaLiteSchema): def __init__( self, - key: Union[Union["FieldName", str], UndefinedType] = Undefined, - param: Union[Union["ParameterName", str], UndefinedType] = Undefined, - fields: Union[Sequence[Union["FieldName", str]], UndefinedType] = Undefined, + key: Union[str, "SchemaBase", UndefinedType] = Undefined, + param: Union[str, "SchemaBase", UndefinedType] = Undefined, + fields: Union[Sequence[Union[str, "SchemaBase"]], UndefinedType] = Undefined, **kwds, ): super(LookupSelection, self).__init__( @@ -24396,9 +21210,6 @@ def __init__( class Mark(AnyMark): """Mark schema wrapper - - :class:`Mark`, Literal['arc', 'area', 'bar', 'image', 'line', 'point', 'rect', 'rule', - 'text', 'tick', 'trail', 'circle', 'square', 'geoshape'] All types of primitive marks. """ @@ -24411,37 +21222,35 @@ def __init__(self, *args): class MarkConfig(AnyMarkConfig): """MarkConfig schema wrapper - :class:`MarkConfig`, Dict - Parameters ---------- - align : :class:`Align`, Literal['left', 'center', 'right'], :class:`ExprRef`, Dict[required=[expr]] + align : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] The horizontal alignment of the text or ranged marks (area, bar, image, rect, rule). One of ``"left"``, ``"right"``, ``"center"``. **Note:** Expression reference is *not* supported for range marks. - angle : :class:`ExprRef`, Dict[required=[expr]], float + angle : dict, float, :class:`ExprRef` The rotation angle of the text, in degrees. - aria : :class:`ExprRef`, Dict[required=[expr]], bool + aria : bool, dict, :class:`ExprRef` A boolean flag indicating if `ARIA attributes `__ should be included (SVG output only). If ``false``, the "aria-hidden" attribute will be set on the output SVG element, removing the mark item from the ARIA accessibility tree. - ariaRole : :class:`ExprRef`, Dict[required=[expr]], str + ariaRole : str, dict, :class:`ExprRef` Sets the type of user interface element of the mark item for `ARIA accessibility `__ (SVG output only). If specified, this property determines the "role" attribute. Warning: this property is experimental and may be changed in the future. - ariaRoleDescription : :class:`ExprRef`, Dict[required=[expr]], str + ariaRoleDescription : str, dict, :class:`ExprRef` A human-readable, author-localized description for the role of the mark item for `ARIA accessibility `__ (SVG output only). If specified, this property determines the "aria-roledescription" attribute. Warning: this property is experimental and may be changed in the future. - aspect : :class:`ExprRef`, Dict[required=[expr]], bool + aspect : bool, dict, :class:`ExprRef` Whether to keep aspect ratio of image marks. - baseline : :class:`Baseline`, Literal['top', 'middle', 'bottom'], :class:`TextBaseline`, str, :class:`ExprRef`, Dict[required=[expr]] + baseline : str, dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['top', 'middle', 'bottom'] For text marks, the vertical text baseline. One of ``"alphabetic"`` (default), ``"top"``, ``"middle"``, ``"bottom"``, ``"line-top"``, ``"line-bottom"``, or an expression reference that provides one of the valid values. The ``"line-top"`` and @@ -24452,13 +21261,13 @@ class MarkConfig(AnyMarkConfig): ``"middle"``, ``"bottom"``. **Note:** Expression reference is *not* supported for range marks. - blend : :class:`Blend`, Literal[None, 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'], :class:`ExprRef`, Dict[required=[expr]] + blend : dict, :class:`Blend`, :class:`ExprRef`, Literal[None, 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'] The color blend mode for drawing an item on its current background. Any valid `CSS mix-blend-mode `__ value can be used. __Default value:__ ``"source-over"`` - color : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]] + color : str, dict, :class:`Color`, :class:`ExprRef`, :class:`Gradient`, :class:`HexColor`, :class:`ColorName`, :class:`LinearGradient`, :class:`RadialGradient`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Default color. **Default value:** :raw-html:`` @@ -24471,59 +21280,59 @@ class MarkConfig(AnyMarkConfig): `__. * The ``fill`` and ``stroke`` properties have higher precedence than ``color`` and will override ``color``. - cornerRadius : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadius : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles or arcs' corners. **Default value:** ``0`` - cornerRadiusBottomLeft : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusBottomLeft : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom left corner. **Default value:** ``0`` - cornerRadiusBottomRight : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusBottomRight : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom right corner. **Default value:** ``0`` - cornerRadiusTopLeft : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusTopLeft : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top right corner. **Default value:** ``0`` - cornerRadiusTopRight : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusTopRight : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top left corner. **Default value:** ``0`` - cursor : :class:`Cursor`, Literal['auto', 'default', 'none', 'context-menu', 'help', 'pointer', 'progress', 'wait', 'cell', 'crosshair', 'text', 'vertical-text', 'alias', 'copy', 'move', 'no-drop', 'not-allowed', 'e-resize', 'n-resize', 'ne-resize', 'nw-resize', 's-resize', 'se-resize', 'sw-resize', 'w-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'col-resize', 'row-resize', 'all-scroll', 'zoom-in', 'zoom-out', 'grab', 'grabbing'], :class:`ExprRef`, Dict[required=[expr]] + cursor : dict, :class:`Cursor`, :class:`ExprRef`, Literal['auto', 'default', 'none', 'context-menu', 'help', 'pointer', 'progress', 'wait', 'cell', 'crosshair', 'text', 'vertical-text', 'alias', 'copy', 'move', 'no-drop', 'not-allowed', 'e-resize', 'n-resize', 'ne-resize', 'nw-resize', 's-resize', 'se-resize', 'sw-resize', 'w-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'col-resize', 'row-resize', 'all-scroll', 'zoom-in', 'zoom-out', 'grab', 'grabbing'] The mouse cursor used over the mark. Any valid `CSS cursor type `__ can be used. - description : :class:`ExprRef`, Dict[required=[expr]], str + description : str, dict, :class:`ExprRef` A text description of the mark item for `ARIA accessibility `__ (SVG output only). If specified, this property determines the `"aria-label" attribute `__. - dir : :class:`ExprRef`, Dict[required=[expr]], :class:`TextDirection`, Literal['ltr', 'rtl'] + dir : dict, :class:`ExprRef`, Literal['ltr', 'rtl'], :class:`TextDirection` The direction of the text. One of ``"ltr"`` (left-to-right) or ``"rtl"`` (right-to-left). This property determines on which side is truncated in response to the limit parameter. **Default value:** ``"ltr"`` - dx : :class:`ExprRef`, Dict[required=[expr]], float + dx : dict, float, :class:`ExprRef` The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the *angle* property. - dy : :class:`ExprRef`, Dict[required=[expr]], float + dy : dict, float, :class:`ExprRef` The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the *angle* property. - ellipsis : :class:`ExprRef`, Dict[required=[expr]], str + ellipsis : str, dict, :class:`ExprRef` The ellipsis string for text truncated in response to the limit parameter. **Default value:** ``"…"`` - endAngle : :class:`ExprRef`, Dict[required=[expr]], float + endAngle : dict, float, :class:`ExprRef` The end angle in radians for arc marks. A value of ``0`` indicates up (north), increasing values proceed clockwise. - fill : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]], None + fill : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`Gradient`, :class:`HexColor`, :class:`ColorName`, :class:`LinearGradient`, :class:`RadialGradient`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Default fill color. This property has higher precedence than ``config.color``. Set to ``null`` to remove fill. **Default value:** (None) - fillOpacity : :class:`ExprRef`, Dict[required=[expr]], float + fillOpacity : dict, float, :class:`ExprRef` The fill opacity (value between [0,1]). **Default value:** ``1`` @@ -24537,28 +21346,28 @@ class MarkConfig(AnyMarkConfig): **Note:** This property cannot be used in a `style config `__. - font : :class:`ExprRef`, Dict[required=[expr]], str + font : str, dict, :class:`ExprRef` The typeface to set the text in (e.g., ``"Helvetica Neue"`` ). - fontSize : :class:`ExprRef`, Dict[required=[expr]], float + fontSize : dict, float, :class:`ExprRef` The font size, in pixels. **Default value:** ``11`` - fontStyle : :class:`ExprRef`, Dict[required=[expr]], :class:`FontStyle`, str + fontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` The font style (e.g., ``"italic"`` ). - fontWeight : :class:`ExprRef`, Dict[required=[expr]], :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + fontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] The font weight. This can be either a string (e.g ``"bold"``, ``"normal"`` ) or a number ( ``100``, ``200``, ``300``, ..., ``900`` where ``"normal"`` = ``400`` and ``"bold"`` = ``700`` ). - height : :class:`ExprRef`, Dict[required=[expr]], float + height : dict, float, :class:`ExprRef` Height of the marks. - href : :class:`ExprRef`, Dict[required=[expr]], :class:`URI`, str + href : str, dict, :class:`URI`, :class:`ExprRef` A URL to load upon mouse click. If defined, the mark acts as a hyperlink. - innerRadius : :class:`ExprRef`, Dict[required=[expr]], float + innerRadius : dict, float, :class:`ExprRef` The inner radius in pixels of arc marks. ``innerRadius`` is an alias for ``radius2``. **Default value:** ``0`` - interpolate : :class:`ExprRef`, Dict[required=[expr]], :class:`Interpolate`, Literal['basis', 'basis-open', 'basis-closed', 'bundle', 'cardinal', 'cardinal-open', 'cardinal-closed', 'catmull-rom', 'linear', 'linear-closed', 'monotone', 'natural', 'step', 'step-before', 'step-after'] + interpolate : dict, :class:`ExprRef`, :class:`Interpolate`, Literal['basis', 'basis-open', 'basis-closed', 'bundle', 'cardinal', 'cardinal-open', 'cardinal-closed', 'catmull-rom', 'linear', 'linear-closed', 'monotone', 'natural', 'step', 'step-before', 'step-after'] The line interpolation method to use for line and area marks. One of the following: @@ -24589,23 +21398,23 @@ class MarkConfig(AnyMarkConfig): (for line, trail, and area marks) or filtered (for other marks). * If ``null``, all data items are included. In this case, invalid values will be interpreted as zeroes. - limit : :class:`ExprRef`, Dict[required=[expr]], float + limit : dict, float, :class:`ExprRef` The maximum length of the text mark in pixels. The text value will be automatically truncated if the rendered size exceeds the limit. **Default value:** ``0`` -- indicating no limit - lineBreak : :class:`ExprRef`, Dict[required=[expr]], str + lineBreak : str, dict, :class:`ExprRef` A delimiter, such as a newline character, upon which to break text strings into multiple lines. This property is ignored if the text is array-valued. - lineHeight : :class:`ExprRef`, Dict[required=[expr]], float + lineHeight : dict, float, :class:`ExprRef` The line height in pixels (the spacing between subsequent lines of text) for multi-line text marks. - opacity : :class:`ExprRef`, Dict[required=[expr]], float + opacity : dict, float, :class:`ExprRef` The overall opacity (value between [0,1]). **Default value:** ``0.7`` for non-aggregate plots with ``point``, ``tick``, ``circle``, or ``square`` marks or layered ``bar`` charts and ``1`` otherwise. - order : None, bool + order : bool, None For line and trail marks, this ``order`` property can be set to ``null`` or ``false`` to make the lines use the original order in the data sources. orient : :class:`Orientation`, Literal['horizontal', 'vertical'] @@ -24620,24 +21429,24 @@ class MarkConfig(AnyMarkConfig): the line if ``config.sortLineBy`` is not specified. For stacked charts, this is always determined by the orientation of the stack; therefore explicitly specified value will be ignored. - outerRadius : :class:`ExprRef`, Dict[required=[expr]], float + outerRadius : dict, float, :class:`ExprRef` The outer radius in pixels of arc marks. ``outerRadius`` is an alias for ``radius``. **Default value:** ``0`` - padAngle : :class:`ExprRef`, Dict[required=[expr]], float + padAngle : dict, float, :class:`ExprRef` The angular padding applied to sides of the arc, in radians. - radius : :class:`ExprRef`, Dict[required=[expr]], float + radius : dict, float, :class:`ExprRef` For arc mark, the primary (outer) radius in pixels. For text marks, polar coordinate radial offset, in pixels, of the text from the origin determined by the ``x`` and ``y`` properties. **Default value:** ``min(plot_width, plot_height)/2`` - radius2 : :class:`ExprRef`, Dict[required=[expr]], float + radius2 : dict, float, :class:`ExprRef` The secondary (inner) radius in pixels of arc marks. **Default value:** ``0`` - shape : :class:`ExprRef`, Dict[required=[expr]], :class:`SymbolShape`, str, str + shape : str, dict, :class:`ExprRef`, :class:`SymbolShape` Shape of the point marks. Supported values include: @@ -24652,7 +21461,7 @@ class MarkConfig(AnyMarkConfig): coordinates ranging from -1 to 1 along both the x and y dimensions.) **Default value:** ``"circle"`` - size : :class:`ExprRef`, Dict[required=[expr]], float + size : dict, float, :class:`ExprRef` Default size for marks. @@ -24669,56 +21478,56 @@ class MarkConfig(AnyMarkConfig): * ``2`` for bar marks with discrete dimensions; * ``5`` for bar marks with continuous dimensions; * ``11`` for text marks. - smooth : :class:`ExprRef`, Dict[required=[expr]], bool + smooth : bool, dict, :class:`ExprRef` A boolean flag (default true) indicating if the image should be smoothed when resized. If false, individual pixels should be scaled directly rather than interpolated with smoothing. For SVG rendering, this option may not work in some browsers due to lack of standardization. - startAngle : :class:`ExprRef`, Dict[required=[expr]], float + startAngle : dict, float, :class:`ExprRef` The start angle in radians for arc marks. A value of ``0`` indicates up (north), increasing values proceed clockwise. - stroke : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]], None + stroke : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`Gradient`, :class:`HexColor`, :class:`ColorName`, :class:`LinearGradient`, :class:`RadialGradient`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Default stroke color. This property has higher precedence than ``config.color``. Set to ``null`` to remove stroke. **Default value:** (None) - strokeCap : :class:`ExprRef`, Dict[required=[expr]], :class:`StrokeCap`, Literal['butt', 'round', 'square'] + strokeCap : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] The stroke cap for line ending style. One of ``"butt"``, ``"round"``, or ``"square"``. **Default value:** ``"butt"`` - strokeDash : :class:`ExprRef`, Dict[required=[expr]], Sequence[float] + strokeDash : dict, Sequence[float], :class:`ExprRef` An array of alternating stroke, space lengths for creating dashed or dotted lines. - strokeDashOffset : :class:`ExprRef`, Dict[required=[expr]], float + strokeDashOffset : dict, float, :class:`ExprRef` The offset (in pixels) into which to begin drawing with the stroke dash array. - strokeJoin : :class:`ExprRef`, Dict[required=[expr]], :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] + strokeJoin : dict, :class:`ExprRef`, :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] The stroke line join method. One of ``"miter"``, ``"round"`` or ``"bevel"``. **Default value:** ``"miter"`` - strokeMiterLimit : :class:`ExprRef`, Dict[required=[expr]], float + strokeMiterLimit : dict, float, :class:`ExprRef` The miter limit at which to bevel a line join. - strokeOffset : :class:`ExprRef`, Dict[required=[expr]], float + strokeOffset : dict, float, :class:`ExprRef` The offset in pixels at which to draw the group stroke and fill. If unspecified, the default behavior is to dynamically offset stroked groups such that 1 pixel stroke widths align with the pixel grid. - strokeOpacity : :class:`ExprRef`, Dict[required=[expr]], float + strokeOpacity : dict, float, :class:`ExprRef` The stroke opacity (value between [0,1]). **Default value:** ``1`` - strokeWidth : :class:`ExprRef`, Dict[required=[expr]], float + strokeWidth : dict, float, :class:`ExprRef` The stroke width, in pixels. - tension : :class:`ExprRef`, Dict[required=[expr]], float + tension : dict, float, :class:`ExprRef` Depending on the interpolation type, sets the tension parameter (for line and area marks). - text : :class:`ExprRef`, Dict[required=[expr]], :class:`Text`, Sequence[str], str + text : str, dict, :class:`Text`, Sequence[str], :class:`ExprRef` Placeholder text if the ``text`` channel is not specified - theta : :class:`ExprRef`, Dict[required=[expr]], float + theta : dict, float, :class:`ExprRef` For arc marks, the arc length in radians if theta2 is not specified, otherwise the start arc angle. (A value of 0 indicates up or “north”, increasing values proceed clockwise.) For text marks, polar coordinate angle in radians. - theta2 : :class:`ExprRef`, Dict[required=[expr]], float + theta2 : dict, float, :class:`ExprRef` The end angle of arc marks in radians. A value of 0 indicates up or “north”, increasing values proceed clockwise. timeUnitBandPosition : float @@ -24729,7 +21538,7 @@ class MarkConfig(AnyMarkConfig): Default relative band size for a time unit. If set to ``1``, the bandwidth of the marks will be equal to the time unit band step. If set to ``0.5``, bandwidth of the marks will be half of the time unit band step. - tooltip : :class:`ExprRef`, Dict[required=[expr]], :class:`TooltipContent`, Dict[required=[content]], None, bool, float, str + tooltip : str, bool, dict, None, float, :class:`ExprRef`, :class:`TooltipContent` The tooltip text string to show upon mouse hover or an object defining which fields should the tooltip be derived from. @@ -24744,28 +21553,28 @@ class MarkConfig(AnyMarkConfig): documentation for a detailed discussion about tooltip in Vega-Lite. **Default value:** ``null`` - url : :class:`ExprRef`, Dict[required=[expr]], :class:`URI`, str + url : str, dict, :class:`URI`, :class:`ExprRef` The URL of the image file for image marks. - width : :class:`ExprRef`, Dict[required=[expr]], float + width : dict, float, :class:`ExprRef` Width of the marks. - x : :class:`ExprRef`, Dict[required=[expr]], float, str + x : str, dict, float, :class:`ExprRef` X coordinates of the marks, or width of horizontal ``"bar"`` and ``"area"`` without specified ``x2`` or ``width``. The ``value`` of this channel can be a number or a string ``"width"`` for the width of the plot. - x2 : :class:`ExprRef`, Dict[required=[expr]], float, str + x2 : str, dict, float, :class:`ExprRef` X2 coordinates for ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. The ``value`` of this channel can be a number or a string ``"width"`` for the width of the plot. - y : :class:`ExprRef`, Dict[required=[expr]], float, str + y : str, dict, float, :class:`ExprRef` Y coordinates of the marks, or height of vertical ``"bar"`` and ``"area"`` without specified ``y2`` or ``height``. The ``value`` of this channel can be a number or a string ``"height"`` for the height of the plot. - y2 : :class:`ExprRef`, Dict[required=[expr]], float, str + y2 : str, dict, float, :class:`ExprRef` Y2 coordinates for ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. The ``value`` of this channel can be a number or a string ``"height"`` for the @@ -24777,855 +21586,766 @@ class MarkConfig(AnyMarkConfig): def __init__( self, align: Union[ - Union[ - Union["Align", Literal["left", "center", "right"]], - Union["ExprRef", "_Parameter", dict], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["left", "center", "right"], UndefinedType, ] = Undefined, angle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - aria: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + aria: Union[bool, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, ariaRole: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, ariaRoleDescription: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, aspect: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + bool, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, baseline: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "TextBaseline", - Union["Baseline", Literal["top", "middle", "bottom"]], - str, - ], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, blend: Union[ - Union[ - Union[ - "Blend", - Literal[ - None, - "multiply", - "screen", - "overlay", - "darken", - "lighten", - "color-dodge", - "color-burn", - "hard-light", - "soft-light", - "difference", - "exclusion", - "hue", - "saturation", - "color", - "luminosity", - ], - ], - Union["ExprRef", "_Parameter", dict], + dict, + "_Parameter", + "SchemaBase", + Literal[ + None, + "multiply", + "screen", + "overlay", + "darken", + "lighten", + "color-dodge", + "color-burn", + "hard-light", + "soft-light", + "difference", + "exclusion", + "hue", + "saturation", + "color", + "luminosity", ], UndefinedType, ] = Undefined, color: Union[ - Union[ - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], - Union[ - "Gradient", - Union["LinearGradient", dict], - Union["RadialGradient", dict], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, cornerRadius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusBottomLeft: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusBottomRight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusTopLeft: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusTopRight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cursor: Union[ - Union[ - Union[ - "Cursor", - Literal[ - "auto", - "default", - "none", - "context-menu", - "help", - "pointer", - "progress", - "wait", - "cell", - "crosshair", - "text", - "vertical-text", - "alias", - "copy", - "move", - "no-drop", - "not-allowed", - "e-resize", - "n-resize", - "ne-resize", - "nw-resize", - "s-resize", - "se-resize", - "sw-resize", - "w-resize", - "ew-resize", - "ns-resize", - "nesw-resize", - "nwse-resize", - "col-resize", - "row-resize", - "all-scroll", - "zoom-in", - "zoom-out", - "grab", - "grabbing", - ], - ], - Union["ExprRef", "_Parameter", dict], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "auto", + "default", + "none", + "context-menu", + "help", + "pointer", + "progress", + "wait", + "cell", + "crosshair", + "text", + "vertical-text", + "alias", + "copy", + "move", + "no-drop", + "not-allowed", + "e-resize", + "n-resize", + "ne-resize", + "nw-resize", + "s-resize", + "se-resize", + "sw-resize", + "w-resize", + "ew-resize", + "ns-resize", + "nesw-resize", + "nwse-resize", + "col-resize", + "row-resize", + "all-scroll", + "zoom-in", + "zoom-out", + "grab", + "grabbing", ], UndefinedType, ] = Undefined, description: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, dir: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["TextDirection", Literal["ltr", "rtl"]], - ], - UndefinedType, - ] = Undefined, - dx: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - dy: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, "_Parameter", "SchemaBase", Literal["ltr", "rtl"], UndefinedType ] = Undefined, + dx: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, + dy: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, ellipsis: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, endAngle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, fill: Union[ - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], - Union[ - "Gradient", - Union["LinearGradient", dict], - Union["RadialGradient", dict], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, fillOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, filled: Union[bool, UndefinedType] = Undefined, - font: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType - ] = Undefined, + font: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, fontSize: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, fontStyle: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["FontStyle", str]], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, fontWeight: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "FontWeight", - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, height: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - href: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["URI", str]], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + href: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, innerRadius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "Interpolate", - Literal[ - "basis", - "basis-open", - "basis-closed", - "bundle", - "cardinal", - "cardinal-open", - "cardinal-closed", - "catmull-rom", - "linear", - "linear-closed", - "monotone", - "natural", - "step", - "step-before", - "step-after", - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "basis", + "basis-open", + "basis-closed", + "bundle", + "cardinal", + "cardinal-open", + "cardinal-closed", + "catmull-rom", + "linear", + "linear-closed", + "monotone", + "natural", + "step", + "step-before", + "step-after", ], UndefinedType, ] = Undefined, invalid: Union[Literal["filter", None], UndefinedType] = Undefined, limit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, lineBreak: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, lineHeight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, opacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, - order: Union[Union[None, bool], UndefinedType] = Undefined, + order: Union[bool, None, UndefinedType] = Undefined, orient: Union[ - Union["Orientation", Literal["horizontal", "vertical"]], UndefinedType + "SchemaBase", Literal["horizontal", "vertical"], UndefinedType ] = Undefined, outerRadius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, padAngle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, radius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, radius2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - shape: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[Union["SymbolShape", str], str], - ], - UndefinedType, - ] = Undefined, - size: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + shape: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, + size: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, smooth: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + bool, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, startAngle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, stroke: Union[ - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], - Union[ - "Gradient", - Union["LinearGradient", dict], - Union["RadialGradient", dict], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, strokeCap: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["StrokeCap", Literal["butt", "round", "square"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, strokeDash: Union[ - Union[Sequence[float], Union["ExprRef", "_Parameter", dict]], UndefinedType + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, strokeDashOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeJoin: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["StrokeJoin", Literal["miter", "round", "bevel"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["miter", "round", "bevel"], UndefinedType, ] = Undefined, strokeMiterLimit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeWidth: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, tension: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, text: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], Union["Text", Sequence[str], str] - ], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", Sequence[str], UndefinedType ] = Undefined, theta: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, theta2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, timeUnitBandPosition: Union[float, UndefinedType] = Undefined, timeUnitBandSize: Union[float, UndefinedType] = Undefined, tooltip: Union[ - Union[ - None, - Union["ExprRef", "_Parameter", dict], - Union["TooltipContent", dict], - bool, - float, - str, - ], - UndefinedType, - ] = Undefined, - url: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["URI", str]], - UndefinedType, + str, bool, dict, None, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + url: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, width: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, x: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, x2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, y: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, y2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, **kwds, ): @@ -25706,8 +22426,6 @@ def __init__( class MarkDef(AnyMark): """MarkDef schema wrapper - :class:`MarkDef`, Dict[required=[type]] - Parameters ---------- @@ -25716,37 +22434,37 @@ class MarkDef(AnyMark): ``"square"``, ``"tick"``, ``"line"``, ``"area"``, ``"point"``, ``"geoshape"``, ``"rule"``, and ``"text"`` ) or a composite mark type ( ``"boxplot"``, ``"errorband"``, ``"errorbar"`` ). - align : :class:`Align`, Literal['left', 'center', 'right'], :class:`ExprRef`, Dict[required=[expr]] + align : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] The horizontal alignment of the text or ranged marks (area, bar, image, rect, rule). One of ``"left"``, ``"right"``, ``"center"``. **Note:** Expression reference is *not* supported for range marks. - angle : :class:`ExprRef`, Dict[required=[expr]], float + angle : dict, float, :class:`ExprRef` The rotation angle of the text, in degrees. - aria : :class:`ExprRef`, Dict[required=[expr]], bool + aria : bool, dict, :class:`ExprRef` A boolean flag indicating if `ARIA attributes `__ should be included (SVG output only). If ``false``, the "aria-hidden" attribute will be set on the output SVG element, removing the mark item from the ARIA accessibility tree. - ariaRole : :class:`ExprRef`, Dict[required=[expr]], str + ariaRole : str, dict, :class:`ExprRef` Sets the type of user interface element of the mark item for `ARIA accessibility `__ (SVG output only). If specified, this property determines the "role" attribute. Warning: this property is experimental and may be changed in the future. - ariaRoleDescription : :class:`ExprRef`, Dict[required=[expr]], str + ariaRoleDescription : str, dict, :class:`ExprRef` A human-readable, author-localized description for the role of the mark item for `ARIA accessibility `__ (SVG output only). If specified, this property determines the "aria-roledescription" attribute. Warning: this property is experimental and may be changed in the future. - aspect : :class:`ExprRef`, Dict[required=[expr]], bool + aspect : bool, dict, :class:`ExprRef` Whether to keep aspect ratio of image marks. bandSize : float The width of the ticks. **Default value:** 3/4 of step (width step for horizontal ticks and height step for vertical ticks). - baseline : :class:`Baseline`, Literal['top', 'middle', 'bottom'], :class:`TextBaseline`, str, :class:`ExprRef`, Dict[required=[expr]] + baseline : str, dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['top', 'middle', 'bottom'] For text marks, the vertical text baseline. One of ``"alphabetic"`` (default), ``"top"``, ``"middle"``, ``"bottom"``, ``"line-top"``, ``"line-bottom"``, or an expression reference that provides one of the valid values. The ``"line-top"`` and @@ -25762,7 +22480,7 @@ class MarkDef(AnyMark): (preferred by statisticians) or 1 (Vega-Lite default, D3 example style). **Default value:** ``1`` - blend : :class:`Blend`, Literal[None, 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'], :class:`ExprRef`, Dict[required=[expr]] + blend : dict, :class:`Blend`, :class:`ExprRef`, Literal[None, 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'] The color blend mode for drawing an item on its current background. Any valid `CSS mix-blend-mode `__ value can be used. @@ -25770,7 +22488,7 @@ class MarkDef(AnyMark): __Default value:__ ``"source-over"`` clip : bool Whether a mark be clipped to the enclosing group’s width and height. - color : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]] + color : str, dict, :class:`Color`, :class:`ExprRef`, :class:`Gradient`, :class:`HexColor`, :class:`ColorName`, :class:`LinearGradient`, :class:`RadialGradient`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Default color. **Default value:** :raw-html:`` @@ -25787,63 +22505,63 @@ class MarkDef(AnyMark): The default size of the bars on continuous scales. **Default value:** ``5`` - cornerRadius : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadius : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles or arcs' corners. **Default value:** ``0`` - cornerRadiusBottomLeft : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusBottomLeft : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom left corner. **Default value:** ``0`` - cornerRadiusBottomRight : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusBottomRight : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom right corner. **Default value:** ``0`` - cornerRadiusEnd : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusEnd : dict, float, :class:`ExprRef` For vertical bars, top-left and top-right corner radius. For horizontal bars, top-right and bottom-right corner radius. - cornerRadiusTopLeft : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusTopLeft : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top right corner. **Default value:** ``0`` - cornerRadiusTopRight : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusTopRight : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top left corner. **Default value:** ``0`` - cursor : :class:`Cursor`, Literal['auto', 'default', 'none', 'context-menu', 'help', 'pointer', 'progress', 'wait', 'cell', 'crosshair', 'text', 'vertical-text', 'alias', 'copy', 'move', 'no-drop', 'not-allowed', 'e-resize', 'n-resize', 'ne-resize', 'nw-resize', 's-resize', 'se-resize', 'sw-resize', 'w-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'col-resize', 'row-resize', 'all-scroll', 'zoom-in', 'zoom-out', 'grab', 'grabbing'], :class:`ExprRef`, Dict[required=[expr]] + cursor : dict, :class:`Cursor`, :class:`ExprRef`, Literal['auto', 'default', 'none', 'context-menu', 'help', 'pointer', 'progress', 'wait', 'cell', 'crosshair', 'text', 'vertical-text', 'alias', 'copy', 'move', 'no-drop', 'not-allowed', 'e-resize', 'n-resize', 'ne-resize', 'nw-resize', 's-resize', 'se-resize', 'sw-resize', 'w-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'col-resize', 'row-resize', 'all-scroll', 'zoom-in', 'zoom-out', 'grab', 'grabbing'] The mouse cursor used over the mark. Any valid `CSS cursor type `__ can be used. - description : :class:`ExprRef`, Dict[required=[expr]], str + description : str, dict, :class:`ExprRef` A text description of the mark item for `ARIA accessibility `__ (SVG output only). If specified, this property determines the `"aria-label" attribute `__. - dir : :class:`ExprRef`, Dict[required=[expr]], :class:`TextDirection`, Literal['ltr', 'rtl'] + dir : dict, :class:`ExprRef`, Literal['ltr', 'rtl'], :class:`TextDirection` The direction of the text. One of ``"ltr"`` (left-to-right) or ``"rtl"`` (right-to-left). This property determines on which side is truncated in response to the limit parameter. **Default value:** ``"ltr"`` - discreteBandSize : :class:`RelativeBandSize`, Dict[required=[band]], float + discreteBandSize : dict, float, :class:`RelativeBandSize` The default size of the bars with discrete dimensions. If unspecified, the default size is ``step-2``, which provides 2 pixel offset between bars. - dx : :class:`ExprRef`, Dict[required=[expr]], float + dx : dict, float, :class:`ExprRef` The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the *angle* property. - dy : :class:`ExprRef`, Dict[required=[expr]], float + dy : dict, float, :class:`ExprRef` The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the *angle* property. - ellipsis : :class:`ExprRef`, Dict[required=[expr]], str + ellipsis : str, dict, :class:`ExprRef` The ellipsis string for text truncated in response to the limit parameter. **Default value:** ``"…"`` - fill : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]], None + fill : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`Gradient`, :class:`HexColor`, :class:`ColorName`, :class:`LinearGradient`, :class:`RadialGradient`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Default fill color. This property has higher precedence than ``config.color``. Set to ``null`` to remove fill. **Default value:** (None) - fillOpacity : :class:`ExprRef`, Dict[required=[expr]], float + fillOpacity : dict, float, :class:`ExprRef` The fill opacity (value between [0,1]). **Default value:** ``1`` @@ -25857,19 +22575,19 @@ class MarkDef(AnyMark): **Note:** This property cannot be used in a `style config `__. - font : :class:`ExprRef`, Dict[required=[expr]], str + font : str, dict, :class:`ExprRef` The typeface to set the text in (e.g., ``"Helvetica Neue"`` ). - fontSize : :class:`ExprRef`, Dict[required=[expr]], float + fontSize : dict, float, :class:`ExprRef` The font size, in pixels. **Default value:** ``11`` - fontStyle : :class:`ExprRef`, Dict[required=[expr]], :class:`FontStyle`, str + fontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` The font style (e.g., ``"italic"`` ). - fontWeight : :class:`ExprRef`, Dict[required=[expr]], :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + fontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] The font weight. This can be either a string (e.g ``"bold"``, ``"normal"`` ) or a number ( ``100``, ``200``, ``300``, ..., ``900`` where ``"normal"`` = ``400`` and ``"bold"`` = ``700`` ). - height : :class:`ExprRef`, Dict[required=[expr]], :class:`RelativeBandSize`, Dict[required=[band]], float + height : dict, float, :class:`ExprRef`, :class:`RelativeBandSize` Height of the marks. One of: @@ -25877,14 +22595,14 @@ class MarkDef(AnyMark): A relative band size definition. For example, ``{band: 0.5}`` represents half of the band - href : :class:`ExprRef`, Dict[required=[expr]], :class:`URI`, str + href : str, dict, :class:`URI`, :class:`ExprRef` A URL to load upon mouse click. If defined, the mark acts as a hyperlink. - innerRadius : :class:`ExprRef`, Dict[required=[expr]], float + innerRadius : dict, float, :class:`ExprRef` The inner radius in pixels of arc marks. ``innerRadius`` is an alias for ``radius2``. **Default value:** ``0`` - interpolate : :class:`ExprRef`, Dict[required=[expr]], :class:`Interpolate`, Literal['basis', 'basis-open', 'basis-closed', 'bundle', 'cardinal', 'cardinal-open', 'cardinal-closed', 'catmull-rom', 'linear', 'linear-closed', 'monotone', 'natural', 'step', 'step-before', 'step-after'] + interpolate : dict, :class:`ExprRef`, :class:`Interpolate`, Literal['basis', 'basis-open', 'basis-closed', 'bundle', 'cardinal', 'cardinal-open', 'cardinal-closed', 'catmull-rom', 'linear', 'linear-closed', 'monotone', 'natural', 'step', 'step-before', 'step-after'] The line interpolation method to use for line and area marks. One of the following: @@ -25915,12 +22633,12 @@ class MarkDef(AnyMark): (for line, trail, and area marks) or filtered (for other marks). * If ``null``, all data items are included. In this case, invalid values will be interpreted as zeroes. - limit : :class:`ExprRef`, Dict[required=[expr]], float + limit : dict, float, :class:`ExprRef` The maximum length of the text mark in pixels. The text value will be automatically truncated if the rendered size exceeds the limit. **Default value:** ``0`` -- indicating no limit - line : :class:`OverlayMarkDef`, Dict, bool + line : bool, dict, :class:`OverlayMarkDef` A flag for overlaying line on top of area marks, or an object defining the properties of the overlayed lines. @@ -25931,20 +22649,20 @@ class MarkDef(AnyMark): If this value is ``false``, no lines would be automatically added to area marks. **Default value:** ``false``. - lineBreak : :class:`ExprRef`, Dict[required=[expr]], str + lineBreak : str, dict, :class:`ExprRef` A delimiter, such as a newline character, upon which to break text strings into multiple lines. This property is ignored if the text is array-valued. - lineHeight : :class:`ExprRef`, Dict[required=[expr]], float + lineHeight : dict, float, :class:`ExprRef` The line height in pixels (the spacing between subsequent lines of text) for multi-line text marks. - minBandSize : :class:`ExprRef`, Dict[required=[expr]], float + minBandSize : dict, float, :class:`ExprRef` The minimum band size for bar and rectangle marks. **Default value:** ``0.25`` - opacity : :class:`ExprRef`, Dict[required=[expr]], float + opacity : dict, float, :class:`ExprRef` The overall opacity (value between [0,1]). **Default value:** ``0.7`` for non-aggregate plots with ``point``, ``tick``, ``circle``, or ``square`` marks or layered ``bar`` charts and ``1`` otherwise. - order : None, bool + order : bool, None For line and trail marks, this ``order`` property can be set to ``null`` or ``false`` to make the lines use the original order in the data sources. orient : :class:`Orientation`, Literal['horizontal', 'vertical'] @@ -25959,13 +22677,13 @@ class MarkDef(AnyMark): the line if ``config.sortLineBy`` is not specified. For stacked charts, this is always determined by the orientation of the stack; therefore explicitly specified value will be ignored. - outerRadius : :class:`ExprRef`, Dict[required=[expr]], float + outerRadius : dict, float, :class:`ExprRef` The outer radius in pixels of arc marks. ``outerRadius`` is an alias for ``radius``. **Default value:** ``0`` - padAngle : :class:`ExprRef`, Dict[required=[expr]], float + padAngle : dict, float, :class:`ExprRef` The angular padding applied to sides of the arc, in radians. - point : :class:`OverlayMarkDef`, Dict, bool, str + point : str, bool, dict, :class:`OverlayMarkDef` A flag for overlaying points on top of line or area marks, or an object defining the properties of the overlayed points. @@ -25980,22 +22698,22 @@ class MarkDef(AnyMark): area marks. **Default value:** ``false``. - radius : :class:`ExprRef`, Dict[required=[expr]], float + radius : dict, float, :class:`ExprRef` For arc mark, the primary (outer) radius in pixels. For text marks, polar coordinate radial offset, in pixels, of the text from the origin determined by the ``x`` and ``y`` properties. **Default value:** ``min(plot_width, plot_height)/2`` - radius2 : :class:`ExprRef`, Dict[required=[expr]], float + radius2 : dict, float, :class:`ExprRef` The secondary (inner) radius in pixels of arc marks. **Default value:** ``0`` - radius2Offset : :class:`ExprRef`, Dict[required=[expr]], float + radius2Offset : dict, float, :class:`ExprRef` Offset for radius2. - radiusOffset : :class:`ExprRef`, Dict[required=[expr]], float + radiusOffset : dict, float, :class:`ExprRef` Offset for radius. - shape : :class:`ExprRef`, Dict[required=[expr]], :class:`SymbolShape`, str, str + shape : str, dict, :class:`ExprRef`, :class:`SymbolShape` Shape of the point marks. Supported values include: @@ -26010,7 +22728,7 @@ class MarkDef(AnyMark): coordinates ranging from -1 to 1 along both the x and y dimensions.) **Default value:** ``"circle"`` - size : :class:`ExprRef`, Dict[required=[expr]], float + size : dict, float, :class:`ExprRef` Default size for marks. @@ -26027,42 +22745,42 @@ class MarkDef(AnyMark): * ``2`` for bar marks with discrete dimensions; * ``5`` for bar marks with continuous dimensions; * ``11`` for text marks. - smooth : :class:`ExprRef`, Dict[required=[expr]], bool + smooth : bool, dict, :class:`ExprRef` A boolean flag (default true) indicating if the image should be smoothed when resized. If false, individual pixels should be scaled directly rather than interpolated with smoothing. For SVG rendering, this option may not work in some browsers due to lack of standardization. - stroke : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]], None + stroke : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`Gradient`, :class:`HexColor`, :class:`ColorName`, :class:`LinearGradient`, :class:`RadialGradient`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Default stroke color. This property has higher precedence than ``config.color``. Set to ``null`` to remove stroke. **Default value:** (None) - strokeCap : :class:`ExprRef`, Dict[required=[expr]], :class:`StrokeCap`, Literal['butt', 'round', 'square'] + strokeCap : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] The stroke cap for line ending style. One of ``"butt"``, ``"round"``, or ``"square"``. **Default value:** ``"butt"`` - strokeDash : :class:`ExprRef`, Dict[required=[expr]], Sequence[float] + strokeDash : dict, Sequence[float], :class:`ExprRef` An array of alternating stroke, space lengths for creating dashed or dotted lines. - strokeDashOffset : :class:`ExprRef`, Dict[required=[expr]], float + strokeDashOffset : dict, float, :class:`ExprRef` The offset (in pixels) into which to begin drawing with the stroke dash array. - strokeJoin : :class:`ExprRef`, Dict[required=[expr]], :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] + strokeJoin : dict, :class:`ExprRef`, :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] The stroke line join method. One of ``"miter"``, ``"round"`` or ``"bevel"``. **Default value:** ``"miter"`` - strokeMiterLimit : :class:`ExprRef`, Dict[required=[expr]], float + strokeMiterLimit : dict, float, :class:`ExprRef` The miter limit at which to bevel a line join. - strokeOffset : :class:`ExprRef`, Dict[required=[expr]], float + strokeOffset : dict, float, :class:`ExprRef` The offset in pixels at which to draw the group stroke and fill. If unspecified, the default behavior is to dynamically offset stroked groups such that 1 pixel stroke widths align with the pixel grid. - strokeOpacity : :class:`ExprRef`, Dict[required=[expr]], float + strokeOpacity : dict, float, :class:`ExprRef` The stroke opacity (value between [0,1]). **Default value:** ``1`` - strokeWidth : :class:`ExprRef`, Dict[required=[expr]], float + strokeWidth : dict, float, :class:`ExprRef` The stroke width, in pixels. - style : Sequence[str], str + style : str, Sequence[str] A string or array of strings indicating the name of custom styles to apply to the mark. A style is a named collection of mark property defaults defined within the `style configuration @@ -26076,23 +22794,23 @@ class MarkDef(AnyMark): For example, a bar mark with ``"style": "foo"`` will receive from ``config.style.bar`` and ``config.style.foo`` (the specified style ``"foo"`` has higher precedence). - tension : :class:`ExprRef`, Dict[required=[expr]], float + tension : dict, float, :class:`ExprRef` Depending on the interpolation type, sets the tension parameter (for line and area marks). - text : :class:`ExprRef`, Dict[required=[expr]], :class:`Text`, Sequence[str], str + text : str, dict, :class:`Text`, Sequence[str], :class:`ExprRef` Placeholder text if the ``text`` channel is not specified - theta : :class:`ExprRef`, Dict[required=[expr]], float + theta : dict, float, :class:`ExprRef` For arc marks, the arc length in radians if theta2 is not specified, otherwise the start arc angle. (A value of 0 indicates up or “north”, increasing values proceed clockwise.) For text marks, polar coordinate angle in radians. - theta2 : :class:`ExprRef`, Dict[required=[expr]], float + theta2 : dict, float, :class:`ExprRef` The end angle of arc marks in radians. A value of 0 indicates up or “north”, increasing values proceed clockwise. - theta2Offset : :class:`ExprRef`, Dict[required=[expr]], float + theta2Offset : dict, float, :class:`ExprRef` Offset for theta2. - thetaOffset : :class:`ExprRef`, Dict[required=[expr]], float + thetaOffset : dict, float, :class:`ExprRef` Offset for theta. thickness : float Thickness of the tick mark. @@ -26106,7 +22824,7 @@ class MarkDef(AnyMark): Default relative band size for a time unit. If set to ``1``, the bandwidth of the marks will be equal to the time unit band step. If set to ``0.5``, bandwidth of the marks will be half of the time unit band step. - tooltip : :class:`ExprRef`, Dict[required=[expr]], :class:`TooltipContent`, Dict[required=[content]], None, bool, float, str + tooltip : str, bool, dict, None, float, :class:`ExprRef`, :class:`TooltipContent` The tooltip text string to show upon mouse hover or an object defining which fields should the tooltip be derived from. @@ -26121,9 +22839,9 @@ class MarkDef(AnyMark): documentation for a detailed discussion about tooltip in Vega-Lite. **Default value:** ``null`` - url : :class:`ExprRef`, Dict[required=[expr]], :class:`URI`, str + url : str, dict, :class:`URI`, :class:`ExprRef` The URL of the image file for image marks. - width : :class:`ExprRef`, Dict[required=[expr]], :class:`RelativeBandSize`, Dict[required=[band]], float + width : dict, float, :class:`ExprRef`, :class:`RelativeBandSize` Width of the marks. One of: @@ -26131,35 +22849,35 @@ class MarkDef(AnyMark): A relative band size definition. For example, ``{band: 0.5}`` represents half of the band. - x : :class:`ExprRef`, Dict[required=[expr]], float, str + x : str, dict, float, :class:`ExprRef` X coordinates of the marks, or width of horizontal ``"bar"`` and ``"area"`` without specified ``x2`` or ``width``. The ``value`` of this channel can be a number or a string ``"width"`` for the width of the plot. - x2 : :class:`ExprRef`, Dict[required=[expr]], float, str + x2 : str, dict, float, :class:`ExprRef` X2 coordinates for ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. The ``value`` of this channel can be a number or a string ``"width"`` for the width of the plot. - x2Offset : :class:`ExprRef`, Dict[required=[expr]], float + x2Offset : dict, float, :class:`ExprRef` Offset for x2-position. - xOffset : :class:`ExprRef`, Dict[required=[expr]], float + xOffset : dict, float, :class:`ExprRef` Offset for x-position. - y : :class:`ExprRef`, Dict[required=[expr]], float, str + y : str, dict, float, :class:`ExprRef` Y coordinates of the marks, or height of vertical ``"bar"`` and ``"area"`` without specified ``y2`` or ``height``. The ``value`` of this channel can be a number or a string ``"height"`` for the height of the plot. - y2 : :class:`ExprRef`, Dict[required=[expr]], float, str + y2 : str, dict, float, :class:`ExprRef` Y2 coordinates for ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. The ``value`` of this channel can be a number or a string ``"height"`` for the height of the plot. - y2Offset : :class:`ExprRef`, Dict[required=[expr]], float + y2Offset : dict, float, :class:`ExprRef` Offset for y2-position. - yOffset : :class:`ExprRef`, Dict[required=[expr]], float + yOffset : dict, float, :class:`ExprRef` Offset for y-position. """ @@ -26168,926 +22886,819 @@ class MarkDef(AnyMark): def __init__( self, type: Union[ - Union[ - "Mark", - Literal[ - "arc", - "area", - "bar", - "image", - "line", - "point", - "rect", - "rule", - "text", - "tick", - "trail", - "circle", - "square", - "geoshape", - ], + "SchemaBase", + Literal[ + "arc", + "area", + "bar", + "image", + "line", + "point", + "rect", + "rule", + "text", + "tick", + "trail", + "circle", + "square", + "geoshape", ], UndefinedType, ] = Undefined, align: Union[ - Union[ - Union["Align", Literal["left", "center", "right"]], - Union["ExprRef", "_Parameter", dict], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["left", "center", "right"], UndefinedType, ] = Undefined, angle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - aria: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + aria: Union[bool, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, ariaRole: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, ariaRoleDescription: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, aspect: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + bool, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, bandSize: Union[float, UndefinedType] = Undefined, baseline: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "TextBaseline", - Union["Baseline", Literal["top", "middle", "bottom"]], - str, - ], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, binSpacing: Union[float, UndefinedType] = Undefined, blend: Union[ - Union[ - Union[ - "Blend", - Literal[ - None, - "multiply", - "screen", - "overlay", - "darken", - "lighten", - "color-dodge", - "color-burn", - "hard-light", - "soft-light", - "difference", - "exclusion", - "hue", - "saturation", - "color", - "luminosity", - ], - ], - Union["ExprRef", "_Parameter", dict], + dict, + "_Parameter", + "SchemaBase", + Literal[ + None, + "multiply", + "screen", + "overlay", + "darken", + "lighten", + "color-dodge", + "color-burn", + "hard-light", + "soft-light", + "difference", + "exclusion", + "hue", + "saturation", + "color", + "luminosity", ], UndefinedType, ] = Undefined, clip: Union[bool, UndefinedType] = Undefined, color: Union[ - Union[ - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], - Union[ - "Gradient", - Union["LinearGradient", dict], - Union["RadialGradient", dict], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, continuousBandSize: Union[float, UndefinedType] = Undefined, cornerRadius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusBottomLeft: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusBottomRight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusEnd: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusTopLeft: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusTopRight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cursor: Union[ - Union[ - Union[ - "Cursor", - Literal[ - "auto", - "default", - "none", - "context-menu", - "help", - "pointer", - "progress", - "wait", - "cell", - "crosshair", - "text", - "vertical-text", - "alias", - "copy", - "move", - "no-drop", - "not-allowed", - "e-resize", - "n-resize", - "ne-resize", - "nw-resize", - "s-resize", - "se-resize", - "sw-resize", - "w-resize", - "ew-resize", - "ns-resize", - "nesw-resize", - "nwse-resize", - "col-resize", - "row-resize", - "all-scroll", - "zoom-in", - "zoom-out", - "grab", - "grabbing", - ], - ], - Union["ExprRef", "_Parameter", dict], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "auto", + "default", + "none", + "context-menu", + "help", + "pointer", + "progress", + "wait", + "cell", + "crosshair", + "text", + "vertical-text", + "alias", + "copy", + "move", + "no-drop", + "not-allowed", + "e-resize", + "n-resize", + "ne-resize", + "nw-resize", + "s-resize", + "se-resize", + "sw-resize", + "w-resize", + "ew-resize", + "ns-resize", + "nesw-resize", + "nwse-resize", + "col-resize", + "row-resize", + "all-scroll", + "zoom-in", + "zoom-out", + "grab", + "grabbing", ], UndefinedType, ] = Undefined, description: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, dir: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["TextDirection", Literal["ltr", "rtl"]], - ], - UndefinedType, - ] = Undefined, - discreteBandSize: Union[ - Union[Union["RelativeBandSize", dict], float], UndefinedType - ] = Undefined, - dx: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - dy: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, "_Parameter", "SchemaBase", Literal["ltr", "rtl"], UndefinedType ] = Undefined, + discreteBandSize: Union[dict, float, "SchemaBase", UndefinedType] = Undefined, + dx: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, + dy: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, ellipsis: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, fill: Union[ - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], - Union[ - "Gradient", - Union["LinearGradient", dict], - Union["RadialGradient", dict], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, fillOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, filled: Union[bool, UndefinedType] = Undefined, - font: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType - ] = Undefined, + font: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, fontSize: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, fontStyle: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["FontStyle", str]], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, fontWeight: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "FontWeight", - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, height: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["RelativeBandSize", dict], - float, - ], - UndefinedType, - ] = Undefined, - href: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["URI", str]], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + href: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, innerRadius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "Interpolate", - Literal[ - "basis", - "basis-open", - "basis-closed", - "bundle", - "cardinal", - "cardinal-open", - "cardinal-closed", - "catmull-rom", - "linear", - "linear-closed", - "monotone", - "natural", - "step", - "step-before", - "step-after", - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "basis", + "basis-open", + "basis-closed", + "bundle", + "cardinal", + "cardinal-open", + "cardinal-closed", + "catmull-rom", + "linear", + "linear-closed", + "monotone", + "natural", + "step", + "step-before", + "step-after", ], UndefinedType, ] = Undefined, invalid: Union[Literal["filter", None], UndefinedType] = Undefined, limit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - line: Union[ - Union[Union["OverlayMarkDef", dict], bool], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + line: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, lineBreak: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, lineHeight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, minBandSize: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, opacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, - order: Union[Union[None, bool], UndefinedType] = Undefined, + order: Union[bool, None, UndefinedType] = Undefined, orient: Union[ - Union["Orientation", Literal["horizontal", "vertical"]], UndefinedType + "SchemaBase", Literal["horizontal", "vertical"], UndefinedType ] = Undefined, outerRadius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, padAngle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - point: Union[ - Union[Union["OverlayMarkDef", dict], bool, str], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + point: Union[str, bool, dict, "SchemaBase", UndefinedType] = Undefined, radius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, radius2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, radius2Offset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, radiusOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - shape: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[Union["SymbolShape", str], str], - ], - UndefinedType, - ] = Undefined, - size: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + shape: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, + size: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, smooth: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + bool, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, stroke: Union[ - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], - Union[ - "Gradient", - Union["LinearGradient", dict], - Union["RadialGradient", dict], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, strokeCap: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["StrokeCap", Literal["butt", "round", "square"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, strokeDash: Union[ - Union[Sequence[float], Union["ExprRef", "_Parameter", dict]], UndefinedType + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, strokeDashOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeJoin: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["StrokeJoin", Literal["miter", "round", "bevel"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["miter", "round", "bevel"], UndefinedType, ] = Undefined, strokeMiterLimit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeWidth: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, - style: Union[Union[Sequence[str], str], UndefinedType] = Undefined, + style: Union[str, Sequence[str], UndefinedType] = Undefined, tension: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, text: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], Union["Text", Sequence[str], str] - ], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", Sequence[str], UndefinedType ] = Undefined, theta: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, theta2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, theta2Offset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, thetaOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, thickness: Union[float, UndefinedType] = Undefined, timeUnitBandPosition: Union[float, UndefinedType] = Undefined, timeUnitBandSize: Union[float, UndefinedType] = Undefined, tooltip: Union[ - Union[ - None, - Union["ExprRef", "_Parameter", dict], - Union["TooltipContent", dict], - bool, - float, - str, - ], - UndefinedType, - ] = Undefined, - url: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["URI", str]], - UndefinedType, + str, bool, dict, None, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + url: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, width: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["RelativeBandSize", dict], - float, - ], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, x: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, x2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, x2Offset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, xOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, y: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, y2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, y2Offset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, yOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, **kwds, ): @@ -27184,13 +23795,7 @@ def __init__( class MarkPropDefGradientstringnull(VegaLiteSchema): - """MarkPropDefGradientstringnull schema wrapper - - :class:`FieldOrDatumDefWithConditionDatumDefGradientstringnull`, Dict, - :class:`FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull`, - Dict[required=[shorthand]], :class:`MarkPropDefGradientstringnull`, - :class:`ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull`, Dict - """ + """MarkPropDefGradientstringnull schema wrapper""" _schema = {"$ref": "#/definitions/MarkPropDef<(Gradient|string|null)>"} @@ -27203,8 +23808,6 @@ class FieldOrDatumDefWithConditionDatumDefGradientstringnull( ): """FieldOrDatumDefWithConditionDatumDefGradientstringnull schema wrapper - :class:`FieldOrDatumDefWithConditionDatumDefGradientstringnull`, Dict - Parameters ---------- @@ -27212,16 +23815,16 @@ class FieldOrDatumDefWithConditionDatumDefGradientstringnull( Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - condition : :class:`ConditionalParameterValueDefGradientstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefGradientstringnullExprRef`, Sequence[:class:`ConditionalParameterValueDefGradientstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefGradientstringnullExprRef`] + condition : dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -27320,49 +23923,15 @@ def __init__( self, bandPosition: Union[float, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - "ConditionalValueDefGradientstringnullExprRef", - Union[ - "ConditionalParameterValueDefGradientstringnullExprRef", - dict, - ], - Union[ - "ConditionalPredicateValueDefGradientstringnullExprRef", - dict, - ], - ] - ], - Union[ - "ConditionalValueDefGradientstringnullExprRef", - Union[ - "ConditionalParameterValueDefGradientstringnullExprRef", dict - ], - Union[ - "ConditionalPredicateValueDefGradientstringnullExprRef", dict - ], - ], - ], - UndefinedType, + dict, "SchemaBase", Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, datum: Union[ - Union[ - Union["DateTime", dict], - Union["ExprRef", "_Parameter", dict], - Union["PrimitiveValue", None, bool, float, str], - Union["RepeatRef", dict], - ], - UndefinedType, - ] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType + str, bool, dict, None, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, type: Union[ - Union[ - "Type", - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - ], + "SchemaBase", + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -27382,15 +23951,12 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull( ): """FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull schema wrapper - :class:`FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull`, - Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -27402,7 +23968,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull( Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool + bin : bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -27423,14 +23989,14 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull( **See also:** `bin `__ documentation. - condition : :class:`ConditionalParameterValueDefGradientstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefGradientstringnullExprRef`, Sequence[:class:`ConditionalParameterValueDefGradientstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefGradientstringnullExprRef`] + condition : dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -27445,7 +24011,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull( about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - legend : :class:`Legend`, Dict, None + legend : dict, None, :class:`Legend` An object defining properties of the legend. If ``null``, the legend for the encoding channel will be removed. @@ -27454,7 +24020,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull( **See also:** `legend `__ documentation. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -27467,7 +24033,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull( **See also:** `scale `__ documentation. - sort : :class:`AllSortString`, :class:`SortByChannelDesc`, Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'], :class:`SortByChannel`, Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], :class:`SortOrder`, Literal['ascending', 'descending'], :class:`EncodingSortField`, Dict, :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str], :class:`SortByEncoding`, Dict[required=[encoding]], :class:`Sort`, None + sort : dict, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'], Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -27506,7 +24072,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull( **See also:** `sort `__ documentation. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -27515,7 +24081,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull( **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -27613,291 +24179,212 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union["RepeatRef", dict], str], UndefinedType + str, dict, "SchemaBase", Sequence[str], UndefinedType ] = Undefined, aggregate: Union[ - Union[ - "Aggregate", - Union["ArgmaxDef", dict], - Union["ArgminDef", dict], - Union[ - "NonArgAggregateOp", - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - ], + dict, + "SchemaBase", + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union["BinParams", dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, "SchemaBase", UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - "ConditionalValueDefGradientstringnullExprRef", - Union[ - "ConditionalParameterValueDefGradientstringnullExprRef", - dict, - ], - Union[ - "ConditionalPredicateValueDefGradientstringnullExprRef", - dict, - ], - ] - ], - Union[ - "ConditionalValueDefGradientstringnullExprRef", - Union[ - "ConditionalParameterValueDefGradientstringnullExprRef", dict - ], - Union[ - "ConditionalPredicateValueDefGradientstringnullExprRef", dict - ], - ], - ], - UndefinedType, - ] = Undefined, - field: Union[ - Union["Field", Union["FieldName", str], Union["RepeatRef", dict]], - UndefinedType, + dict, "SchemaBase", Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, - legend: Union[Union[None, Union["Legend", dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union["Scale", dict]], UndefinedType] = Undefined, + field: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, + legend: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, + scale: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, sort: Union[ - Union[ - "Sort", - None, - Union[ - "AllSortString", - Union[ - "SortByChannel", - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - ], - Union[ - "SortByChannelDesc", - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - ], - Union["SortOrder", Literal["ascending", "descending"]], - ], - Union["EncodingSortField", dict], - Union[ - "SortArray", - Sequence[Union["DateTime", dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - ], - Union["SortByEncoding", dict], + dict, + None, + "SchemaBase", + Sequence[str], + Sequence[bool], + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, "SchemaBase"]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - "BinnedTimeUnit", - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - ], - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], - ], - Union["TimeUnitParams", dict], - ], - UndefinedType, - ] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType - ] = Undefined, + dict, + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", + ], + UndefinedType, + ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, type: Union[ - Union[ - "StandardType", - Literal["quantitative", "ordinal", "temporal", "nominal"], - ], + "SchemaBase", + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -27922,13 +24409,7 @@ def __init__( class MarkPropDefnumber(VegaLiteSchema): - """MarkPropDefnumber schema wrapper - - :class:`FieldOrDatumDefWithConditionDatumDefnumber`, Dict, - :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, Dict[required=[shorthand]], - :class:`MarkPropDefnumber`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber`, - Dict - """ + """MarkPropDefnumber schema wrapper""" _schema = {"$ref": "#/definitions/MarkPropDef"} @@ -27937,13 +24418,7 @@ def __init__(self, *args, **kwds): class MarkPropDefnumberArray(VegaLiteSchema): - """MarkPropDefnumberArray schema wrapper - - :class:`FieldOrDatumDefWithConditionDatumDefnumberArray`, Dict, - :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray`, - Dict[required=[shorthand]], :class:`MarkPropDefnumberArray`, - :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumberArray`, Dict - """ + """MarkPropDefnumberArray schema wrapper""" _schema = {"$ref": "#/definitions/MarkPropDef"} @@ -27952,13 +24427,7 @@ def __init__(self, *args, **kwds): class MarkPropDefstringnullTypeForShape(VegaLiteSchema): - """MarkPropDefstringnullTypeForShape schema wrapper - - :class:`FieldOrDatumDefWithConditionDatumDefstringnull`, Dict, - :class:`FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull`, - Dict[required=[shorthand]], :class:`MarkPropDefstringnullTypeForShape`, - :class:`ValueDefWithConditionMarkPropFieldOrDatumDefTypeForShapestringnull`, Dict - """ + """MarkPropDefstringnullTypeForShape schema wrapper""" _schema = {"$ref": "#/definitions/MarkPropDef<(string|null),TypeForShape>"} @@ -27967,11 +24436,7 @@ def __init__(self, *args, **kwds): class MarkType(VegaLiteSchema): - """MarkType schema wrapper - - :class:`MarkType`, Literal['arc', 'area', 'image', 'group', 'line', 'path', 'rect', 'rule', - 'shape', 'symbol', 'text', 'trail'] - """ + """MarkType schema wrapper""" _schema = {"$ref": "#/definitions/MarkType"} @@ -27980,10 +24445,7 @@ def __init__(self, *args): class Month(VegaLiteSchema): - """Month schema wrapper - - :class:`Month`, float - """ + """Month schema wrapper""" _schema = {"$ref": "#/definitions/Month"} @@ -27993,14 +24455,12 @@ def __init__(self, *args): class MultiLineString(Geometry): """MultiLineString schema wrapper - - :class:`MultiLineString`, Dict[required=[coordinates, type]] MultiLineString geometry object. https://tools.ietf.org/html/rfc7946#section-3.1.5 Parameters ---------- - coordinates : Sequence[Sequence[:class:`Position`, Sequence[float]]] + coordinates : Sequence[Sequence[Sequence[float], :class:`Position`]] type : str Specifies the type of GeoJSON object. @@ -28014,10 +24474,10 @@ class MultiLineString(Geometry): def __init__( self, coordinates: Union[ - Sequence[Sequence[Union["Position", Sequence[float]]]], UndefinedType + Sequence[Sequence[Union["SchemaBase", Sequence[float]]]], UndefinedType ] = Undefined, type: Union[str, UndefinedType] = Undefined, - bbox: Union[Union["BBox", Sequence[float]], UndefinedType] = Undefined, + bbox: Union["SchemaBase", Sequence[float], UndefinedType] = Undefined, **kwds, ): super(MultiLineString, self).__init__( @@ -28027,14 +24487,12 @@ def __init__( class MultiPoint(Geometry): """MultiPoint schema wrapper - - :class:`MultiPoint`, Dict[required=[coordinates, type]] MultiPoint geometry object. https://tools.ietf.org/html/rfc7946#section-3.1.3 Parameters ---------- - coordinates : Sequence[:class:`Position`, Sequence[float]] + coordinates : Sequence[Sequence[float], :class:`Position`] type : str Specifies the type of GeoJSON object. @@ -28048,10 +24506,10 @@ class MultiPoint(Geometry): def __init__( self, coordinates: Union[ - Sequence[Union["Position", Sequence[float]]], UndefinedType + Sequence[Union["SchemaBase", Sequence[float]]], UndefinedType ] = Undefined, type: Union[str, UndefinedType] = Undefined, - bbox: Union[Union["BBox", Sequence[float]], UndefinedType] = Undefined, + bbox: Union["SchemaBase", Sequence[float], UndefinedType] = Undefined, **kwds, ): super(MultiPoint, self).__init__( @@ -28061,14 +24519,12 @@ def __init__( class MultiPolygon(Geometry): """MultiPolygon schema wrapper - - :class:`MultiPolygon`, Dict[required=[coordinates, type]] MultiPolygon geometry object. https://tools.ietf.org/html/rfc7946#section-3.1.7 Parameters ---------- - coordinates : Sequence[Sequence[Sequence[:class:`Position`, Sequence[float]]]] + coordinates : Sequence[Sequence[Sequence[Sequence[float], :class:`Position`]]] type : str Specifies the type of GeoJSON object. @@ -28082,11 +24538,11 @@ class MultiPolygon(Geometry): def __init__( self, coordinates: Union[ - Sequence[Sequence[Sequence[Union["Position", Sequence[float]]]]], + Sequence[Sequence[Sequence[Union["SchemaBase", Sequence[float]]]]], UndefinedType, ] = Undefined, type: Union[str, UndefinedType] = Undefined, - bbox: Union[Union["BBox", Sequence[float]], UndefinedType] = Undefined, + bbox: Union["SchemaBase", Sequence[float], UndefinedType] = Undefined, **kwds, ): super(MultiPolygon, self).__init__( @@ -28097,8 +24553,6 @@ def __init__( class NamedData(DataSource): """NamedData schema wrapper - :class:`NamedData`, Dict[required=[name]] - Parameters ---------- @@ -28109,7 +24563,7 @@ class NamedData(DataSource): the layout when the data updates, set `autosize `__ or explicitly use `view.resize `__. - format : :class:`CsvDataFormat`, Dict, :class:`DataFormat`, :class:`DsvDataFormat`, Dict[required=[delimiter]], :class:`JsonDataFormat`, Dict, :class:`TopoDataFormat`, Dict + format : dict, :class:`DataFormat`, :class:`CsvDataFormat`, :class:`DsvDataFormat`, :class:`JsonDataFormat`, :class:`TopoDataFormat` An object that specifies the format for parsing the data. """ @@ -28118,28 +24572,14 @@ class NamedData(DataSource): def __init__( self, name: Union[str, UndefinedType] = Undefined, - format: Union[ - Union[ - "DataFormat", - Union["CsvDataFormat", dict], - Union["DsvDataFormat", dict], - Union["JsonDataFormat", dict], - Union["TopoDataFormat", dict], - ], - UndefinedType, - ] = Undefined, + format: Union[dict, "SchemaBase", UndefinedType] = Undefined, **kwds, ): super(NamedData, self).__init__(name=name, format=format, **kwds) class NonArgAggregateOp(Aggregate): - """NonArgAggregateOp schema wrapper - - :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', - 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', - 'valid', 'values', 'variance', 'variancep'] - """ + """NonArgAggregateOp schema wrapper""" _schema = {"$ref": "#/definitions/NonArgAggregateOp"} @@ -28149,13 +24589,6 @@ def __init__(self, *args): class NonNormalizedSpec(VegaLiteSchema): """NonNormalizedSpec schema wrapper - - :class:`ConcatSpecGenericSpec`, Dict[required=[concat]], :class:`FacetSpec`, - Dict[required=[facet, spec]], :class:`FacetedUnitSpec`, Dict[required=[mark]], - :class:`HConcatSpecGenericSpec`, Dict[required=[hconcat]], :class:`LayerRepeatSpec`, - Dict[required=[repeat, spec]], :class:`NonLayerRepeatSpec`, Dict[required=[repeat, spec]], - :class:`RepeatSpec`, :class:`LayerSpec`, Dict[required=[layer]], :class:`NonNormalizedSpec`, - :class:`VConcatSpecGenericSpec`, Dict[required=[vconcat]] Any specification in Vega-Lite. """ @@ -28167,14 +24600,12 @@ def __init__(self, *args, **kwds): class NumberLocale(VegaLiteSchema): """NumberLocale schema wrapper - - :class:`NumberLocale`, Dict[required=[decimal, thousands, grouping, currency]] Locale definition for formatting numbers. Parameters ---------- - currency : :class:`Vector2string`, Sequence[str] + currency : Sequence[str], :class:`Vector2string` The currency prefix and suffix (e.g., ["$", ""]). decimal : str The decimal point (e.g., "."). @@ -28186,7 +24617,7 @@ class NumberLocale(VegaLiteSchema): The minus sign (defaults to hyphen-minus, "-"). nan : str The not-a-number value (defaults to "NaN"). - numerals : :class:`Vector10string`, Sequence[str] + numerals : Sequence[str], :class:`Vector10string` An array of ten strings to replace the numerals 0-9. percent : str The percent sign (defaults to "%"). @@ -28196,17 +24627,13 @@ class NumberLocale(VegaLiteSchema): def __init__( self, - currency: Union[ - Union["Vector2string", Sequence[str]], UndefinedType - ] = Undefined, + currency: Union["SchemaBase", Sequence[str], UndefinedType] = Undefined, decimal: Union[str, UndefinedType] = Undefined, grouping: Union[Sequence[float], UndefinedType] = Undefined, thousands: Union[str, UndefinedType] = Undefined, minus: Union[str, UndefinedType] = Undefined, nan: Union[str, UndefinedType] = Undefined, - numerals: Union[ - Union["Vector10string", Sequence[str]], UndefinedType - ] = Undefined, + numerals: Union["SchemaBase", Sequence[str], UndefinedType] = Undefined, percent: Union[str, UndefinedType] = Undefined, **kwds, ): @@ -28224,13 +24651,7 @@ def __init__( class NumericArrayMarkPropDef(VegaLiteSchema): - """NumericArrayMarkPropDef schema wrapper - - :class:`FieldOrDatumDefWithConditionDatumDefnumberArray`, Dict, - :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray`, - Dict[required=[shorthand]], :class:`NumericArrayMarkPropDef`, - :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumberArray`, Dict - """ + """NumericArrayMarkPropDef schema wrapper""" _schema = {"$ref": "#/definitions/NumericArrayMarkPropDef"} @@ -28243,8 +24664,6 @@ class FieldOrDatumDefWithConditionDatumDefnumberArray( ): """FieldOrDatumDefWithConditionDatumDefnumberArray schema wrapper - :class:`FieldOrDatumDefWithConditionDatumDefnumberArray`, Dict - Parameters ---------- @@ -28252,16 +24671,16 @@ class FieldOrDatumDefWithConditionDatumDefnumberArray( Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - condition : :class:`ConditionalParameterValueDefnumberArrayExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberArrayExprRef`, Sequence[:class:`ConditionalParameterValueDefnumberArrayExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberArrayExprRef`] + condition : dict, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -28358,39 +24777,15 @@ def __init__( self, bandPosition: Union[float, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - "ConditionalValueDefnumberArrayExprRef", - Union["ConditionalParameterValueDefnumberArrayExprRef", dict], - Union["ConditionalPredicateValueDefnumberArrayExprRef", dict], - ] - ], - Union[ - "ConditionalValueDefnumberArrayExprRef", - Union["ConditionalParameterValueDefnumberArrayExprRef", dict], - Union["ConditionalPredicateValueDefnumberArrayExprRef", dict], - ], - ], - UndefinedType, + dict, "SchemaBase", Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, datum: Union[ - Union[ - Union["DateTime", dict], - Union["ExprRef", "_Parameter", dict], - Union["PrimitiveValue", None, bool, float, str], - Union["RepeatRef", dict], - ], - UndefinedType, - ] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType + str, bool, dict, None, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, type: Union[ - Union[ - "Type", - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - ], + "SchemaBase", + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -28410,14 +24805,12 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray( ): """FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray schema wrapper - :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -28429,7 +24822,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray( Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool + bin : bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -28450,14 +24843,14 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray( **See also:** `bin `__ documentation. - condition : :class:`ConditionalParameterValueDefnumberArrayExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberArrayExprRef`, Sequence[:class:`ConditionalParameterValueDefnumberArrayExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberArrayExprRef`] + condition : dict, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -28472,7 +24865,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray( about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - legend : :class:`Legend`, Dict, None + legend : dict, None, :class:`Legend` An object defining properties of the legend. If ``null``, the legend for the encoding channel will be removed. @@ -28481,7 +24874,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray( **See also:** `legend `__ documentation. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -28494,7 +24887,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray( **See also:** `scale `__ documentation. - sort : :class:`AllSortString`, :class:`SortByChannelDesc`, Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'], :class:`SortByChannel`, Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], :class:`SortOrder`, Literal['ascending', 'descending'], :class:`EncodingSortField`, Dict, :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str], :class:`SortByEncoding`, Dict[required=[encoding]], :class:`Sort`, None + sort : dict, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'], Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -28533,7 +24926,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray( **See also:** `sort `__ documentation. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -28542,7 +24935,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray( **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -28640,281 +25033,212 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union["RepeatRef", dict], str], UndefinedType + str, dict, "SchemaBase", Sequence[str], UndefinedType ] = Undefined, aggregate: Union[ - Union[ - "Aggregate", - Union["ArgmaxDef", dict], - Union["ArgminDef", dict], - Union[ - "NonArgAggregateOp", - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - ], + dict, + "SchemaBase", + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union["BinParams", dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, "SchemaBase", UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - "ConditionalValueDefnumberArrayExprRef", - Union["ConditionalParameterValueDefnumberArrayExprRef", dict], - Union["ConditionalPredicateValueDefnumberArrayExprRef", dict], - ] - ], - Union[ - "ConditionalValueDefnumberArrayExprRef", - Union["ConditionalParameterValueDefnumberArrayExprRef", dict], - Union["ConditionalPredicateValueDefnumberArrayExprRef", dict], - ], - ], - UndefinedType, + dict, "SchemaBase", Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, - field: Union[ - Union["Field", Union["FieldName", str], Union["RepeatRef", dict]], - UndefinedType, - ] = Undefined, - legend: Union[Union[None, Union["Legend", dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union["Scale", dict]], UndefinedType] = Undefined, + field: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, + legend: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, + scale: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, sort: Union[ - Union[ - "Sort", - None, - Union[ - "AllSortString", - Union[ - "SortByChannel", - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - ], - Union[ - "SortByChannelDesc", - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - ], - Union["SortOrder", Literal["ascending", "descending"]], - ], - Union["EncodingSortField", dict], - Union[ - "SortArray", - Sequence[Union["DateTime", dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - ], - Union["SortByEncoding", dict], + dict, + None, + "SchemaBase", + Sequence[str], + Sequence[bool], + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, "SchemaBase"]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - "BinnedTimeUnit", - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - ], - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], - ], - Union["TimeUnitParams", dict], - ], - UndefinedType, - ] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType - ] = Undefined, + dict, + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", + ], + UndefinedType, + ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, type: Union[ - Union[ - "StandardType", - Literal["quantitative", "ordinal", "temporal", "nominal"], - ], + "SchemaBase", + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -28937,13 +25261,7 @@ def __init__( class NumericMarkPropDef(VegaLiteSchema): - """NumericMarkPropDef schema wrapper - - :class:`FieldOrDatumDefWithConditionDatumDefnumber`, Dict, - :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, Dict[required=[shorthand]], - :class:`NumericMarkPropDef`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber`, - Dict - """ + """NumericMarkPropDef schema wrapper""" _schema = {"$ref": "#/definitions/NumericMarkPropDef"} @@ -28954,8 +25272,6 @@ def __init__(self, *args, **kwds): class FieldOrDatumDefWithConditionDatumDefnumber(MarkPropDefnumber, NumericMarkPropDef): """FieldOrDatumDefWithConditionDatumDefnumber schema wrapper - :class:`FieldOrDatumDefWithConditionDatumDefnumber`, Dict - Parameters ---------- @@ -28963,16 +25279,16 @@ class FieldOrDatumDefWithConditionDatumDefnumber(MarkPropDefnumber, NumericMarkP Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - condition : :class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`, Sequence[:class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`] + condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -29069,39 +25385,15 @@ def __init__( self, bandPosition: Union[float, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - "ConditionalValueDefnumberExprRef", - Union["ConditionalParameterValueDefnumberExprRef", dict], - Union["ConditionalPredicateValueDefnumberExprRef", dict], - ] - ], - Union[ - "ConditionalValueDefnumberExprRef", - Union["ConditionalParameterValueDefnumberExprRef", dict], - Union["ConditionalPredicateValueDefnumberExprRef", dict], - ], - ], - UndefinedType, + dict, "SchemaBase", Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, datum: Union[ - Union[ - Union["DateTime", dict], - Union["ExprRef", "_Parameter", dict], - Union["PrimitiveValue", None, bool, float, str], - Union["RepeatRef", dict], - ], - UndefinedType, - ] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType + str, bool, dict, None, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, type: Union[ - Union[ - "Type", - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - ], + "SchemaBase", + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -29121,14 +25413,12 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumber( ): """FieldOrDatumDefWithConditionMarkPropFieldDefnumber schema wrapper - :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -29140,7 +25430,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumber( Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool + bin : bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -29161,14 +25451,14 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumber( **See also:** `bin `__ documentation. - condition : :class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`, Sequence[:class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`] + condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -29183,7 +25473,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumber( about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - legend : :class:`Legend`, Dict, None + legend : dict, None, :class:`Legend` An object defining properties of the legend. If ``null``, the legend for the encoding channel will be removed. @@ -29192,7 +25482,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumber( **See also:** `legend `__ documentation. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -29205,7 +25495,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumber( **See also:** `scale `__ documentation. - sort : :class:`AllSortString`, :class:`SortByChannelDesc`, Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'], :class:`SortByChannel`, Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], :class:`SortOrder`, Literal['ascending', 'descending'], :class:`EncodingSortField`, Dict, :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str], :class:`SortByEncoding`, Dict[required=[encoding]], :class:`Sort`, None + sort : dict, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'], Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -29244,7 +25534,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumber( **See also:** `sort `__ documentation. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -29253,7 +25543,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumber( **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -29351,281 +25641,212 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumber( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union["RepeatRef", dict], str], UndefinedType + str, dict, "SchemaBase", Sequence[str], UndefinedType ] = Undefined, aggregate: Union[ - Union[ - "Aggregate", - Union["ArgmaxDef", dict], - Union["ArgminDef", dict], - Union[ - "NonArgAggregateOp", - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - ], + dict, + "SchemaBase", + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union["BinParams", dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, "SchemaBase", UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - "ConditionalValueDefnumberExprRef", - Union["ConditionalParameterValueDefnumberExprRef", dict], - Union["ConditionalPredicateValueDefnumberExprRef", dict], - ] - ], - Union[ - "ConditionalValueDefnumberExprRef", - Union["ConditionalParameterValueDefnumberExprRef", dict], - Union["ConditionalPredicateValueDefnumberExprRef", dict], - ], - ], - UndefinedType, - ] = Undefined, - field: Union[ - Union["Field", Union["FieldName", str], Union["RepeatRef", dict]], - UndefinedType, + dict, "SchemaBase", Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, - legend: Union[Union[None, Union["Legend", dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union["Scale", dict]], UndefinedType] = Undefined, + field: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, + legend: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, + scale: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, sort: Union[ - Union[ - "Sort", - None, - Union[ - "AllSortString", - Union[ - "SortByChannel", - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - ], - Union[ - "SortByChannelDesc", - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - ], - Union["SortOrder", Literal["ascending", "descending"]], - ], - Union["EncodingSortField", dict], - Union[ - "SortArray", - Sequence[Union["DateTime", dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - ], - Union["SortByEncoding", dict], + dict, + None, + "SchemaBase", + Sequence[str], + Sequence[bool], + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, "SchemaBase"]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - "BinnedTimeUnit", - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - ], - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], - ], - Union["TimeUnitParams", dict], - ], - UndefinedType, - ] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType - ] = Undefined, + dict, + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", + ], + UndefinedType, + ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, type: Union[ - Union[ - "StandardType", - Literal["quantitative", "ordinal", "temporal", "nominal"], - ], + "SchemaBase", + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -29648,11 +25869,7 @@ def __init__( class OffsetDef(VegaLiteSchema): - """OffsetDef schema wrapper - - :class:`OffsetDef`, :class:`ScaleDatumDef`, Dict, :class:`ScaleFieldDef`, - Dict[required=[shorthand]], :class:`ValueDefnumber`, Dict[required=[value]] - """ + """OffsetDef schema wrapper""" _schema = {"$ref": "#/definitions/OffsetDef"} @@ -29663,14 +25880,12 @@ def __init__(self, *args, **kwds): class OrderFieldDef(VegaLiteSchema): """OrderFieldDef schema wrapper - :class:`OrderFieldDef`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -29682,7 +25897,7 @@ class OrderFieldDef(VegaLiteSchema): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool, str + bin : str, bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -29703,7 +25918,7 @@ class OrderFieldDef(VegaLiteSchema): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -29720,7 +25935,7 @@ class OrderFieldDef(VegaLiteSchema): if ``aggregate`` is ``count``. sort : :class:`SortOrder`, Literal['ascending', 'descending'] The sort order. One of ``"ascending"`` (default) or ``"descending"``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -29729,7 +25944,7 @@ class OrderFieldDef(VegaLiteSchema): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -29825,211 +26040,171 @@ class OrderFieldDef(VegaLiteSchema): def __init__( self, shorthand: Union[ - Union[Sequence[str], Union["RepeatRef", dict], str], UndefinedType + str, dict, "SchemaBase", Sequence[str], UndefinedType ] = Undefined, aggregate: Union[ - Union[ - "Aggregate", - Union["ArgmaxDef", dict], - Union["ArgminDef", dict], - Union[ - "NonArgAggregateOp", - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - ], + dict, + "SchemaBase", + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union["BinParams", dict], bool, str], UndefinedType - ] = Undefined, - field: Union[ - Union["Field", Union["FieldName", str], Union["RepeatRef", dict]], - UndefinedType, - ] = Undefined, + bin: Union[str, bool, dict, None, "SchemaBase", UndefinedType] = Undefined, + field: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, sort: Union[ - Union["SortOrder", Literal["ascending", "descending"]], UndefinedType + "SchemaBase", Literal["ascending", "descending"], UndefinedType ] = Undefined, timeUnit: Union[ - Union[ - Union[ - "BinnedTimeUnit", - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - ], - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], - ], - Union["TimeUnitParams", dict], - ], - UndefinedType, - ] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType - ] = Undefined, + dict, + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", + ], + UndefinedType, + ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, type: Union[ - Union[ - "StandardType", - Literal["quantitative", "ordinal", "temporal", "nominal"], - ], + "SchemaBase", + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -30051,8 +26226,6 @@ def __init__( class OrderOnlyDef(VegaLiteSchema): """OrderOnlyDef schema wrapper - :class:`OrderOnlyDef`, Dict - Parameters ---------- @@ -30065,7 +26238,7 @@ class OrderOnlyDef(VegaLiteSchema): def __init__( self, sort: Union[ - Union["SortOrder", Literal["ascending", "descending"]], UndefinedType + "SchemaBase", Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ): @@ -30075,16 +26248,14 @@ def __init__( class OrderValueDef(VegaLiteSchema): """OrderValueDef schema wrapper - :class:`OrderValueDef`, Dict[required=[value]] - Parameters ---------- - value : :class:`ExprRef`, Dict[required=[expr]], float + value : dict, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). - condition : :class:`ConditionalParameterValueDefnumber`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumber`, Dict[required=[test, value]], :class:`ConditionalValueDefnumber`, Sequence[:class:`ConditionalParameterValueDefnumber`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumber`, Dict[required=[test, value]], :class:`ConditionalValueDefnumber`] + condition : dict, :class:`ConditionalValueDefnumber`, :class:`ConditionalParameterValueDefnumber`, :class:`ConditionalPredicateValueDefnumber`, Sequence[dict, :class:`ConditionalValueDefnumber`, :class:`ConditionalParameterValueDefnumber`, :class:`ConditionalPredicateValueDefnumber`] One or more value definition(s) with `a parameter or a test predicate `__. @@ -30098,24 +26269,10 @@ class OrderValueDef(VegaLiteSchema): def __init__( self, value: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - "ConditionalValueDefnumber", - Union["ConditionalParameterValueDefnumber", dict], - Union["ConditionalPredicateValueDefnumber", dict], - ] - ], - Union[ - "ConditionalValueDefnumber", - Union["ConditionalParameterValueDefnumber", dict], - Union["ConditionalPredicateValueDefnumber", dict], - ], - ], - UndefinedType, + dict, "SchemaBase", Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, **kwds, ): @@ -30123,10 +26280,7 @@ def __init__( class Orient(VegaLiteSchema): - """Orient schema wrapper - - :class:`Orient`, Literal['left', 'right', 'top', 'bottom'] - """ + """Orient schema wrapper""" _schema = {"$ref": "#/definitions/Orient"} @@ -30135,10 +26289,7 @@ def __init__(self, *args): class Orientation(VegaLiteSchema): - """Orientation schema wrapper - - :class:`Orientation`, Literal['horizontal', 'vertical'] - """ + """Orientation schema wrapper""" _schema = {"$ref": "#/definitions/Orientation"} @@ -30149,37 +26300,35 @@ def __init__(self, *args): class OverlayMarkDef(VegaLiteSchema): """OverlayMarkDef schema wrapper - :class:`OverlayMarkDef`, Dict - Parameters ---------- - align : :class:`Align`, Literal['left', 'center', 'right'], :class:`ExprRef`, Dict[required=[expr]] + align : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] The horizontal alignment of the text or ranged marks (area, bar, image, rect, rule). One of ``"left"``, ``"right"``, ``"center"``. **Note:** Expression reference is *not* supported for range marks. - angle : :class:`ExprRef`, Dict[required=[expr]], float + angle : dict, float, :class:`ExprRef` The rotation angle of the text, in degrees. - aria : :class:`ExprRef`, Dict[required=[expr]], bool + aria : bool, dict, :class:`ExprRef` A boolean flag indicating if `ARIA attributes `__ should be included (SVG output only). If ``false``, the "aria-hidden" attribute will be set on the output SVG element, removing the mark item from the ARIA accessibility tree. - ariaRole : :class:`ExprRef`, Dict[required=[expr]], str + ariaRole : str, dict, :class:`ExprRef` Sets the type of user interface element of the mark item for `ARIA accessibility `__ (SVG output only). If specified, this property determines the "role" attribute. Warning: this property is experimental and may be changed in the future. - ariaRoleDescription : :class:`ExprRef`, Dict[required=[expr]], str + ariaRoleDescription : str, dict, :class:`ExprRef` A human-readable, author-localized description for the role of the mark item for `ARIA accessibility `__ (SVG output only). If specified, this property determines the "aria-roledescription" attribute. Warning: this property is experimental and may be changed in the future. - aspect : :class:`ExprRef`, Dict[required=[expr]], bool + aspect : bool, dict, :class:`ExprRef` Whether to keep aspect ratio of image marks. - baseline : :class:`Baseline`, Literal['top', 'middle', 'bottom'], :class:`TextBaseline`, str, :class:`ExprRef`, Dict[required=[expr]] + baseline : str, dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['top', 'middle', 'bottom'] For text marks, the vertical text baseline. One of ``"alphabetic"`` (default), ``"top"``, ``"middle"``, ``"bottom"``, ``"line-top"``, ``"line-bottom"``, or an expression reference that provides one of the valid values. The ``"line-top"`` and @@ -30190,7 +26339,7 @@ class OverlayMarkDef(VegaLiteSchema): ``"middle"``, ``"bottom"``. **Note:** Expression reference is *not* supported for range marks. - blend : :class:`Blend`, Literal[None, 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'], :class:`ExprRef`, Dict[required=[expr]] + blend : dict, :class:`Blend`, :class:`ExprRef`, Literal[None, 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'] The color blend mode for drawing an item on its current background. Any valid `CSS mix-blend-mode `__ value can be used. @@ -30198,7 +26347,7 @@ class OverlayMarkDef(VegaLiteSchema): __Default value:__ ``"source-over"`` clip : bool Whether a mark be clipped to the enclosing group’s width and height. - color : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]] + color : str, dict, :class:`Color`, :class:`ExprRef`, :class:`Gradient`, :class:`HexColor`, :class:`ColorName`, :class:`LinearGradient`, :class:`RadialGradient`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Default color. **Default value:** :raw-html:`` @@ -30211,59 +26360,59 @@ class OverlayMarkDef(VegaLiteSchema): `__. * The ``fill`` and ``stroke`` properties have higher precedence than ``color`` and will override ``color``. - cornerRadius : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadius : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles or arcs' corners. **Default value:** ``0`` - cornerRadiusBottomLeft : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusBottomLeft : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom left corner. **Default value:** ``0`` - cornerRadiusBottomRight : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusBottomRight : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom right corner. **Default value:** ``0`` - cornerRadiusTopLeft : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusTopLeft : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top right corner. **Default value:** ``0`` - cornerRadiusTopRight : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusTopRight : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top left corner. **Default value:** ``0`` - cursor : :class:`Cursor`, Literal['auto', 'default', 'none', 'context-menu', 'help', 'pointer', 'progress', 'wait', 'cell', 'crosshair', 'text', 'vertical-text', 'alias', 'copy', 'move', 'no-drop', 'not-allowed', 'e-resize', 'n-resize', 'ne-resize', 'nw-resize', 's-resize', 'se-resize', 'sw-resize', 'w-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'col-resize', 'row-resize', 'all-scroll', 'zoom-in', 'zoom-out', 'grab', 'grabbing'], :class:`ExprRef`, Dict[required=[expr]] + cursor : dict, :class:`Cursor`, :class:`ExprRef`, Literal['auto', 'default', 'none', 'context-menu', 'help', 'pointer', 'progress', 'wait', 'cell', 'crosshair', 'text', 'vertical-text', 'alias', 'copy', 'move', 'no-drop', 'not-allowed', 'e-resize', 'n-resize', 'ne-resize', 'nw-resize', 's-resize', 'se-resize', 'sw-resize', 'w-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'col-resize', 'row-resize', 'all-scroll', 'zoom-in', 'zoom-out', 'grab', 'grabbing'] The mouse cursor used over the mark. Any valid `CSS cursor type `__ can be used. - description : :class:`ExprRef`, Dict[required=[expr]], str + description : str, dict, :class:`ExprRef` A text description of the mark item for `ARIA accessibility `__ (SVG output only). If specified, this property determines the `"aria-label" attribute `__. - dir : :class:`ExprRef`, Dict[required=[expr]], :class:`TextDirection`, Literal['ltr', 'rtl'] + dir : dict, :class:`ExprRef`, Literal['ltr', 'rtl'], :class:`TextDirection` The direction of the text. One of ``"ltr"`` (left-to-right) or ``"rtl"`` (right-to-left). This property determines on which side is truncated in response to the limit parameter. **Default value:** ``"ltr"`` - dx : :class:`ExprRef`, Dict[required=[expr]], float + dx : dict, float, :class:`ExprRef` The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the *angle* property. - dy : :class:`ExprRef`, Dict[required=[expr]], float + dy : dict, float, :class:`ExprRef` The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the *angle* property. - ellipsis : :class:`ExprRef`, Dict[required=[expr]], str + ellipsis : str, dict, :class:`ExprRef` The ellipsis string for text truncated in response to the limit parameter. **Default value:** ``"…"`` - endAngle : :class:`ExprRef`, Dict[required=[expr]], float + endAngle : dict, float, :class:`ExprRef` The end angle in radians for arc marks. A value of ``0`` indicates up (north), increasing values proceed clockwise. - fill : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]], None + fill : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`Gradient`, :class:`HexColor`, :class:`ColorName`, :class:`LinearGradient`, :class:`RadialGradient`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Default fill color. This property has higher precedence than ``config.color``. Set to ``null`` to remove fill. **Default value:** (None) - fillOpacity : :class:`ExprRef`, Dict[required=[expr]], float + fillOpacity : dict, float, :class:`ExprRef` The fill opacity (value between [0,1]). **Default value:** ``1`` @@ -30277,28 +26426,28 @@ class OverlayMarkDef(VegaLiteSchema): **Note:** This property cannot be used in a `style config `__. - font : :class:`ExprRef`, Dict[required=[expr]], str + font : str, dict, :class:`ExprRef` The typeface to set the text in (e.g., ``"Helvetica Neue"`` ). - fontSize : :class:`ExprRef`, Dict[required=[expr]], float + fontSize : dict, float, :class:`ExprRef` The font size, in pixels. **Default value:** ``11`` - fontStyle : :class:`ExprRef`, Dict[required=[expr]], :class:`FontStyle`, str + fontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` The font style (e.g., ``"italic"`` ). - fontWeight : :class:`ExprRef`, Dict[required=[expr]], :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + fontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] The font weight. This can be either a string (e.g ``"bold"``, ``"normal"`` ) or a number ( ``100``, ``200``, ``300``, ..., ``900`` where ``"normal"`` = ``400`` and ``"bold"`` = ``700`` ). - height : :class:`ExprRef`, Dict[required=[expr]], float + height : dict, float, :class:`ExprRef` Height of the marks. - href : :class:`ExprRef`, Dict[required=[expr]], :class:`URI`, str + href : str, dict, :class:`URI`, :class:`ExprRef` A URL to load upon mouse click. If defined, the mark acts as a hyperlink. - innerRadius : :class:`ExprRef`, Dict[required=[expr]], float + innerRadius : dict, float, :class:`ExprRef` The inner radius in pixels of arc marks. ``innerRadius`` is an alias for ``radius2``. **Default value:** ``0`` - interpolate : :class:`ExprRef`, Dict[required=[expr]], :class:`Interpolate`, Literal['basis', 'basis-open', 'basis-closed', 'bundle', 'cardinal', 'cardinal-open', 'cardinal-closed', 'catmull-rom', 'linear', 'linear-closed', 'monotone', 'natural', 'step', 'step-before', 'step-after'] + interpolate : dict, :class:`ExprRef`, :class:`Interpolate`, Literal['basis', 'basis-open', 'basis-closed', 'bundle', 'cardinal', 'cardinal-open', 'cardinal-closed', 'catmull-rom', 'linear', 'linear-closed', 'monotone', 'natural', 'step', 'step-before', 'step-after'] The line interpolation method to use for line and area marks. One of the following: @@ -30329,23 +26478,23 @@ class OverlayMarkDef(VegaLiteSchema): (for line, trail, and area marks) or filtered (for other marks). * If ``null``, all data items are included. In this case, invalid values will be interpreted as zeroes. - limit : :class:`ExprRef`, Dict[required=[expr]], float + limit : dict, float, :class:`ExprRef` The maximum length of the text mark in pixels. The text value will be automatically truncated if the rendered size exceeds the limit. **Default value:** ``0`` -- indicating no limit - lineBreak : :class:`ExprRef`, Dict[required=[expr]], str + lineBreak : str, dict, :class:`ExprRef` A delimiter, such as a newline character, upon which to break text strings into multiple lines. This property is ignored if the text is array-valued. - lineHeight : :class:`ExprRef`, Dict[required=[expr]], float + lineHeight : dict, float, :class:`ExprRef` The line height in pixels (the spacing between subsequent lines of text) for multi-line text marks. - opacity : :class:`ExprRef`, Dict[required=[expr]], float + opacity : dict, float, :class:`ExprRef` The overall opacity (value between [0,1]). **Default value:** ``0.7`` for non-aggregate plots with ``point``, ``tick``, ``circle``, or ``square`` marks or layered ``bar`` charts and ``1`` otherwise. - order : None, bool + order : bool, None For line and trail marks, this ``order`` property can be set to ``null`` or ``false`` to make the lines use the original order in the data sources. orient : :class:`Orientation`, Literal['horizontal', 'vertical'] @@ -30360,28 +26509,28 @@ class OverlayMarkDef(VegaLiteSchema): the line if ``config.sortLineBy`` is not specified. For stacked charts, this is always determined by the orientation of the stack; therefore explicitly specified value will be ignored. - outerRadius : :class:`ExprRef`, Dict[required=[expr]], float + outerRadius : dict, float, :class:`ExprRef` The outer radius in pixels of arc marks. ``outerRadius`` is an alias for ``radius``. **Default value:** ``0`` - padAngle : :class:`ExprRef`, Dict[required=[expr]], float + padAngle : dict, float, :class:`ExprRef` The angular padding applied to sides of the arc, in radians. - radius : :class:`ExprRef`, Dict[required=[expr]], float + radius : dict, float, :class:`ExprRef` For arc mark, the primary (outer) radius in pixels. For text marks, polar coordinate radial offset, in pixels, of the text from the origin determined by the ``x`` and ``y`` properties. **Default value:** ``min(plot_width, plot_height)/2`` - radius2 : :class:`ExprRef`, Dict[required=[expr]], float + radius2 : dict, float, :class:`ExprRef` The secondary (inner) radius in pixels of arc marks. **Default value:** ``0`` - radius2Offset : :class:`ExprRef`, Dict[required=[expr]], float + radius2Offset : dict, float, :class:`ExprRef` Offset for radius2. - radiusOffset : :class:`ExprRef`, Dict[required=[expr]], float + radiusOffset : dict, float, :class:`ExprRef` Offset for radius. - shape : :class:`ExprRef`, Dict[required=[expr]], :class:`SymbolShape`, str, str + shape : str, dict, :class:`ExprRef`, :class:`SymbolShape` Shape of the point marks. Supported values include: @@ -30396,7 +26545,7 @@ class OverlayMarkDef(VegaLiteSchema): coordinates ranging from -1 to 1 along both the x and y dimensions.) **Default value:** ``"circle"`` - size : :class:`ExprRef`, Dict[required=[expr]], float + size : dict, float, :class:`ExprRef` Default size for marks. @@ -30413,45 +26562,45 @@ class OverlayMarkDef(VegaLiteSchema): * ``2`` for bar marks with discrete dimensions; * ``5`` for bar marks with continuous dimensions; * ``11`` for text marks. - smooth : :class:`ExprRef`, Dict[required=[expr]], bool + smooth : bool, dict, :class:`ExprRef` A boolean flag (default true) indicating if the image should be smoothed when resized. If false, individual pixels should be scaled directly rather than interpolated with smoothing. For SVG rendering, this option may not work in some browsers due to lack of standardization. - startAngle : :class:`ExprRef`, Dict[required=[expr]], float + startAngle : dict, float, :class:`ExprRef` The start angle in radians for arc marks. A value of ``0`` indicates up (north), increasing values proceed clockwise. - stroke : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]], None + stroke : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`Gradient`, :class:`HexColor`, :class:`ColorName`, :class:`LinearGradient`, :class:`RadialGradient`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Default stroke color. This property has higher precedence than ``config.color``. Set to ``null`` to remove stroke. **Default value:** (None) - strokeCap : :class:`ExprRef`, Dict[required=[expr]], :class:`StrokeCap`, Literal['butt', 'round', 'square'] + strokeCap : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] The stroke cap for line ending style. One of ``"butt"``, ``"round"``, or ``"square"``. **Default value:** ``"butt"`` - strokeDash : :class:`ExprRef`, Dict[required=[expr]], Sequence[float] + strokeDash : dict, Sequence[float], :class:`ExprRef` An array of alternating stroke, space lengths for creating dashed or dotted lines. - strokeDashOffset : :class:`ExprRef`, Dict[required=[expr]], float + strokeDashOffset : dict, float, :class:`ExprRef` The offset (in pixels) into which to begin drawing with the stroke dash array. - strokeJoin : :class:`ExprRef`, Dict[required=[expr]], :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] + strokeJoin : dict, :class:`ExprRef`, :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] The stroke line join method. One of ``"miter"``, ``"round"`` or ``"bevel"``. **Default value:** ``"miter"`` - strokeMiterLimit : :class:`ExprRef`, Dict[required=[expr]], float + strokeMiterLimit : dict, float, :class:`ExprRef` The miter limit at which to bevel a line join. - strokeOffset : :class:`ExprRef`, Dict[required=[expr]], float + strokeOffset : dict, float, :class:`ExprRef` The offset in pixels at which to draw the group stroke and fill. If unspecified, the default behavior is to dynamically offset stroked groups such that 1 pixel stroke widths align with the pixel grid. - strokeOpacity : :class:`ExprRef`, Dict[required=[expr]], float + strokeOpacity : dict, float, :class:`ExprRef` The stroke opacity (value between [0,1]). **Default value:** ``1`` - strokeWidth : :class:`ExprRef`, Dict[required=[expr]], float + strokeWidth : dict, float, :class:`ExprRef` The stroke width, in pixels. - style : Sequence[str], str + style : str, Sequence[str] A string or array of strings indicating the name of custom styles to apply to the mark. A style is a named collection of mark property defaults defined within the `style configuration @@ -30465,23 +26614,23 @@ class OverlayMarkDef(VegaLiteSchema): For example, a bar mark with ``"style": "foo"`` will receive from ``config.style.bar`` and ``config.style.foo`` (the specified style ``"foo"`` has higher precedence). - tension : :class:`ExprRef`, Dict[required=[expr]], float + tension : dict, float, :class:`ExprRef` Depending on the interpolation type, sets the tension parameter (for line and area marks). - text : :class:`ExprRef`, Dict[required=[expr]], :class:`Text`, Sequence[str], str + text : str, dict, :class:`Text`, Sequence[str], :class:`ExprRef` Placeholder text if the ``text`` channel is not specified - theta : :class:`ExprRef`, Dict[required=[expr]], float + theta : dict, float, :class:`ExprRef` For arc marks, the arc length in radians if theta2 is not specified, otherwise the start arc angle. (A value of 0 indicates up or “north”, increasing values proceed clockwise.) For text marks, polar coordinate angle in radians. - theta2 : :class:`ExprRef`, Dict[required=[expr]], float + theta2 : dict, float, :class:`ExprRef` The end angle of arc marks in radians. A value of 0 indicates up or “north”, increasing values proceed clockwise. - theta2Offset : :class:`ExprRef`, Dict[required=[expr]], float + theta2Offset : dict, float, :class:`ExprRef` Offset for theta2. - thetaOffset : :class:`ExprRef`, Dict[required=[expr]], float + thetaOffset : dict, float, :class:`ExprRef` Offset for theta. timeUnitBandPosition : float Default relative band position for a time unit. If set to ``0``, the marks will be @@ -30491,7 +26640,7 @@ class OverlayMarkDef(VegaLiteSchema): Default relative band size for a time unit. If set to ``1``, the bandwidth of the marks will be equal to the time unit band step. If set to ``0.5``, bandwidth of the marks will be half of the time unit band step. - tooltip : :class:`ExprRef`, Dict[required=[expr]], :class:`TooltipContent`, Dict[required=[content]], None, bool, float, str + tooltip : str, bool, dict, None, float, :class:`ExprRef`, :class:`TooltipContent` The tooltip text string to show upon mouse hover or an object defining which fields should the tooltip be derived from. @@ -30506,39 +26655,39 @@ class OverlayMarkDef(VegaLiteSchema): documentation for a detailed discussion about tooltip in Vega-Lite. **Default value:** ``null`` - url : :class:`ExprRef`, Dict[required=[expr]], :class:`URI`, str + url : str, dict, :class:`URI`, :class:`ExprRef` The URL of the image file for image marks. - width : :class:`ExprRef`, Dict[required=[expr]], float + width : dict, float, :class:`ExprRef` Width of the marks. - x : :class:`ExprRef`, Dict[required=[expr]], float, str + x : str, dict, float, :class:`ExprRef` X coordinates of the marks, or width of horizontal ``"bar"`` and ``"area"`` without specified ``x2`` or ``width``. The ``value`` of this channel can be a number or a string ``"width"`` for the width of the plot. - x2 : :class:`ExprRef`, Dict[required=[expr]], float, str + x2 : str, dict, float, :class:`ExprRef` X2 coordinates for ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. The ``value`` of this channel can be a number or a string ``"width"`` for the width of the plot. - x2Offset : :class:`ExprRef`, Dict[required=[expr]], float + x2Offset : dict, float, :class:`ExprRef` Offset for x2-position. - xOffset : :class:`ExprRef`, Dict[required=[expr]], float + xOffset : dict, float, :class:`ExprRef` Offset for x-position. - y : :class:`ExprRef`, Dict[required=[expr]], float, str + y : str, dict, float, :class:`ExprRef` Y coordinates of the marks, or height of vertical ``"bar"`` and ``"area"`` without specified ``y2`` or ``height``. The ``value`` of this channel can be a number or a string ``"height"`` for the height of the plot. - y2 : :class:`ExprRef`, Dict[required=[expr]], float, str + y2 : str, dict, float, :class:`ExprRef` Y2 coordinates for ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. The ``value`` of this channel can be a number or a string ``"height"`` for the height of the plot. - y2Offset : :class:`ExprRef`, Dict[required=[expr]], float + y2Offset : dict, float, :class:`ExprRef` Offset for y2-position. - yOffset : :class:`ExprRef`, Dict[required=[expr]], float + yOffset : dict, float, :class:`ExprRef` Offset for y-position. """ @@ -30547,881 +26696,792 @@ class OverlayMarkDef(VegaLiteSchema): def __init__( self, align: Union[ - Union[ - Union["Align", Literal["left", "center", "right"]], - Union["ExprRef", "_Parameter", dict], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["left", "center", "right"], UndefinedType, ] = Undefined, angle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - aria: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + aria: Union[bool, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, ariaRole: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, ariaRoleDescription: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, aspect: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + bool, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, baseline: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "TextBaseline", - Union["Baseline", Literal["top", "middle", "bottom"]], - str, - ], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, blend: Union[ - Union[ - Union[ - "Blend", - Literal[ - None, - "multiply", - "screen", - "overlay", - "darken", - "lighten", - "color-dodge", - "color-burn", - "hard-light", - "soft-light", - "difference", - "exclusion", - "hue", - "saturation", - "color", - "luminosity", - ], - ], - Union["ExprRef", "_Parameter", dict], + dict, + "_Parameter", + "SchemaBase", + Literal[ + None, + "multiply", + "screen", + "overlay", + "darken", + "lighten", + "color-dodge", + "color-burn", + "hard-light", + "soft-light", + "difference", + "exclusion", + "hue", + "saturation", + "color", + "luminosity", ], UndefinedType, ] = Undefined, clip: Union[bool, UndefinedType] = Undefined, color: Union[ - Union[ - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], - Union[ - "Gradient", - Union["LinearGradient", dict], - Union["RadialGradient", dict], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, cornerRadius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusBottomLeft: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusBottomRight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusTopLeft: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusTopRight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cursor: Union[ - Union[ - Union[ - "Cursor", - Literal[ - "auto", - "default", - "none", - "context-menu", - "help", - "pointer", - "progress", - "wait", - "cell", - "crosshair", - "text", - "vertical-text", - "alias", - "copy", - "move", - "no-drop", - "not-allowed", - "e-resize", - "n-resize", - "ne-resize", - "nw-resize", - "s-resize", - "se-resize", - "sw-resize", - "w-resize", - "ew-resize", - "ns-resize", - "nesw-resize", - "nwse-resize", - "col-resize", - "row-resize", - "all-scroll", - "zoom-in", - "zoom-out", - "grab", - "grabbing", - ], - ], - Union["ExprRef", "_Parameter", dict], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "auto", + "default", + "none", + "context-menu", + "help", + "pointer", + "progress", + "wait", + "cell", + "crosshair", + "text", + "vertical-text", + "alias", + "copy", + "move", + "no-drop", + "not-allowed", + "e-resize", + "n-resize", + "ne-resize", + "nw-resize", + "s-resize", + "se-resize", + "sw-resize", + "w-resize", + "ew-resize", + "ns-resize", + "nesw-resize", + "nwse-resize", + "col-resize", + "row-resize", + "all-scroll", + "zoom-in", + "zoom-out", + "grab", + "grabbing", ], UndefinedType, ] = Undefined, description: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, dir: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["TextDirection", Literal["ltr", "rtl"]], - ], - UndefinedType, - ] = Undefined, - dx: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - dy: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, "_Parameter", "SchemaBase", Literal["ltr", "rtl"], UndefinedType ] = Undefined, + dx: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, + dy: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, ellipsis: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, endAngle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, fill: Union[ - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], - Union[ - "Gradient", - Union["LinearGradient", dict], - Union["RadialGradient", dict], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, fillOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, filled: Union[bool, UndefinedType] = Undefined, - font: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType - ] = Undefined, + font: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, fontSize: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, fontStyle: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["FontStyle", str]], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, fontWeight: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "FontWeight", - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, height: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - href: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["URI", str]], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + href: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, innerRadius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "Interpolate", - Literal[ - "basis", - "basis-open", - "basis-closed", - "bundle", - "cardinal", - "cardinal-open", - "cardinal-closed", - "catmull-rom", - "linear", - "linear-closed", - "monotone", - "natural", - "step", - "step-before", - "step-after", - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "basis", + "basis-open", + "basis-closed", + "bundle", + "cardinal", + "cardinal-open", + "cardinal-closed", + "catmull-rom", + "linear", + "linear-closed", + "monotone", + "natural", + "step", + "step-before", + "step-after", ], UndefinedType, ] = Undefined, invalid: Union[Literal["filter", None], UndefinedType] = Undefined, limit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, lineBreak: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, lineHeight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, opacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, - order: Union[Union[None, bool], UndefinedType] = Undefined, + order: Union[bool, None, UndefinedType] = Undefined, orient: Union[ - Union["Orientation", Literal["horizontal", "vertical"]], UndefinedType + "SchemaBase", Literal["horizontal", "vertical"], UndefinedType ] = Undefined, outerRadius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, padAngle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, radius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, radius2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, radius2Offset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, radiusOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - shape: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[Union["SymbolShape", str], str], - ], - UndefinedType, - ] = Undefined, - size: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + shape: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, + size: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, smooth: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + bool, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, startAngle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, stroke: Union[ - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], - Union[ - "Gradient", - Union["LinearGradient", dict], - Union["RadialGradient", dict], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, strokeCap: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["StrokeCap", Literal["butt", "round", "square"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, strokeDash: Union[ - Union[Sequence[float], Union["ExprRef", "_Parameter", dict]], UndefinedType + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, strokeDashOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeJoin: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["StrokeJoin", Literal["miter", "round", "bevel"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["miter", "round", "bevel"], UndefinedType, ] = Undefined, strokeMiterLimit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeWidth: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, - style: Union[Union[Sequence[str], str], UndefinedType] = Undefined, + style: Union[str, Sequence[str], UndefinedType] = Undefined, tension: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, text: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], Union["Text", Sequence[str], str] - ], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", Sequence[str], UndefinedType ] = Undefined, theta: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, theta2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, theta2Offset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, thetaOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, timeUnitBandPosition: Union[float, UndefinedType] = Undefined, timeUnitBandSize: Union[float, UndefinedType] = Undefined, tooltip: Union[ - Union[ - None, - Union["ExprRef", "_Parameter", dict], - Union["TooltipContent", dict], - bool, - float, - str, - ], - UndefinedType, - ] = Undefined, - url: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["URI", str]], - UndefinedType, + str, bool, dict, None, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + url: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, width: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, x: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, x2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, x2Offset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, xOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, y: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, y2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, y2Offset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, yOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, **kwds, ): @@ -31510,10 +27570,7 @@ def __init__( class Padding(VegaLiteSchema): - """Padding schema wrapper - - :class:`Padding`, Dict, float - """ + """Padding schema wrapper""" _schema = {"$ref": "#/definitions/Padding"} @@ -31522,10 +27579,7 @@ def __init__(self, *args, **kwds): class ParameterExtent(BinExtent): - """ParameterExtent schema wrapper - - :class:`ParameterExtent`, Dict[required=[param]] - """ + """ParameterExtent schema wrapper""" _schema = {"$ref": "#/definitions/ParameterExtent"} @@ -31534,10 +27588,7 @@ def __init__(self, *args, **kwds): class ParameterName(VegaLiteSchema): - """ParameterName schema wrapper - - :class:`ParameterName`, str - """ + """ParameterName schema wrapper""" _schema = {"$ref": "#/definitions/ParameterName"} @@ -31546,10 +27597,7 @@ def __init__(self, *args): class Parse(VegaLiteSchema): - """Parse schema wrapper - - :class:`Parse`, Dict - """ + """Parse schema wrapper""" _schema = {"$ref": "#/definitions/Parse"} @@ -31558,10 +27606,7 @@ def __init__(self, **kwds): class ParseValue(VegaLiteSchema): - """ParseValue schema wrapper - - :class:`ParseValue`, None, str - """ + """ParseValue schema wrapper""" _schema = {"$ref": "#/definitions/ParseValue"} @@ -31571,14 +27616,12 @@ def __init__(self, *args, **kwds): class Point(Geometry): """Point schema wrapper - - :class:`Point`, Dict[required=[coordinates, type]] Point geometry object. https://tools.ietf.org/html/rfc7946#section-3.1.2 Parameters ---------- - coordinates : :class:`Position`, Sequence[float] + coordinates : Sequence[float], :class:`Position` A Position is an array of coordinates. https://tools.ietf.org/html/rfc7946#section-3.1.1 Array should contain between two and three elements. The previous GeoJSON specification allowed more elements (e.g., @@ -31595,11 +27638,9 @@ class Point(Geometry): def __init__( self, - coordinates: Union[ - Union["Position", Sequence[float]], UndefinedType - ] = Undefined, + coordinates: Union["SchemaBase", Sequence[float], UndefinedType] = Undefined, type: Union[str, UndefinedType] = Undefined, - bbox: Union[Union["BBox", Sequence[float]], UndefinedType] = Undefined, + bbox: Union["SchemaBase", Sequence[float], UndefinedType] = Undefined, **kwds, ): super(Point, self).__init__( @@ -31610,8 +27651,6 @@ def __init__( class PointSelectionConfig(VegaLiteSchema): """PointSelectionConfig schema wrapper - :class:`PointSelectionConfig`, Dict[required=[type]] - Parameters ---------- @@ -31623,7 +27662,7 @@ class PointSelectionConfig(VegaLiteSchema): * ``"point"`` -- to select multiple discrete data values; the first value is selected on ``click`` and additional values toggled on shift-click. * ``"interval"`` -- to select a continuous range of data values on ``drag``. - clear : :class:`DerivedStream`, Dict[required=[stream]], :class:`EventStream`, Dict[required=[source, type]], Dict[required=[type]], :class:`MergedStream`, Dict[required=[merge]], :class:`Stream`, bool, str + clear : str, bool, dict, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream` Clears the selection, emptying it of all values. This property can be a `Event Stream `__ or ``false`` to disable clear. @@ -31640,7 +27679,7 @@ class PointSelectionConfig(VegaLiteSchema): **See also:** The `projection with encodings and fields section `__ in the documentation. - fields : Sequence[:class:`FieldName`, str] + fields : Sequence[str, :class:`FieldName`] An array of field names whose values must match for a data tuple to fall within the selection. @@ -31656,7 +27695,7 @@ class PointSelectionConfig(VegaLiteSchema): **See also:** `nearest examples `__ documentation. - on : :class:`DerivedStream`, Dict[required=[stream]], :class:`EventStream`, Dict[required=[source, type]], Dict[required=[type]], :class:`MergedStream`, Dict[required=[merge]], :class:`Stream`, str + on : str, dict, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream` A `Vega event stream `__ (object or selector) that triggers the selection. For interval selections, the event stream must specify a `start and end @@ -31684,7 +27723,7 @@ class PointSelectionConfig(VegaLiteSchema): **See also:** `resolve examples `__ in the documentation. - toggle : bool, str + toggle : str, bool Controls whether data values should be toggled (inserted or removed from a point selection) or only ever inserted into point selections. @@ -31715,23 +27754,11 @@ class PointSelectionConfig(VegaLiteSchema): def __init__( self, type: Union[str, UndefinedType] = Undefined, - clear: Union[ - Union[ - Union[ - "Stream", - Union["DerivedStream", dict], - Union["EventStream", dict], - Union["MergedStream", dict], - ], - bool, - str, - ], - UndefinedType, - ] = Undefined, + clear: Union[str, bool, dict, "SchemaBase", UndefinedType] = Undefined, encodings: Union[ Sequence[ Union[ - "SingleDefUnitChannel", + "SchemaBase", Literal[ "x", "y", @@ -31768,25 +27795,13 @@ def __init__( ], UndefinedType, ] = Undefined, - fields: Union[Sequence[Union["FieldName", str]], UndefinedType] = Undefined, + fields: Union[Sequence[Union[str, "SchemaBase"]], UndefinedType] = Undefined, nearest: Union[bool, UndefinedType] = Undefined, - on: Union[ - Union[ - Union[ - "Stream", - Union["DerivedStream", dict], - Union["EventStream", dict], - Union["MergedStream", dict], - ], - str, - ], - UndefinedType, - ] = Undefined, + on: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, resolve: Union[ - Union["SelectionResolution", Literal["global", "union", "intersect"]], - UndefinedType, + "SchemaBase", Literal["global", "union", "intersect"], UndefinedType ] = Undefined, - toggle: Union[Union[bool, str], UndefinedType] = Undefined, + toggle: Union[str, bool, UndefinedType] = Undefined, **kwds, ): super(PointSelectionConfig, self).__init__( @@ -31805,12 +27820,10 @@ def __init__( class PointSelectionConfigWithoutType(VegaLiteSchema): """PointSelectionConfigWithoutType schema wrapper - :class:`PointSelectionConfigWithoutType`, Dict - Parameters ---------- - clear : :class:`DerivedStream`, Dict[required=[stream]], :class:`EventStream`, Dict[required=[source, type]], Dict[required=[type]], :class:`MergedStream`, Dict[required=[merge]], :class:`Stream`, bool, str + clear : str, bool, dict, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream` Clears the selection, emptying it of all values. This property can be a `Event Stream `__ or ``false`` to disable clear. @@ -31827,7 +27840,7 @@ class PointSelectionConfigWithoutType(VegaLiteSchema): **See also:** The `projection with encodings and fields section `__ in the documentation. - fields : Sequence[:class:`FieldName`, str] + fields : Sequence[str, :class:`FieldName`] An array of field names whose values must match for a data tuple to fall within the selection. @@ -31843,7 +27856,7 @@ class PointSelectionConfigWithoutType(VegaLiteSchema): **See also:** `nearest examples `__ documentation. - on : :class:`DerivedStream`, Dict[required=[stream]], :class:`EventStream`, Dict[required=[source, type]], Dict[required=[type]], :class:`MergedStream`, Dict[required=[merge]], :class:`Stream`, str + on : str, dict, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream` A `Vega event stream `__ (object or selector) that triggers the selection. For interval selections, the event stream must specify a `start and end @@ -31871,7 +27884,7 @@ class PointSelectionConfigWithoutType(VegaLiteSchema): **See also:** `resolve examples `__ in the documentation. - toggle : bool, str + toggle : str, bool Controls whether data values should be toggled (inserted or removed from a point selection) or only ever inserted into point selections. @@ -31901,23 +27914,11 @@ class PointSelectionConfigWithoutType(VegaLiteSchema): def __init__( self, - clear: Union[ - Union[ - Union[ - "Stream", - Union["DerivedStream", dict], - Union["EventStream", dict], - Union["MergedStream", dict], - ], - bool, - str, - ], - UndefinedType, - ] = Undefined, + clear: Union[str, bool, dict, "SchemaBase", UndefinedType] = Undefined, encodings: Union[ Sequence[ Union[ - "SingleDefUnitChannel", + "SchemaBase", Literal[ "x", "y", @@ -31954,25 +27955,13 @@ def __init__( ], UndefinedType, ] = Undefined, - fields: Union[Sequence[Union["FieldName", str]], UndefinedType] = Undefined, + fields: Union[Sequence[Union[str, "SchemaBase"]], UndefinedType] = Undefined, nearest: Union[bool, UndefinedType] = Undefined, - on: Union[ - Union[ - Union[ - "Stream", - Union["DerivedStream", dict], - Union["EventStream", dict], - Union["MergedStream", dict], - ], - str, - ], - UndefinedType, - ] = Undefined, + on: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, resolve: Union[ - Union["SelectionResolution", Literal["global", "union", "intersect"]], - UndefinedType, + "SchemaBase", Literal["global", "union", "intersect"], UndefinedType ] = Undefined, - toggle: Union[Union[bool, str], UndefinedType] = Undefined, + toggle: Union[str, bool, UndefinedType] = Undefined, **kwds, ): super(PointSelectionConfigWithoutType, self).__init__( @@ -31988,11 +27977,7 @@ def __init__( class PolarDef(VegaLiteSchema): - """PolarDef schema wrapper - - :class:`PolarDef`, :class:`PositionDatumDefBase`, Dict, :class:`PositionFieldDefBase`, - Dict[required=[shorthand]], :class:`PositionValueDef`, Dict[required=[value]] - """ + """PolarDef schema wrapper""" _schema = {"$ref": "#/definitions/PolarDef"} @@ -32002,14 +27987,12 @@ def __init__(self, *args, **kwds): class Polygon(Geometry): """Polygon schema wrapper - - :class:`Polygon`, Dict[required=[coordinates, type]] Polygon geometry object. https://tools.ietf.org/html/rfc7946#section-3.1.6 Parameters ---------- - coordinates : Sequence[Sequence[:class:`Position`, Sequence[float]]] + coordinates : Sequence[Sequence[Sequence[float], :class:`Position`]] type : str Specifies the type of GeoJSON object. @@ -32023,10 +28006,10 @@ class Polygon(Geometry): def __init__( self, coordinates: Union[ - Sequence[Sequence[Union["Position", Sequence[float]]]], UndefinedType + Sequence[Sequence[Union["SchemaBase", Sequence[float]]]], UndefinedType ] = Undefined, type: Union[str, UndefinedType] = Undefined, - bbox: Union[Union["BBox", Sequence[float]], UndefinedType] = Undefined, + bbox: Union["SchemaBase", Sequence[float], UndefinedType] = Undefined, **kwds, ): super(Polygon, self).__init__( @@ -32036,8 +28019,6 @@ def __init__( class Position(VegaLiteSchema): """Position schema wrapper - - :class:`Position`, Sequence[float] A Position is an array of coordinates. https://tools.ietf.org/html/rfc7946#section-3.1.1 Array should contain between two and three elements. The previous GeoJSON specification allowed more elements (e.g., which could be used to represent M values), but the current @@ -32051,11 +28032,7 @@ def __init__(self, *args): class Position2Def(VegaLiteSchema): - """Position2Def schema wrapper - - :class:`DatumDef`, Dict, :class:`Position2Def`, :class:`PositionValueDef`, - Dict[required=[value]], :class:`SecondaryFieldDef`, Dict[required=[shorthand]] - """ + """Position2Def schema wrapper""" _schema = {"$ref": "#/definitions/Position2Def"} @@ -32066,8 +28043,6 @@ def __init__(self, *args, **kwds): class DatumDef(LatLongDef, Position2Def): """DatumDef schema wrapper - :class:`DatumDef`, Dict - Parameters ---------- @@ -32075,9 +28050,9 @@ class DatumDef(LatLongDef, Position2Def): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -32174,22 +28149,12 @@ def __init__( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union["DateTime", dict], - Union["ExprRef", "_Parameter", dict], - Union["PrimitiveValue", None, bool, float, str], - Union["RepeatRef", dict], - ], - UndefinedType, - ] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType + str, bool, dict, None, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, type: Union[ - Union[ - "Type", - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - ], + "SchemaBase", + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -32202,8 +28167,6 @@ def __init__( class PositionDatumDefBase(PolarDef): """PositionDatumDefBase schema wrapper - :class:`PositionDatumDefBase`, Dict - Parameters ---------- @@ -32211,9 +28174,9 @@ class PositionDatumDefBase(PolarDef): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -32226,7 +28189,7 @@ class PositionDatumDefBase(PolarDef): **See also:** `scale `__ documentation. - stack : :class:`StackOffset`, Literal['zero', 'center', 'normalize'], None, bool + stack : bool, None, :class:`StackOffset`, Literal['zero', 'center', 'normalize'] Type of stacking offset if the field should be stacked. ``stack`` is only applicable for ``x``, ``y``, ``theta``, and ``radius`` channels with continuous domains. For example, ``stack`` of ``y`` can be used to customize stacking for a vertical bar @@ -32257,7 +28220,7 @@ class PositionDatumDefBase(PolarDef): **See also:** `stack `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -32354,29 +28317,20 @@ def __init__( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union["DateTime", dict], - Union["ExprRef", "_Parameter", dict], - Union["PrimitiveValue", None, bool, float, str], - Union["RepeatRef", dict], - ], - UndefinedType, + str, bool, dict, None, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, - scale: Union[Union[None, Union["Scale", dict]], UndefinedType] = Undefined, + scale: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, stack: Union[ - Union[ - None, Union["StackOffset", Literal["zero", "center", "normalize"]], bool - ], + bool, + None, + "SchemaBase", + Literal["zero", "center", "normalize"], UndefinedType, ] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType - ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, type: Union[ - Union[ - "Type", - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - ], + "SchemaBase", + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -32393,11 +28347,7 @@ def __init__( class PositionDef(VegaLiteSchema): - """PositionDef schema wrapper - - :class:`PositionDatumDef`, Dict, :class:`PositionDef`, :class:`PositionFieldDef`, - Dict[required=[shorthand]], :class:`PositionValueDef`, Dict[required=[value]] - """ + """PositionDef schema wrapper""" _schema = {"$ref": "#/definitions/PositionDef"} @@ -32408,12 +28358,10 @@ def __init__(self, *args, **kwds): class PositionDatumDef(PositionDef): """PositionDatumDef schema wrapper - :class:`PositionDatumDef`, Dict - Parameters ---------- - axis : :class:`Axis`, Dict, None + axis : dict, None, :class:`Axis` An object defining properties of axis's gridlines, ticks and labels. If ``null``, the axis for the encoding channel will be removed. @@ -32426,9 +28374,9 @@ class PositionDatumDef(PositionDef): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - impute : :class:`ImputeParams`, Dict, None + impute : dict, None, :class:`ImputeParams` An object defining the properties of the Impute Operation to be applied. The field value of the other positional channel is taken as ``key`` of the ``Impute`` Operation. The field of the ``color`` channel if specified is used as ``groupby`` of @@ -32436,7 +28384,7 @@ class PositionDatumDef(PositionDef): **See also:** `impute `__ documentation. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -32449,7 +28397,7 @@ class PositionDatumDef(PositionDef): **See also:** `scale `__ documentation. - stack : :class:`StackOffset`, Literal['zero', 'center', 'normalize'], None, bool + stack : bool, None, :class:`StackOffset`, Literal['zero', 'center', 'normalize'] Type of stacking offset if the field should be stacked. ``stack`` is only applicable for ``x``, ``y``, ``theta``, and ``radius`` channels with continuous domains. For example, ``stack`` of ``y`` can be used to customize stacking for a vertical bar @@ -32480,7 +28428,7 @@ class PositionDatumDef(PositionDef): **See also:** `stack `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -32575,35 +28523,24 @@ class PositionDatumDef(PositionDef): def __init__( self, - axis: Union[Union[None, Union["Axis", dict]], UndefinedType] = Undefined, + axis: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union["DateTime", dict], - Union["ExprRef", "_Parameter", dict], - Union["PrimitiveValue", None, bool, float, str], - Union["RepeatRef", dict], - ], - UndefinedType, + str, bool, dict, None, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, - impute: Union[ - Union[None, Union["ImputeParams", dict]], UndefinedType - ] = Undefined, - scale: Union[Union[None, Union["Scale", dict]], UndefinedType] = Undefined, + impute: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, + scale: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, stack: Union[ - Union[ - None, Union["StackOffset", Literal["zero", "center", "normalize"]], bool - ], + bool, + None, + "SchemaBase", + Literal["zero", "center", "normalize"], UndefinedType, ] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType - ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, type: Union[ - Union[ - "Type", - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - ], + "SchemaBase", + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -32624,14 +28561,12 @@ def __init__( class PositionFieldDef(PositionDef): """PositionFieldDef schema wrapper - :class:`PositionFieldDef`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -32639,7 +28574,7 @@ class PositionFieldDef(PositionDef): **See also:** `aggregate `__ documentation. - axis : :class:`Axis`, Dict, None + axis : dict, None, :class:`Axis` An object defining properties of axis's gridlines, ticks and labels. If ``null``, the axis for the encoding channel will be removed. @@ -32652,7 +28587,7 @@ class PositionFieldDef(PositionDef): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool, str + bin : str, bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -32673,7 +28608,7 @@ class PositionFieldDef(PositionDef): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -32688,7 +28623,7 @@ class PositionFieldDef(PositionDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - impute : :class:`ImputeParams`, Dict, None + impute : dict, None, :class:`ImputeParams` An object defining the properties of the Impute Operation to be applied. The field value of the other positional channel is taken as ``key`` of the ``Impute`` Operation. The field of the ``color`` channel if specified is used as ``groupby`` of @@ -32696,7 +28631,7 @@ class PositionFieldDef(PositionDef): **See also:** `impute `__ documentation. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -32709,7 +28644,7 @@ class PositionFieldDef(PositionDef): **See also:** `scale `__ documentation. - sort : :class:`AllSortString`, :class:`SortByChannelDesc`, Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'], :class:`SortByChannel`, Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], :class:`SortOrder`, Literal['ascending', 'descending'], :class:`EncodingSortField`, Dict, :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str], :class:`SortByEncoding`, Dict[required=[encoding]], :class:`Sort`, None + sort : dict, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'], Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -32748,7 +28683,7 @@ class PositionFieldDef(PositionDef): **See also:** `sort `__ documentation. - stack : :class:`StackOffset`, Literal['zero', 'center', 'normalize'], None, bool + stack : bool, None, :class:`StackOffset`, Literal['zero', 'center', 'normalize'] Type of stacking offset if the field should be stacked. ``stack`` is only applicable for ``x``, ``y``, ``theta``, and ``radius`` channels with continuous domains. For example, ``stack`` of ``y`` can be used to customize stacking for a vertical bar @@ -32779,7 +28714,7 @@ class PositionFieldDef(PositionDef): **See also:** `stack `__ documentation. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -32788,7 +28723,7 @@ class PositionFieldDef(PositionDef): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -32884,273 +28819,217 @@ class PositionFieldDef(PositionDef): def __init__( self, shorthand: Union[ - Union[Sequence[str], Union["RepeatRef", dict], str], UndefinedType + str, dict, "SchemaBase", Sequence[str], UndefinedType ] = Undefined, aggregate: Union[ - Union[ - "Aggregate", - Union["ArgmaxDef", dict], - Union["ArgminDef", dict], - Union[ - "NonArgAggregateOp", - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - ], - ], - UndefinedType, - ] = Undefined, - axis: Union[Union[None, Union["Axis", dict]], UndefinedType] = Undefined, + dict, + "SchemaBase", + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", + ], + UndefinedType, + ] = Undefined, + axis: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union["BinParams", dict], bool, str], UndefinedType - ] = Undefined, - field: Union[ - Union["Field", Union["FieldName", str], Union["RepeatRef", dict]], - UndefinedType, - ] = Undefined, - impute: Union[ - Union[None, Union["ImputeParams", dict]], UndefinedType - ] = Undefined, - scale: Union[Union[None, Union["Scale", dict]], UndefinedType] = Undefined, + bin: Union[str, bool, dict, None, "SchemaBase", UndefinedType] = Undefined, + field: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, + impute: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, + scale: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, sort: Union[ - Union[ - "Sort", - None, - Union[ - "AllSortString", - Union[ - "SortByChannel", - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - ], - Union[ - "SortByChannelDesc", - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - ], - Union["SortOrder", Literal["ascending", "descending"]], - ], - Union["EncodingSortField", dict], - Union[ - "SortArray", - Sequence[Union["DateTime", dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - ], - Union["SortByEncoding", dict], + dict, + None, + "SchemaBase", + Sequence[str], + Sequence[bool], + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, "SchemaBase"]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, stack: Union[ - Union[ - None, Union["StackOffset", Literal["zero", "center", "normalize"]], bool - ], + bool, + None, + "SchemaBase", + Literal["zero", "center", "normalize"], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - "BinnedTimeUnit", - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - ], - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], - ], - Union["TimeUnitParams", dict], - ], - UndefinedType, - ] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType - ] = Undefined, + dict, + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", + ], + UndefinedType, + ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, type: Union[ - Union[ - "StandardType", - Literal["quantitative", "ordinal", "temporal", "nominal"], - ], + "SchemaBase", + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -33176,14 +29055,12 @@ def __init__( class PositionFieldDefBase(PolarDef): """PositionFieldDefBase schema wrapper - :class:`PositionFieldDefBase`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -33195,7 +29072,7 @@ class PositionFieldDefBase(PolarDef): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool, str + bin : str, bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -33216,7 +29093,7 @@ class PositionFieldDefBase(PolarDef): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -33231,7 +29108,7 @@ class PositionFieldDefBase(PolarDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -33244,7 +29121,7 @@ class PositionFieldDefBase(PolarDef): **See also:** `scale `__ documentation. - sort : :class:`AllSortString`, :class:`SortByChannelDesc`, Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'], :class:`SortByChannel`, Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], :class:`SortOrder`, Literal['ascending', 'descending'], :class:`EncodingSortField`, Dict, :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str], :class:`SortByEncoding`, Dict[required=[encoding]], :class:`Sort`, None + sort : dict, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'], Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -33283,7 +29160,7 @@ class PositionFieldDefBase(PolarDef): **See also:** `sort `__ documentation. - stack : :class:`StackOffset`, Literal['zero', 'center', 'normalize'], None, bool + stack : bool, None, :class:`StackOffset`, Literal['zero', 'center', 'normalize'] Type of stacking offset if the field should be stacked. ``stack`` is only applicable for ``x``, ``y``, ``theta``, and ``radius`` channels with continuous domains. For example, ``stack`` of ``y`` can be used to customize stacking for a vertical bar @@ -33314,7 +29191,7 @@ class PositionFieldDefBase(PolarDef): **See also:** `stack `__ documentation. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -33323,7 +29200,7 @@ class PositionFieldDefBase(PolarDef): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -33419,269 +29296,215 @@ class PositionFieldDefBase(PolarDef): def __init__( self, shorthand: Union[ - Union[Sequence[str], Union["RepeatRef", dict], str], UndefinedType + str, dict, "SchemaBase", Sequence[str], UndefinedType ] = Undefined, aggregate: Union[ - Union[ - "Aggregate", - Union["ArgmaxDef", dict], - Union["ArgminDef", dict], - Union[ - "NonArgAggregateOp", - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - ], + dict, + "SchemaBase", + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union["BinParams", dict], bool, str], UndefinedType - ] = Undefined, - field: Union[ - Union["Field", Union["FieldName", str], Union["RepeatRef", dict]], - UndefinedType, - ] = Undefined, - scale: Union[Union[None, Union["Scale", dict]], UndefinedType] = Undefined, + bin: Union[str, bool, dict, None, "SchemaBase", UndefinedType] = Undefined, + field: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, + scale: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, sort: Union[ - Union[ - "Sort", - None, - Union[ - "AllSortString", - Union[ - "SortByChannel", - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - ], - Union[ - "SortByChannelDesc", - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - ], - Union["SortOrder", Literal["ascending", "descending"]], - ], - Union["EncodingSortField", dict], - Union[ - "SortArray", - Sequence[Union["DateTime", dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - ], - Union["SortByEncoding", dict], + dict, + None, + "SchemaBase", + Sequence[str], + Sequence[bool], + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, "SchemaBase"]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, stack: Union[ - Union[ - None, Union["StackOffset", Literal["zero", "center", "normalize"]], bool - ], + bool, + None, + "SchemaBase", + Literal["zero", "center", "normalize"], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - "BinnedTimeUnit", - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - ], - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], - ], - Union["TimeUnitParams", dict], - ], - UndefinedType, - ] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType - ] = Undefined, + dict, + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", + ], + UndefinedType, + ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, type: Union[ - Union[ - "StandardType", - Literal["quantitative", "ordinal", "temporal", "nominal"], - ], + "SchemaBase", + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -33704,15 +29527,13 @@ def __init__( class PositionValueDef(PolarDef, Position2Def, PositionDef): """PositionValueDef schema wrapper - - :class:`PositionValueDef`, Dict[required=[value]] Definition object for a constant value (primitive value or gradient definition) of an encoding channel. Parameters ---------- - value : :class:`ExprRef`, Dict[required=[expr]], float, str + value : str, dict, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -33723,7 +29544,7 @@ class PositionValueDef(PolarDef, Position2Def, PositionDef): def __init__( self, value: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, **kwds, ): @@ -33731,18 +29552,7 @@ def __init__( class PredicateComposition(VegaLiteSchema): - """PredicateComposition schema wrapper - - :class:`FieldEqualPredicate`, Dict[required=[equal, field]], :class:`FieldGTEPredicate`, - Dict[required=[field, gte]], :class:`FieldGTPredicate`, Dict[required=[field, gt]], - :class:`FieldLTEPredicate`, Dict[required=[field, lte]], :class:`FieldLTPredicate`, - Dict[required=[field, lt]], :class:`FieldOneOfPredicate`, Dict[required=[field, oneOf]], - :class:`FieldRangePredicate`, Dict[required=[field, range]], :class:`FieldValidPredicate`, - Dict[required=[field, valid]], :class:`ParameterPredicate`, Dict[required=[param]], - :class:`Predicate`, str, :class:`LogicalAndPredicate`, Dict[required=[and]], - :class:`LogicalNotPredicate`, Dict[required=[not]], :class:`LogicalOrPredicate`, - Dict[required=[or]], :class:`PredicateComposition` - """ + """PredicateComposition schema wrapper""" _schema = {"$ref": "#/definitions/PredicateComposition"} @@ -33753,12 +29563,10 @@ def __init__(self, *args, **kwds): class LogicalAndPredicate(PredicateComposition): """LogicalAndPredicate schema wrapper - :class:`LogicalAndPredicate`, Dict[required=[and]] - Parameters ---------- - and : Sequence[:class:`FieldEqualPredicate`, Dict[required=[equal, field]], :class:`FieldGTEPredicate`, Dict[required=[field, gte]], :class:`FieldGTPredicate`, Dict[required=[field, gt]], :class:`FieldLTEPredicate`, Dict[required=[field, lte]], :class:`FieldLTPredicate`, Dict[required=[field, lt]], :class:`FieldOneOfPredicate`, Dict[required=[field, oneOf]], :class:`FieldRangePredicate`, Dict[required=[field, range]], :class:`FieldValidPredicate`, Dict[required=[field, valid]], :class:`ParameterPredicate`, Dict[required=[param]], :class:`Predicate`, str, :class:`LogicalAndPredicate`, Dict[required=[and]], :class:`LogicalNotPredicate`, Dict[required=[not]], :class:`LogicalOrPredicate`, Dict[required=[or]], :class:`PredicateComposition`] + and : Sequence[str, dict, :class:`Predicate`, :class:`FieldGTPredicate`, :class:`FieldLTPredicate`, :class:`FieldGTEPredicate`, :class:`FieldLTEPredicate`, :class:`LogicalOrPredicate`, :class:`ParameterPredicate`, :class:`FieldEqualPredicate`, :class:`FieldOneOfPredicate`, :class:`FieldRangePredicate`, :class:`FieldValidPredicate`, :class:`LogicalAndPredicate`, :class:`LogicalNotPredicate`, :class:`PredicateComposition`] """ @@ -33771,12 +29579,10 @@ def __init__(self, **kwds): class LogicalNotPredicate(PredicateComposition): """LogicalNotPredicate schema wrapper - :class:`LogicalNotPredicate`, Dict[required=[not]] - Parameters ---------- - not : :class:`FieldEqualPredicate`, Dict[required=[equal, field]], :class:`FieldGTEPredicate`, Dict[required=[field, gte]], :class:`FieldGTPredicate`, Dict[required=[field, gt]], :class:`FieldLTEPredicate`, Dict[required=[field, lte]], :class:`FieldLTPredicate`, Dict[required=[field, lt]], :class:`FieldOneOfPredicate`, Dict[required=[field, oneOf]], :class:`FieldRangePredicate`, Dict[required=[field, range]], :class:`FieldValidPredicate`, Dict[required=[field, valid]], :class:`ParameterPredicate`, Dict[required=[param]], :class:`Predicate`, str, :class:`LogicalAndPredicate`, Dict[required=[and]], :class:`LogicalNotPredicate`, Dict[required=[not]], :class:`LogicalOrPredicate`, Dict[required=[or]], :class:`PredicateComposition` + not : str, dict, :class:`Predicate`, :class:`FieldGTPredicate`, :class:`FieldLTPredicate`, :class:`FieldGTEPredicate`, :class:`FieldLTEPredicate`, :class:`LogicalOrPredicate`, :class:`ParameterPredicate`, :class:`FieldEqualPredicate`, :class:`FieldOneOfPredicate`, :class:`FieldRangePredicate`, :class:`FieldValidPredicate`, :class:`LogicalAndPredicate`, :class:`LogicalNotPredicate`, :class:`PredicateComposition` """ @@ -33789,12 +29595,10 @@ def __init__(self, **kwds): class LogicalOrPredicate(PredicateComposition): """LogicalOrPredicate schema wrapper - :class:`LogicalOrPredicate`, Dict[required=[or]] - Parameters ---------- - or : Sequence[:class:`FieldEqualPredicate`, Dict[required=[equal, field]], :class:`FieldGTEPredicate`, Dict[required=[field, gte]], :class:`FieldGTPredicate`, Dict[required=[field, gt]], :class:`FieldLTEPredicate`, Dict[required=[field, lte]], :class:`FieldLTPredicate`, Dict[required=[field, lt]], :class:`FieldOneOfPredicate`, Dict[required=[field, oneOf]], :class:`FieldRangePredicate`, Dict[required=[field, range]], :class:`FieldValidPredicate`, Dict[required=[field, valid]], :class:`ParameterPredicate`, Dict[required=[param]], :class:`Predicate`, str, :class:`LogicalAndPredicate`, Dict[required=[and]], :class:`LogicalNotPredicate`, Dict[required=[not]], :class:`LogicalOrPredicate`, Dict[required=[or]], :class:`PredicateComposition`] + or : Sequence[str, dict, :class:`Predicate`, :class:`FieldGTPredicate`, :class:`FieldLTPredicate`, :class:`FieldGTEPredicate`, :class:`FieldLTEPredicate`, :class:`LogicalOrPredicate`, :class:`ParameterPredicate`, :class:`FieldEqualPredicate`, :class:`FieldOneOfPredicate`, :class:`FieldRangePredicate`, :class:`FieldValidPredicate`, :class:`LogicalAndPredicate`, :class:`LogicalNotPredicate`, :class:`PredicateComposition`] """ @@ -33805,16 +29609,7 @@ def __init__(self, **kwds): class Predicate(PredicateComposition): - """Predicate schema wrapper - - :class:`FieldEqualPredicate`, Dict[required=[equal, field]], :class:`FieldGTEPredicate`, - Dict[required=[field, gte]], :class:`FieldGTPredicate`, Dict[required=[field, gt]], - :class:`FieldLTEPredicate`, Dict[required=[field, lte]], :class:`FieldLTPredicate`, - Dict[required=[field, lt]], :class:`FieldOneOfPredicate`, Dict[required=[field, oneOf]], - :class:`FieldRangePredicate`, Dict[required=[field, range]], :class:`FieldValidPredicate`, - Dict[required=[field, valid]], :class:`ParameterPredicate`, Dict[required=[param]], - :class:`Predicate`, str - """ + """Predicate schema wrapper""" _schema = {"$ref": "#/definitions/Predicate"} @@ -33825,16 +29620,14 @@ def __init__(self, *args, **kwds): class FieldEqualPredicate(Predicate): """FieldEqualPredicate schema wrapper - :class:`FieldEqualPredicate`, Dict[required=[equal, field]] - Parameters ---------- - equal : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], bool, float, str + equal : str, bool, dict, float, :class:`ExprRef`, :class:`DateTime` The value that the field should be equal to. - field : :class:`FieldName`, str + field : str, :class:`FieldName` Field to be tested. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit for the field to be tested. """ @@ -33843,163 +29636,131 @@ class FieldEqualPredicate(Predicate): def __init__( self, equal: Union[ - Union[ - Union["DateTime", dict], - Union["ExprRef", "_Parameter", dict], - bool, - float, - str, - ], - UndefinedType, + str, bool, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, - field: Union[Union["FieldName", str], UndefinedType] = Undefined, + field: Union[str, "SchemaBase", UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - "BinnedTimeUnit", - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - ], - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], - ], - Union["TimeUnitParams", dict], + dict, + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -34013,16 +29774,14 @@ def __init__( class FieldGTEPredicate(Predicate): """FieldGTEPredicate schema wrapper - :class:`FieldGTEPredicate`, Dict[required=[field, gte]] - Parameters ---------- - field : :class:`FieldName`, str + field : str, :class:`FieldName` Field to be tested. - gte : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], float, str + gte : str, dict, float, :class:`ExprRef`, :class:`DateTime` The value that the field should be greater than or equals to. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit for the field to be tested. """ @@ -34030,163 +29789,132 @@ class FieldGTEPredicate(Predicate): def __init__( self, - field: Union[Union["FieldName", str], UndefinedType] = Undefined, + field: Union[str, "SchemaBase", UndefinedType] = Undefined, gte: Union[ - Union[ - Union["DateTime", dict], - Union["ExprRef", "_Parameter", dict], - float, - str, - ], - UndefinedType, + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, timeUnit: Union[ - Union[ - Union[ - "BinnedTimeUnit", - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - ], - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], - ], - Union["TimeUnitParams", dict], + dict, + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -34200,16 +29928,14 @@ def __init__( class FieldGTPredicate(Predicate): """FieldGTPredicate schema wrapper - :class:`FieldGTPredicate`, Dict[required=[field, gt]] - Parameters ---------- - field : :class:`FieldName`, str + field : str, :class:`FieldName` Field to be tested. - gt : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], float, str + gt : str, dict, float, :class:`ExprRef`, :class:`DateTime` The value that the field should be greater than. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit for the field to be tested. """ @@ -34217,163 +29943,132 @@ class FieldGTPredicate(Predicate): def __init__( self, - field: Union[Union["FieldName", str], UndefinedType] = Undefined, + field: Union[str, "SchemaBase", UndefinedType] = Undefined, gt: Union[ - Union[ - Union["DateTime", dict], - Union["ExprRef", "_Parameter", dict], - float, - str, - ], - UndefinedType, + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, timeUnit: Union[ - Union[ - Union[ - "BinnedTimeUnit", - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - ], - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], - ], - Union["TimeUnitParams", dict], + dict, + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -34387,16 +30082,14 @@ def __init__( class FieldLTEPredicate(Predicate): """FieldLTEPredicate schema wrapper - :class:`FieldLTEPredicate`, Dict[required=[field, lte]] - Parameters ---------- - field : :class:`FieldName`, str + field : str, :class:`FieldName` Field to be tested. - lte : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], float, str + lte : str, dict, float, :class:`ExprRef`, :class:`DateTime` The value that the field should be less than or equals to. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit for the field to be tested. """ @@ -34404,163 +30097,132 @@ class FieldLTEPredicate(Predicate): def __init__( self, - field: Union[Union["FieldName", str], UndefinedType] = Undefined, + field: Union[str, "SchemaBase", UndefinedType] = Undefined, lte: Union[ - Union[ - Union["DateTime", dict], - Union["ExprRef", "_Parameter", dict], - float, - str, - ], - UndefinedType, + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, timeUnit: Union[ - Union[ - Union[ - "BinnedTimeUnit", - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - ], - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], - ], - Union["TimeUnitParams", dict], + dict, + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -34574,16 +30236,14 @@ def __init__( class FieldLTPredicate(Predicate): """FieldLTPredicate schema wrapper - :class:`FieldLTPredicate`, Dict[required=[field, lt]] - Parameters ---------- - field : :class:`FieldName`, str + field : str, :class:`FieldName` Field to be tested. - lt : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], float, str + lt : str, dict, float, :class:`ExprRef`, :class:`DateTime` The value that the field should be less than. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit for the field to be tested. """ @@ -34591,163 +30251,132 @@ class FieldLTPredicate(Predicate): def __init__( self, - field: Union[Union["FieldName", str], UndefinedType] = Undefined, + field: Union[str, "SchemaBase", UndefinedType] = Undefined, lt: Union[ - Union[ - Union["DateTime", dict], - Union["ExprRef", "_Parameter", dict], - float, - str, - ], - UndefinedType, + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, timeUnit: Union[ - Union[ - Union[ - "BinnedTimeUnit", - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - ], - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], - ], - Union["TimeUnitParams", dict], + dict, + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -34761,17 +30390,15 @@ def __init__( class FieldOneOfPredicate(Predicate): """FieldOneOfPredicate schema wrapper - :class:`FieldOneOfPredicate`, Dict[required=[field, oneOf]] - Parameters ---------- - field : :class:`FieldName`, str + field : str, :class:`FieldName` Field to be tested. - oneOf : Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str] + oneOf : Sequence[str], Sequence[bool], Sequence[float], Sequence[dict, :class:`DateTime`] A set of values that the ``field`` 's value should be a member of, for a data item included in the filtered data. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit for the field to be tested. """ @@ -34779,163 +30406,136 @@ class FieldOneOfPredicate(Predicate): def __init__( self, - field: Union[Union["FieldName", str], UndefinedType] = Undefined, + field: Union[str, "SchemaBase", UndefinedType] = Undefined, oneOf: Union[ - Union[ - Sequence[Union["DateTime", dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - ], + Sequence[str], + Sequence[bool], + Sequence[float], + Sequence[Union[dict, "SchemaBase"]], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - "BinnedTimeUnit", - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - ], - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], - ], - Union["TimeUnitParams", dict], + dict, + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -34949,17 +30549,15 @@ def __init__( class FieldRangePredicate(Predicate): """FieldRangePredicate schema wrapper - :class:`FieldRangePredicate`, Dict[required=[field, range]] - Parameters ---------- - field : :class:`FieldName`, str + field : str, :class:`FieldName` Field to be tested. - range : :class:`ExprRef`, Dict[required=[expr]], Sequence[:class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], None, float] + range : dict, :class:`ExprRef`, Sequence[dict, None, float, :class:`ExprRef`, :class:`DateTime`] An array of inclusive minimum and maximum values for a field value of a data item to be included in the filtered data. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit for the field to be tested. """ @@ -34967,168 +30565,136 @@ class FieldRangePredicate(Predicate): def __init__( self, - field: Union[Union["FieldName", str], UndefinedType] = Undefined, + field: Union[str, "SchemaBase", UndefinedType] = Undefined, range: Union[ - Union[ - Sequence[ - Union[ - None, - Union["DateTime", dict], - Union["ExprRef", "_Parameter", dict], - float, - ] - ], - Union["ExprRef", "_Parameter", dict], - ], + dict, + "_Parameter", + "SchemaBase", + Sequence[Union[dict, None, float, "_Parameter", "SchemaBase"]], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - "BinnedTimeUnit", - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - ], - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], - ], - Union["TimeUnitParams", dict], + dict, + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -35142,18 +30708,16 @@ def __init__( class FieldValidPredicate(Predicate): """FieldValidPredicate schema wrapper - :class:`FieldValidPredicate`, Dict[required=[field, valid]] - Parameters ---------- - field : :class:`FieldName`, str + field : str, :class:`FieldName` Field to be tested. valid : bool If set to true the field's value has to be valid, meaning both not ``null`` and not `NaN `__. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit for the field to be tested. """ @@ -35161,155 +30725,130 @@ class FieldValidPredicate(Predicate): def __init__( self, - field: Union[Union["FieldName", str], UndefinedType] = Undefined, + field: Union[str, "SchemaBase", UndefinedType] = Undefined, valid: Union[bool, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - "BinnedTimeUnit", - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - ], - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], - ], - Union["TimeUnitParams", dict], + dict, + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -35323,12 +30862,10 @@ def __init__( class ParameterPredicate(Predicate): """ParameterPredicate schema wrapper - :class:`ParameterPredicate`, Dict[required=[param]] - Parameters ---------- - param : :class:`ParameterName`, str + param : str, :class:`ParameterName` Filter using a parameter name. empty : bool For selection parameters, the predicate of empty selections returns true by default. @@ -35339,7 +30876,7 @@ class ParameterPredicate(Predicate): def __init__( self, - param: Union[Union["ParameterName", str], UndefinedType] = Undefined, + param: Union[str, "SchemaBase", UndefinedType] = Undefined, empty: Union[bool, UndefinedType] = Undefined, **kwds, ): @@ -35349,105 +30886,103 @@ def __init__( class Projection(VegaLiteSchema): """Projection schema wrapper - :class:`Projection`, Dict - Parameters ---------- - center : :class:`ExprRef`, Dict[required=[expr]], :class:`Vector2number`, Sequence[float] + center : dict, Sequence[float], :class:`ExprRef`, :class:`Vector2number` The projection's center, a two-element array of longitude and latitude in degrees. **Default value:** ``[0, 0]`` - clipAngle : :class:`ExprRef`, Dict[required=[expr]], float + clipAngle : dict, float, :class:`ExprRef` The projection's clipping circle radius to the specified angle in degrees. If ``null``, switches to `antimeridian `__ cutting rather than small-circle clipping. - clipExtent : :class:`ExprRef`, Dict[required=[expr]], :class:`Vector2Vector2number`, Sequence[:class:`Vector2number`, Sequence[float]] + clipExtent : dict, :class:`ExprRef`, :class:`Vector2Vector2number`, Sequence[Sequence[float], :class:`Vector2number`] The projection's viewport clip extent to the specified bounds in pixels. The extent bounds are specified as an array ``[[x0, y0], [x1, y1]]``, where ``x0`` is the left-side of the viewport, ``y0`` is the top, ``x1`` is the right and ``y1`` is the bottom. If ``null``, no viewport clipping is performed. - coefficient : :class:`ExprRef`, Dict[required=[expr]], float + coefficient : dict, float, :class:`ExprRef` The coefficient parameter for the ``hammer`` projection. **Default value:** ``2`` - distance : :class:`ExprRef`, Dict[required=[expr]], float + distance : dict, float, :class:`ExprRef` For the ``satellite`` projection, the distance from the center of the sphere to the point of view, as a proportion of the sphere’s radius. The recommended maximum clip angle for a given ``distance`` is acos(1 / distance) converted to degrees. If tilt is also applied, then more conservative clipping may be necessary. **Default value:** ``2.0`` - extent : :class:`ExprRef`, Dict[required=[expr]], :class:`Vector2Vector2number`, Sequence[:class:`Vector2number`, Sequence[float]] + extent : dict, :class:`ExprRef`, :class:`Vector2Vector2number`, Sequence[Sequence[float], :class:`Vector2number`] - fit : :class:`ExprRef`, Dict[required=[expr]], :class:`Fit`, :class:`GeoJsonFeatureCollection`, Dict[required=[features, type]], :class:`GeoJsonFeature`, Dict[required=[geometry, properties, type]], Sequence[:class:`GeoJsonFeature`, Dict[required=[geometry, properties, type]]], Sequence[:class:`Fit`, :class:`GeoJsonFeatureCollection`, Dict[required=[features, type]], :class:`GeoJsonFeature`, Dict[required=[geometry, properties, type]], Sequence[:class:`GeoJsonFeature`, Dict[required=[geometry, properties, type]]]] + fit : dict, :class:`Fit`, :class:`ExprRef`, :class:`GeoJsonFeature`, :class:`GeoJsonFeatureCollection`, Sequence[dict, :class:`GeoJsonFeature`], Sequence[dict, :class:`Fit`, :class:`GeoJsonFeature`, :class:`GeoJsonFeatureCollection`, Sequence[dict, :class:`GeoJsonFeature`]] - fraction : :class:`ExprRef`, Dict[required=[expr]], float + fraction : dict, float, :class:`ExprRef` The fraction parameter for the ``bottomley`` projection. **Default value:** ``0.5``, corresponding to a sin(ψ) where ψ = π/6. - lobes : :class:`ExprRef`, Dict[required=[expr]], float + lobes : dict, float, :class:`ExprRef` The number of lobes in projections that support multi-lobe views: ``berghaus``, ``gingery``, or ``healpix``. The default value varies based on the projection type. - parallel : :class:`ExprRef`, Dict[required=[expr]], float + parallel : dict, float, :class:`ExprRef` The parallel parameter for projections that support it: ``armadillo``, ``bonne``, ``craig``, ``cylindricalEqualArea``, ``cylindricalStereographic``, ``hammerRetroazimuthal``, ``loximuthal``, or ``rectangularPolyconic``. The default value varies based on the projection type. - parallels : :class:`ExprRef`, Dict[required=[expr]], Sequence[float] + parallels : dict, Sequence[float], :class:`ExprRef` For conic projections, the `two standard parallels `__ that define the map layout. The default depends on the specific conic projection used. - pointRadius : :class:`ExprRef`, Dict[required=[expr]], float + pointRadius : dict, float, :class:`ExprRef` The default radius (in pixels) to use when drawing GeoJSON ``Point`` and ``MultiPoint`` geometries. This parameter sets a constant default value. To modify the point radius in response to data, see the corresponding parameter of the GeoPath and GeoShape transforms. **Default value:** ``4.5`` - precision : :class:`ExprRef`, Dict[required=[expr]], float + precision : dict, float, :class:`ExprRef` The threshold for the projection's `adaptive resampling `__ to the specified value in pixels. This value corresponds to the `Douglas–Peucker distance `__. If precision is not specified, returns the projection's current resampling precision which defaults to ``√0.5 ≅ 0.70710…``. - radius : :class:`ExprRef`, Dict[required=[expr]], float + radius : dict, float, :class:`ExprRef` The radius parameter for the ``airy`` or ``gingery`` projection. The default value varies based on the projection type. - ratio : :class:`ExprRef`, Dict[required=[expr]], float + ratio : dict, float, :class:`ExprRef` The ratio parameter for the ``hill``, ``hufnagel``, or ``wagner`` projections. The default value varies based on the projection type. - reflectX : :class:`ExprRef`, Dict[required=[expr]], bool + reflectX : bool, dict, :class:`ExprRef` Sets whether or not the x-dimension is reflected (negated) in the output. - reflectY : :class:`ExprRef`, Dict[required=[expr]], bool + reflectY : bool, dict, :class:`ExprRef` Sets whether or not the y-dimension is reflected (negated) in the output. - rotate : :class:`ExprRef`, Dict[required=[expr]], :class:`Vector2number`, Sequence[float], :class:`Vector3number`, Sequence[float] + rotate : dict, Sequence[float], :class:`ExprRef`, :class:`Vector2number`, :class:`Vector3number` The projection's three-axis rotation to the specified angles, which must be a two- or three-element array of numbers [ ``lambda``, ``phi``, ``gamma`` ] specifying the rotation angles in degrees about each spherical axis. (These correspond to yaw, pitch and roll.) **Default value:** ``[0, 0, 0]`` - scale : :class:`ExprRef`, Dict[required=[expr]], float + scale : dict, float, :class:`ExprRef` The projection’s scale (zoom) factor, overriding automatic fitting. The default scale is projection-specific. The scale factor corresponds linearly to the distance between projected points; however, scale factor values are not equivalent across projections. - size : :class:`ExprRef`, Dict[required=[expr]], :class:`Vector2number`, Sequence[float] + size : dict, Sequence[float], :class:`ExprRef`, :class:`Vector2number` Used in conjunction with fit, provides the width and height in pixels of the area to which the projection should be automatically fit. - spacing : :class:`ExprRef`, Dict[required=[expr]], float + spacing : dict, float, :class:`ExprRef` The spacing parameter for the ``lagrange`` projection. **Default value:** ``0.5`` - tilt : :class:`ExprRef`, Dict[required=[expr]], float + tilt : dict, float, :class:`ExprRef` The tilt angle (in degrees) for the ``satellite`` projection. **Default value:** ``0``. - translate : :class:`ExprRef`, Dict[required=[expr]], :class:`Vector2number`, Sequence[float] + translate : dict, Sequence[float], :class:`ExprRef`, :class:`Vector2number` The projection’s translation offset as a two-element array ``[tx, ty]``. - type : :class:`ExprRef`, Dict[required=[expr]], :class:`ProjectionType`, Literal['albers', 'albersUsa', 'azimuthalEqualArea', 'azimuthalEquidistant', 'conicConformal', 'conicEqualArea', 'conicEquidistant', 'equalEarth', 'equirectangular', 'gnomonic', 'identity', 'mercator', 'naturalEarth1', 'orthographic', 'stereographic', 'transverseMercator'] + type : dict, :class:`ExprRef`, :class:`ProjectionType`, Literal['albers', 'albersUsa', 'azimuthalEqualArea', 'azimuthalEquidistant', 'conicConformal', 'conicEqualArea', 'conicEquidistant', 'equalEarth', 'equirectangular', 'gnomonic', 'identity', 'mercator', 'naturalEarth1', 'orthographic', 'stereographic', 'transverseMercator'] The cartographic projection to use. This value is case-insensitive, for example ``"albers"`` and ``"Albers"`` indicate the same projection type. You can find all valid projection types `in the documentation @@ -35461,148 +30996,106 @@ class Projection(VegaLiteSchema): def __init__( self, center: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["Vector2number", Sequence[float]], - ], - UndefinedType, + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, clipAngle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, clipExtent: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "Vector2Vector2number", - Sequence[Union["Vector2number", Sequence[float]]], - ], - ], + dict, + "_Parameter", + "SchemaBase", + Sequence[Union["SchemaBase", Sequence[float]]], UndefinedType, ] = Undefined, coefficient: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, distance: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, extent: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "Vector2Vector2number", - Sequence[Union["Vector2number", Sequence[float]]], - ], - ], + dict, + "_Parameter", + "SchemaBase", + Sequence[Union["SchemaBase", Sequence[float]]], UndefinedType, ] = Undefined, fit: Union[ - Union[ - Sequence[ - Union[ - "Fit", - Sequence[Union["GeoJsonFeature", dict]], - Union["GeoJsonFeature", dict], - Union["GeoJsonFeatureCollection", dict], - ] - ], - Union["ExprRef", "_Parameter", dict], - Union[ - "Fit", - Sequence[Union["GeoJsonFeature", dict]], - Union["GeoJsonFeature", dict], - Union["GeoJsonFeatureCollection", dict], - ], - ], + dict, + "_Parameter", + "SchemaBase", + Sequence[Union[dict, "SchemaBase"]], + Sequence[Union[dict, "SchemaBase", Sequence[Union[dict, "SchemaBase"]]]], UndefinedType, ] = Undefined, fraction: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, lobes: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, parallel: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, parallels: Union[ - Union[Sequence[float], Union["ExprRef", "_Parameter", dict]], UndefinedType + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, pointRadius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, precision: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, radius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, ratio: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, reflectX: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + bool, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, reflectY: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + bool, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, rotate: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - Union["Vector2number", Sequence[float]], - Union["Vector3number", Sequence[float]], - ], - ], - UndefinedType, + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, scale: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, size: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["Vector2number", Sequence[float]], - ], - UndefinedType, + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, spacing: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - tilt: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + tilt: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, translate: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["Vector2number", Sequence[float]], - ], - UndefinedType, + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, type: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "ProjectionType", - Literal[ - "albers", - "albersUsa", - "azimuthalEqualArea", - "azimuthalEquidistant", - "conicConformal", - "conicEqualArea", - "conicEquidistant", - "equalEarth", - "equirectangular", - "gnomonic", - "identity", - "mercator", - "naturalEarth1", - "orthographic", - "stereographic", - "transverseMercator", - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "albers", + "albersUsa", + "azimuthalEqualArea", + "azimuthalEquidistant", + "conicConformal", + "conicEqualArea", + "conicEquidistant", + "equalEarth", + "equirectangular", + "gnomonic", + "identity", + "mercator", + "naturalEarth1", + "orthographic", + "stereographic", + "transverseMercator", ], UndefinedType, ] = Undefined, @@ -35640,105 +31133,103 @@ def __init__( class ProjectionConfig(VegaLiteSchema): """ProjectionConfig schema wrapper - :class:`ProjectionConfig`, Dict - Parameters ---------- - center : :class:`ExprRef`, Dict[required=[expr]], :class:`Vector2number`, Sequence[float] + center : dict, Sequence[float], :class:`ExprRef`, :class:`Vector2number` The projection's center, a two-element array of longitude and latitude in degrees. **Default value:** ``[0, 0]`` - clipAngle : :class:`ExprRef`, Dict[required=[expr]], float + clipAngle : dict, float, :class:`ExprRef` The projection's clipping circle radius to the specified angle in degrees. If ``null``, switches to `antimeridian `__ cutting rather than small-circle clipping. - clipExtent : :class:`ExprRef`, Dict[required=[expr]], :class:`Vector2Vector2number`, Sequence[:class:`Vector2number`, Sequence[float]] + clipExtent : dict, :class:`ExprRef`, :class:`Vector2Vector2number`, Sequence[Sequence[float], :class:`Vector2number`] The projection's viewport clip extent to the specified bounds in pixels. The extent bounds are specified as an array ``[[x0, y0], [x1, y1]]``, where ``x0`` is the left-side of the viewport, ``y0`` is the top, ``x1`` is the right and ``y1`` is the bottom. If ``null``, no viewport clipping is performed. - coefficient : :class:`ExprRef`, Dict[required=[expr]], float + coefficient : dict, float, :class:`ExprRef` The coefficient parameter for the ``hammer`` projection. **Default value:** ``2`` - distance : :class:`ExprRef`, Dict[required=[expr]], float + distance : dict, float, :class:`ExprRef` For the ``satellite`` projection, the distance from the center of the sphere to the point of view, as a proportion of the sphere’s radius. The recommended maximum clip angle for a given ``distance`` is acos(1 / distance) converted to degrees. If tilt is also applied, then more conservative clipping may be necessary. **Default value:** ``2.0`` - extent : :class:`ExprRef`, Dict[required=[expr]], :class:`Vector2Vector2number`, Sequence[:class:`Vector2number`, Sequence[float]] + extent : dict, :class:`ExprRef`, :class:`Vector2Vector2number`, Sequence[Sequence[float], :class:`Vector2number`] - fit : :class:`ExprRef`, Dict[required=[expr]], :class:`Fit`, :class:`GeoJsonFeatureCollection`, Dict[required=[features, type]], :class:`GeoJsonFeature`, Dict[required=[geometry, properties, type]], Sequence[:class:`GeoJsonFeature`, Dict[required=[geometry, properties, type]]], Sequence[:class:`Fit`, :class:`GeoJsonFeatureCollection`, Dict[required=[features, type]], :class:`GeoJsonFeature`, Dict[required=[geometry, properties, type]], Sequence[:class:`GeoJsonFeature`, Dict[required=[geometry, properties, type]]]] + fit : dict, :class:`Fit`, :class:`ExprRef`, :class:`GeoJsonFeature`, :class:`GeoJsonFeatureCollection`, Sequence[dict, :class:`GeoJsonFeature`], Sequence[dict, :class:`Fit`, :class:`GeoJsonFeature`, :class:`GeoJsonFeatureCollection`, Sequence[dict, :class:`GeoJsonFeature`]] - fraction : :class:`ExprRef`, Dict[required=[expr]], float + fraction : dict, float, :class:`ExprRef` The fraction parameter for the ``bottomley`` projection. **Default value:** ``0.5``, corresponding to a sin(ψ) where ψ = π/6. - lobes : :class:`ExprRef`, Dict[required=[expr]], float + lobes : dict, float, :class:`ExprRef` The number of lobes in projections that support multi-lobe views: ``berghaus``, ``gingery``, or ``healpix``. The default value varies based on the projection type. - parallel : :class:`ExprRef`, Dict[required=[expr]], float + parallel : dict, float, :class:`ExprRef` The parallel parameter for projections that support it: ``armadillo``, ``bonne``, ``craig``, ``cylindricalEqualArea``, ``cylindricalStereographic``, ``hammerRetroazimuthal``, ``loximuthal``, or ``rectangularPolyconic``. The default value varies based on the projection type. - parallels : :class:`ExprRef`, Dict[required=[expr]], Sequence[float] + parallels : dict, Sequence[float], :class:`ExprRef` For conic projections, the `two standard parallels `__ that define the map layout. The default depends on the specific conic projection used. - pointRadius : :class:`ExprRef`, Dict[required=[expr]], float + pointRadius : dict, float, :class:`ExprRef` The default radius (in pixels) to use when drawing GeoJSON ``Point`` and ``MultiPoint`` geometries. This parameter sets a constant default value. To modify the point radius in response to data, see the corresponding parameter of the GeoPath and GeoShape transforms. **Default value:** ``4.5`` - precision : :class:`ExprRef`, Dict[required=[expr]], float + precision : dict, float, :class:`ExprRef` The threshold for the projection's `adaptive resampling `__ to the specified value in pixels. This value corresponds to the `Douglas–Peucker distance `__. If precision is not specified, returns the projection's current resampling precision which defaults to ``√0.5 ≅ 0.70710…``. - radius : :class:`ExprRef`, Dict[required=[expr]], float + radius : dict, float, :class:`ExprRef` The radius parameter for the ``airy`` or ``gingery`` projection. The default value varies based on the projection type. - ratio : :class:`ExprRef`, Dict[required=[expr]], float + ratio : dict, float, :class:`ExprRef` The ratio parameter for the ``hill``, ``hufnagel``, or ``wagner`` projections. The default value varies based on the projection type. - reflectX : :class:`ExprRef`, Dict[required=[expr]], bool + reflectX : bool, dict, :class:`ExprRef` Sets whether or not the x-dimension is reflected (negated) in the output. - reflectY : :class:`ExprRef`, Dict[required=[expr]], bool + reflectY : bool, dict, :class:`ExprRef` Sets whether or not the y-dimension is reflected (negated) in the output. - rotate : :class:`ExprRef`, Dict[required=[expr]], :class:`Vector2number`, Sequence[float], :class:`Vector3number`, Sequence[float] + rotate : dict, Sequence[float], :class:`ExprRef`, :class:`Vector2number`, :class:`Vector3number` The projection's three-axis rotation to the specified angles, which must be a two- or three-element array of numbers [ ``lambda``, ``phi``, ``gamma`` ] specifying the rotation angles in degrees about each spherical axis. (These correspond to yaw, pitch and roll.) **Default value:** ``[0, 0, 0]`` - scale : :class:`ExprRef`, Dict[required=[expr]], float + scale : dict, float, :class:`ExprRef` The projection’s scale (zoom) factor, overriding automatic fitting. The default scale is projection-specific. The scale factor corresponds linearly to the distance between projected points; however, scale factor values are not equivalent across projections. - size : :class:`ExprRef`, Dict[required=[expr]], :class:`Vector2number`, Sequence[float] + size : dict, Sequence[float], :class:`ExprRef`, :class:`Vector2number` Used in conjunction with fit, provides the width and height in pixels of the area to which the projection should be automatically fit. - spacing : :class:`ExprRef`, Dict[required=[expr]], float + spacing : dict, float, :class:`ExprRef` The spacing parameter for the ``lagrange`` projection. **Default value:** ``0.5`` - tilt : :class:`ExprRef`, Dict[required=[expr]], float + tilt : dict, float, :class:`ExprRef` The tilt angle (in degrees) for the ``satellite`` projection. **Default value:** ``0``. - translate : :class:`ExprRef`, Dict[required=[expr]], :class:`Vector2number`, Sequence[float] + translate : dict, Sequence[float], :class:`ExprRef`, :class:`Vector2number` The projection’s translation offset as a two-element array ``[tx, ty]``. - type : :class:`ExprRef`, Dict[required=[expr]], :class:`ProjectionType`, Literal['albers', 'albersUsa', 'azimuthalEqualArea', 'azimuthalEquidistant', 'conicConformal', 'conicEqualArea', 'conicEquidistant', 'equalEarth', 'equirectangular', 'gnomonic', 'identity', 'mercator', 'naturalEarth1', 'orthographic', 'stereographic', 'transverseMercator'] + type : dict, :class:`ExprRef`, :class:`ProjectionType`, Literal['albers', 'albersUsa', 'azimuthalEqualArea', 'azimuthalEquidistant', 'conicConformal', 'conicEqualArea', 'conicEquidistant', 'equalEarth', 'equirectangular', 'gnomonic', 'identity', 'mercator', 'naturalEarth1', 'orthographic', 'stereographic', 'transverseMercator'] The cartographic projection to use. This value is case-insensitive, for example ``"albers"`` and ``"Albers"`` indicate the same projection type. You can find all valid projection types `in the documentation @@ -35752,148 +31243,106 @@ class ProjectionConfig(VegaLiteSchema): def __init__( self, center: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["Vector2number", Sequence[float]], - ], - UndefinedType, + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, clipAngle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, clipExtent: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "Vector2Vector2number", - Sequence[Union["Vector2number", Sequence[float]]], - ], - ], + dict, + "_Parameter", + "SchemaBase", + Sequence[Union["SchemaBase", Sequence[float]]], UndefinedType, ] = Undefined, coefficient: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, distance: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, extent: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "Vector2Vector2number", - Sequence[Union["Vector2number", Sequence[float]]], - ], - ], + dict, + "_Parameter", + "SchemaBase", + Sequence[Union["SchemaBase", Sequence[float]]], UndefinedType, ] = Undefined, fit: Union[ - Union[ - Sequence[ - Union[ - "Fit", - Sequence[Union["GeoJsonFeature", dict]], - Union["GeoJsonFeature", dict], - Union["GeoJsonFeatureCollection", dict], - ] - ], - Union["ExprRef", "_Parameter", dict], - Union[ - "Fit", - Sequence[Union["GeoJsonFeature", dict]], - Union["GeoJsonFeature", dict], - Union["GeoJsonFeatureCollection", dict], - ], - ], + dict, + "_Parameter", + "SchemaBase", + Sequence[Union[dict, "SchemaBase"]], + Sequence[Union[dict, "SchemaBase", Sequence[Union[dict, "SchemaBase"]]]], UndefinedType, ] = Undefined, fraction: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, lobes: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, parallel: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, parallels: Union[ - Union[Sequence[float], Union["ExprRef", "_Parameter", dict]], UndefinedType + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, pointRadius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, precision: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, radius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, ratio: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, reflectX: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + bool, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, reflectY: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + bool, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, rotate: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - Union["Vector2number", Sequence[float]], - Union["Vector3number", Sequence[float]], - ], - ], - UndefinedType, + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, scale: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, size: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["Vector2number", Sequence[float]], - ], - UndefinedType, + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, spacing: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - tilt: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + tilt: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, translate: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["Vector2number", Sequence[float]], - ], - UndefinedType, + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, type: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "ProjectionType", - Literal[ - "albers", - "albersUsa", - "azimuthalEqualArea", - "azimuthalEquidistant", - "conicConformal", - "conicEqualArea", - "conicEquidistant", - "equalEarth", - "equirectangular", - "gnomonic", - "identity", - "mercator", - "naturalEarth1", - "orthographic", - "stereographic", - "transverseMercator", - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "albers", + "albersUsa", + "azimuthalEqualArea", + "azimuthalEquidistant", + "conicConformal", + "conicEqualArea", + "conicEquidistant", + "equalEarth", + "equirectangular", + "gnomonic", + "identity", + "mercator", + "naturalEarth1", + "orthographic", + "stereographic", + "transverseMercator", ], UndefinedType, ] = Undefined, @@ -35929,13 +31378,7 @@ def __init__( class ProjectionType(VegaLiteSchema): - """ProjectionType schema wrapper - - :class:`ProjectionType`, Literal['albers', 'albersUsa', 'azimuthalEqualArea', - 'azimuthalEquidistant', 'conicConformal', 'conicEqualArea', 'conicEquidistant', - 'equalEarth', 'equirectangular', 'gnomonic', 'identity', 'mercator', 'naturalEarth1', - 'orthographic', 'stereographic', 'transverseMercator'] - """ + """ProjectionType schema wrapper""" _schema = {"$ref": "#/definitions/ProjectionType"} @@ -35946,14 +31389,12 @@ def __init__(self, *args): class RadialGradient(Gradient): """RadialGradient schema wrapper - :class:`RadialGradient`, Dict[required=[gradient, stops]] - Parameters ---------- gradient : str The type of gradient. Use ``"radial"`` for a radial gradient. - stops : Sequence[:class:`GradientStop`, Dict[required=[offset, color]]] + stops : Sequence[dict, :class:`GradientStop`] An array of gradient stops defining the gradient color sequence. id : str @@ -35994,7 +31435,7 @@ class RadialGradient(Gradient): def __init__( self, gradient: Union[str, UndefinedType] = Undefined, - stops: Union[Sequence[Union["GradientStop", dict]], UndefinedType] = Undefined, + stops: Union[Sequence[Union[dict, "SchemaBase"]], UndefinedType] = Undefined, id: Union[str, UndefinedType] = Undefined, r1: Union[float, UndefinedType] = Undefined, r2: Union[float, UndefinedType] = Undefined, @@ -36021,27 +31462,25 @@ def __init__( class RangeConfig(VegaLiteSchema): """RangeConfig schema wrapper - :class:`RangeConfig`, Dict - Parameters ---------- - category : :class:`RangeEnum`, Literal['width', 'height', 'symbol', 'category', 'ordinal', 'ramp', 'diverging', 'heatmap'], :class:`RangeRaw`, Sequence[:class:`RangeRawArray`, Sequence[float], None, bool, float, str], :class:`RangeScheme`, Dict[required=[scheme]], Sequence[:class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str] + category : dict, :class:`RangeRaw`, :class:`RangeEnum`, :class:`RangeScheme`, Sequence[str, bool, None, float, Sequence[float], :class:`RangeRawArray`], Literal['width', 'height', 'symbol', 'category', 'ordinal', 'ramp', 'diverging', 'heatmap'], Sequence[str, :class:`Color`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple']] Default `color scheme `__ for categorical data. - diverging : :class:`RangeEnum`, Literal['width', 'height', 'symbol', 'category', 'ordinal', 'ramp', 'diverging', 'heatmap'], :class:`RangeRaw`, Sequence[:class:`RangeRawArray`, Sequence[float], None, bool, float, str], :class:`RangeScheme`, Dict[required=[scheme]], Sequence[:class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str] + diverging : dict, :class:`RangeRaw`, :class:`RangeEnum`, :class:`RangeScheme`, Sequence[str, bool, None, float, Sequence[float], :class:`RangeRawArray`], Literal['width', 'height', 'symbol', 'category', 'ordinal', 'ramp', 'diverging', 'heatmap'], Sequence[str, :class:`Color`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple']] Default `color scheme `__ for diverging quantitative ramps. - heatmap : :class:`RangeEnum`, Literal['width', 'height', 'symbol', 'category', 'ordinal', 'ramp', 'diverging', 'heatmap'], :class:`RangeRaw`, Sequence[:class:`RangeRawArray`, Sequence[float], None, bool, float, str], :class:`RangeScheme`, Dict[required=[scheme]], Sequence[:class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str] + heatmap : dict, :class:`RangeRaw`, :class:`RangeEnum`, :class:`RangeScheme`, Sequence[str, bool, None, float, Sequence[float], :class:`RangeRawArray`], Literal['width', 'height', 'symbol', 'category', 'ordinal', 'ramp', 'diverging', 'heatmap'], Sequence[str, :class:`Color`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple']] Default `color scheme `__ for quantitative heatmaps. - ordinal : :class:`RangeEnum`, Literal['width', 'height', 'symbol', 'category', 'ordinal', 'ramp', 'diverging', 'heatmap'], :class:`RangeRaw`, Sequence[:class:`RangeRawArray`, Sequence[float], None, bool, float, str], :class:`RangeScheme`, Dict[required=[scheme]], Sequence[:class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str] + ordinal : dict, :class:`RangeRaw`, :class:`RangeEnum`, :class:`RangeScheme`, Sequence[str, bool, None, float, Sequence[float], :class:`RangeRawArray`], Literal['width', 'height', 'symbol', 'category', 'ordinal', 'ramp', 'diverging', 'heatmap'], Sequence[str, :class:`Color`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple']] Default `color scheme `__ for rank-ordered data. - ramp : :class:`RangeEnum`, Literal['width', 'height', 'symbol', 'category', 'ordinal', 'ramp', 'diverging', 'heatmap'], :class:`RangeRaw`, Sequence[:class:`RangeRawArray`, Sequence[float], None, bool, float, str], :class:`RangeScheme`, Dict[required=[scheme]], Sequence[:class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str] + ramp : dict, :class:`RangeRaw`, :class:`RangeEnum`, :class:`RangeScheme`, Sequence[str, bool, None, float, Sequence[float], :class:`RangeRawArray`], Literal['width', 'height', 'symbol', 'category', 'ordinal', 'ramp', 'diverging', 'heatmap'], Sequence[str, :class:`Color`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple']] Default `color scheme `__ for sequential quantitative ramps. - symbol : Sequence[:class:`SymbolShape`, str] + symbol : Sequence[str, :class:`SymbolShape`] Array of `symbol `__ names or paths for the default shape palette. """ @@ -36051,976 +31490,866 @@ class RangeConfig(VegaLiteSchema): def __init__( self, category: Union[ - Union[ - Sequence[ - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ] - ], - Union[ - "RangeScheme", - Union[ - "RangeEnum", - Literal[ - "width", - "height", - "symbol", - "category", - "ordinal", - "ramp", - "diverging", - "heatmap", - ], - ], - Union[ - "RangeRaw", - Sequence[ - Union[ - None, - Union["RangeRawArray", Sequence[float]], - bool, - float, - str, - ] - ], - ], - dict, - ], + dict, + "SchemaBase", + Sequence[Union[str, bool, None, float, "SchemaBase", Sequence[float]]], + Literal[ + "width", + "height", + "symbol", + "category", + "ordinal", + "ramp", + "diverging", + "heatmap", ], - UndefinedType, - ] = Undefined, - diverging: Union[ - Union[ - Sequence[ - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ] - ], - Union[ - "RangeScheme", - Union[ - "RangeEnum", - Literal[ - "width", - "height", - "symbol", - "category", - "ordinal", - "ramp", - "diverging", - "heatmap", - ], - ], - Union[ - "RangeRaw", - Sequence[ - Union[ - None, - Union["RangeRawArray", Sequence[float]], - bool, - float, - str, - ] - ], - ], - dict, - ], - ], - UndefinedType, - ] = Undefined, - heatmap: Union[ - Union[ - Sequence[ - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ] - ], - Union[ - "RangeScheme", - Union[ - "RangeEnum", - Literal[ - "width", - "height", - "symbol", - "category", - "ordinal", - "ramp", - "diverging", - "heatmap", - ], - ], - Union[ - "RangeRaw", - Sequence[ - Union[ - None, - Union["RangeRawArray", Sequence[float]], - bool, - float, - str, - ] - ], - ], - dict, - ], - ], - UndefinedType, - ] = Undefined, - ordinal: Union[ - Union[ - Sequence[ - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ] - ], - Union[ - "RangeScheme", - Union[ - "RangeEnum", - Literal[ - "width", - "height", - "symbol", - "category", - "ordinal", - "ramp", - "diverging", - "heatmap", - ], - ], - Union[ - "RangeRaw", - Sequence[ - Union[ - None, - Union["RangeRawArray", Sequence[float]], - bool, - float, - str, - ] - ], - ], - dict, - ], - ], - UndefinedType, - ] = Undefined, - ramp: Union[ - Union[ - Sequence[ - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ] - ], + Sequence[ Union[ - "RangeScheme", - Union[ - "RangeEnum", - Literal[ - "width", - "height", - "symbol", - "category", - "ordinal", - "ramp", - "diverging", - "heatmap", - ], - ], - Union[ - "RangeRaw", - Sequence[ - Union[ - None, - Union["RangeRawArray", Sequence[float]], - bool, - float, - str, - ] - ], + str, + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", + ], + ] + ], + UndefinedType, + ] = Undefined, + diverging: Union[ + dict, + "SchemaBase", + Sequence[Union[str, bool, None, float, "SchemaBase", Sequence[float]]], + Literal[ + "width", + "height", + "symbol", + "category", + "ordinal", + "ramp", + "diverging", + "heatmap", + ], + Sequence[ + Union[ + str, + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", + ], + ] + ], + UndefinedType, + ] = Undefined, + heatmap: Union[ + dict, + "SchemaBase", + Sequence[Union[str, bool, None, float, "SchemaBase", Sequence[float]]], + Literal[ + "width", + "height", + "symbol", + "category", + "ordinal", + "ramp", + "diverging", + "heatmap", + ], + Sequence[ + Union[ + str, + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", + ], + ] + ], + UndefinedType, + ] = Undefined, + ordinal: Union[ + dict, + "SchemaBase", + Sequence[Union[str, bool, None, float, "SchemaBase", Sequence[float]]], + Literal[ + "width", + "height", + "symbol", + "category", + "ordinal", + "ramp", + "diverging", + "heatmap", + ], + Sequence[ + Union[ + str, + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", + ], + ] + ], + UndefinedType, + ] = Undefined, + ramp: Union[ + dict, + "SchemaBase", + Sequence[Union[str, bool, None, float, "SchemaBase", Sequence[float]]], + Literal[ + "width", + "height", + "symbol", + "category", + "ordinal", + "ramp", + "diverging", + "heatmap", + ], + Sequence[ + Union[ + str, + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], - dict, - ], + ] ], UndefinedType, ] = Undefined, - symbol: Union[Sequence[Union["SymbolShape", str]], UndefinedType] = Undefined, + symbol: Union[Sequence[Union[str, "SchemaBase"]], UndefinedType] = Undefined, **kwds, ): super(RangeConfig, self).__init__( @@ -37035,10 +32364,7 @@ def __init__( class RangeRawArray(VegaLiteSchema): - """RangeRawArray schema wrapper - - :class:`RangeRawArray`, Sequence[float] - """ + """RangeRawArray schema wrapper""" _schema = {"$ref": "#/definitions/RangeRawArray"} @@ -37047,12 +32373,7 @@ def __init__(self, *args): class RangeScheme(VegaLiteSchema): - """RangeScheme schema wrapper - - :class:`RangeEnum`, Literal['width', 'height', 'symbol', 'category', 'ordinal', 'ramp', - 'diverging', 'heatmap'], :class:`RangeRaw`, Sequence[:class:`RangeRawArray`, - Sequence[float], None, bool, float, str], :class:`RangeScheme`, Dict[required=[scheme]] - """ + """RangeScheme schema wrapper""" _schema = {"$ref": "#/definitions/RangeScheme"} @@ -37061,11 +32382,7 @@ def __init__(self, *args, **kwds): class RangeEnum(RangeScheme): - """RangeEnum schema wrapper - - :class:`RangeEnum`, Literal['width', 'height', 'symbol', 'category', 'ordinal', 'ramp', - 'diverging', 'heatmap'] - """ + """RangeEnum schema wrapper""" _schema = {"$ref": "#/definitions/RangeEnum"} @@ -37074,10 +32391,7 @@ def __init__(self, *args): class RangeRaw(RangeScheme): - """RangeRaw schema wrapper - - :class:`RangeRaw`, Sequence[:class:`RangeRawArray`, Sequence[float], None, bool, float, str] - """ + """RangeRaw schema wrapper""" _schema = {"$ref": "#/definitions/RangeRaw"} @@ -37088,37 +32402,35 @@ def __init__(self, *args): class RectConfig(AnyMarkConfig): """RectConfig schema wrapper - :class:`RectConfig`, Dict - Parameters ---------- - align : :class:`Align`, Literal['left', 'center', 'right'], :class:`ExprRef`, Dict[required=[expr]] + align : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] The horizontal alignment of the text or ranged marks (area, bar, image, rect, rule). One of ``"left"``, ``"right"``, ``"center"``. **Note:** Expression reference is *not* supported for range marks. - angle : :class:`ExprRef`, Dict[required=[expr]], float + angle : dict, float, :class:`ExprRef` The rotation angle of the text, in degrees. - aria : :class:`ExprRef`, Dict[required=[expr]], bool + aria : bool, dict, :class:`ExprRef` A boolean flag indicating if `ARIA attributes `__ should be included (SVG output only). If ``false``, the "aria-hidden" attribute will be set on the output SVG element, removing the mark item from the ARIA accessibility tree. - ariaRole : :class:`ExprRef`, Dict[required=[expr]], str + ariaRole : str, dict, :class:`ExprRef` Sets the type of user interface element of the mark item for `ARIA accessibility `__ (SVG output only). If specified, this property determines the "role" attribute. Warning: this property is experimental and may be changed in the future. - ariaRoleDescription : :class:`ExprRef`, Dict[required=[expr]], str + ariaRoleDescription : str, dict, :class:`ExprRef` A human-readable, author-localized description for the role of the mark item for `ARIA accessibility `__ (SVG output only). If specified, this property determines the "aria-roledescription" attribute. Warning: this property is experimental and may be changed in the future. - aspect : :class:`ExprRef`, Dict[required=[expr]], bool + aspect : bool, dict, :class:`ExprRef` Whether to keep aspect ratio of image marks. - baseline : :class:`Baseline`, Literal['top', 'middle', 'bottom'], :class:`TextBaseline`, str, :class:`ExprRef`, Dict[required=[expr]] + baseline : str, dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['top', 'middle', 'bottom'] For text marks, the vertical text baseline. One of ``"alphabetic"`` (default), ``"top"``, ``"middle"``, ``"bottom"``, ``"line-top"``, ``"line-bottom"``, or an expression reference that provides one of the valid values. The ``"line-top"`` and @@ -37134,13 +32446,13 @@ class RectConfig(AnyMarkConfig): (preferred by statisticians) or 1 (Vega-Lite default, D3 example style). **Default value:** ``1`` - blend : :class:`Blend`, Literal[None, 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'], :class:`ExprRef`, Dict[required=[expr]] + blend : dict, :class:`Blend`, :class:`ExprRef`, Literal[None, 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'] The color blend mode for drawing an item on its current background. Any valid `CSS mix-blend-mode `__ value can be used. __Default value:__ ``"source-over"`` - color : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]] + color : str, dict, :class:`Color`, :class:`ExprRef`, :class:`Gradient`, :class:`HexColor`, :class:`ColorName`, :class:`LinearGradient`, :class:`RadialGradient`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Default color. **Default value:** :raw-html:`` @@ -37157,62 +32469,62 @@ class RectConfig(AnyMarkConfig): The default size of the bars on continuous scales. **Default value:** ``5`` - cornerRadius : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadius : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles or arcs' corners. **Default value:** ``0`` - cornerRadiusBottomLeft : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusBottomLeft : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom left corner. **Default value:** ``0`` - cornerRadiusBottomRight : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusBottomRight : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom right corner. **Default value:** ``0`` - cornerRadiusTopLeft : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusTopLeft : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top right corner. **Default value:** ``0`` - cornerRadiusTopRight : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusTopRight : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top left corner. **Default value:** ``0`` - cursor : :class:`Cursor`, Literal['auto', 'default', 'none', 'context-menu', 'help', 'pointer', 'progress', 'wait', 'cell', 'crosshair', 'text', 'vertical-text', 'alias', 'copy', 'move', 'no-drop', 'not-allowed', 'e-resize', 'n-resize', 'ne-resize', 'nw-resize', 's-resize', 'se-resize', 'sw-resize', 'w-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'col-resize', 'row-resize', 'all-scroll', 'zoom-in', 'zoom-out', 'grab', 'grabbing'], :class:`ExprRef`, Dict[required=[expr]] + cursor : dict, :class:`Cursor`, :class:`ExprRef`, Literal['auto', 'default', 'none', 'context-menu', 'help', 'pointer', 'progress', 'wait', 'cell', 'crosshair', 'text', 'vertical-text', 'alias', 'copy', 'move', 'no-drop', 'not-allowed', 'e-resize', 'n-resize', 'ne-resize', 'nw-resize', 's-resize', 'se-resize', 'sw-resize', 'w-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'col-resize', 'row-resize', 'all-scroll', 'zoom-in', 'zoom-out', 'grab', 'grabbing'] The mouse cursor used over the mark. Any valid `CSS cursor type `__ can be used. - description : :class:`ExprRef`, Dict[required=[expr]], str + description : str, dict, :class:`ExprRef` A text description of the mark item for `ARIA accessibility `__ (SVG output only). If specified, this property determines the `"aria-label" attribute `__. - dir : :class:`ExprRef`, Dict[required=[expr]], :class:`TextDirection`, Literal['ltr', 'rtl'] + dir : dict, :class:`ExprRef`, Literal['ltr', 'rtl'], :class:`TextDirection` The direction of the text. One of ``"ltr"`` (left-to-right) or ``"rtl"`` (right-to-left). This property determines on which side is truncated in response to the limit parameter. **Default value:** ``"ltr"`` - discreteBandSize : :class:`RelativeBandSize`, Dict[required=[band]], float + discreteBandSize : dict, float, :class:`RelativeBandSize` The default size of the bars with discrete dimensions. If unspecified, the default size is ``step-2``, which provides 2 pixel offset between bars. - dx : :class:`ExprRef`, Dict[required=[expr]], float + dx : dict, float, :class:`ExprRef` The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the *angle* property. - dy : :class:`ExprRef`, Dict[required=[expr]], float + dy : dict, float, :class:`ExprRef` The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the *angle* property. - ellipsis : :class:`ExprRef`, Dict[required=[expr]], str + ellipsis : str, dict, :class:`ExprRef` The ellipsis string for text truncated in response to the limit parameter. **Default value:** ``"…"`` - endAngle : :class:`ExprRef`, Dict[required=[expr]], float + endAngle : dict, float, :class:`ExprRef` The end angle in radians for arc marks. A value of ``0`` indicates up (north), increasing values proceed clockwise. - fill : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]], None + fill : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`Gradient`, :class:`HexColor`, :class:`ColorName`, :class:`LinearGradient`, :class:`RadialGradient`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Default fill color. This property has higher precedence than ``config.color``. Set to ``null`` to remove fill. **Default value:** (None) - fillOpacity : :class:`ExprRef`, Dict[required=[expr]], float + fillOpacity : dict, float, :class:`ExprRef` The fill opacity (value between [0,1]). **Default value:** ``1`` @@ -37226,28 +32538,28 @@ class RectConfig(AnyMarkConfig): **Note:** This property cannot be used in a `style config `__. - font : :class:`ExprRef`, Dict[required=[expr]], str + font : str, dict, :class:`ExprRef` The typeface to set the text in (e.g., ``"Helvetica Neue"`` ). - fontSize : :class:`ExprRef`, Dict[required=[expr]], float + fontSize : dict, float, :class:`ExprRef` The font size, in pixels. **Default value:** ``11`` - fontStyle : :class:`ExprRef`, Dict[required=[expr]], :class:`FontStyle`, str + fontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` The font style (e.g., ``"italic"`` ). - fontWeight : :class:`ExprRef`, Dict[required=[expr]], :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + fontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] The font weight. This can be either a string (e.g ``"bold"``, ``"normal"`` ) or a number ( ``100``, ``200``, ``300``, ..., ``900`` where ``"normal"`` = ``400`` and ``"bold"`` = ``700`` ). - height : :class:`ExprRef`, Dict[required=[expr]], float + height : dict, float, :class:`ExprRef` Height of the marks. - href : :class:`ExprRef`, Dict[required=[expr]], :class:`URI`, str + href : str, dict, :class:`URI`, :class:`ExprRef` A URL to load upon mouse click. If defined, the mark acts as a hyperlink. - innerRadius : :class:`ExprRef`, Dict[required=[expr]], float + innerRadius : dict, float, :class:`ExprRef` The inner radius in pixels of arc marks. ``innerRadius`` is an alias for ``radius2``. **Default value:** ``0`` - interpolate : :class:`ExprRef`, Dict[required=[expr]], :class:`Interpolate`, Literal['basis', 'basis-open', 'basis-closed', 'bundle', 'cardinal', 'cardinal-open', 'cardinal-closed', 'catmull-rom', 'linear', 'linear-closed', 'monotone', 'natural', 'step', 'step-before', 'step-after'] + interpolate : dict, :class:`ExprRef`, :class:`Interpolate`, Literal['basis', 'basis-open', 'basis-closed', 'bundle', 'cardinal', 'cardinal-open', 'cardinal-closed', 'catmull-rom', 'linear', 'linear-closed', 'monotone', 'natural', 'step', 'step-before', 'step-after'] The line interpolation method to use for line and area marks. One of the following: @@ -37278,25 +32590,25 @@ class RectConfig(AnyMarkConfig): (for line, trail, and area marks) or filtered (for other marks). * If ``null``, all data items are included. In this case, invalid values will be interpreted as zeroes. - limit : :class:`ExprRef`, Dict[required=[expr]], float + limit : dict, float, :class:`ExprRef` The maximum length of the text mark in pixels. The text value will be automatically truncated if the rendered size exceeds the limit. **Default value:** ``0`` -- indicating no limit - lineBreak : :class:`ExprRef`, Dict[required=[expr]], str + lineBreak : str, dict, :class:`ExprRef` A delimiter, such as a newline character, upon which to break text strings into multiple lines. This property is ignored if the text is array-valued. - lineHeight : :class:`ExprRef`, Dict[required=[expr]], float + lineHeight : dict, float, :class:`ExprRef` The line height in pixels (the spacing between subsequent lines of text) for multi-line text marks. - minBandSize : :class:`ExprRef`, Dict[required=[expr]], float + minBandSize : dict, float, :class:`ExprRef` The minimum band size for bar and rectangle marks. **Default value:** ``0.25`` - opacity : :class:`ExprRef`, Dict[required=[expr]], float + opacity : dict, float, :class:`ExprRef` The overall opacity (value between [0,1]). **Default value:** ``0.7`` for non-aggregate plots with ``point``, ``tick``, ``circle``, or ``square`` marks or layered ``bar`` charts and ``1`` otherwise. - order : None, bool + order : bool, None For line and trail marks, this ``order`` property can be set to ``null`` or ``false`` to make the lines use the original order in the data sources. orient : :class:`Orientation`, Literal['horizontal', 'vertical'] @@ -37311,24 +32623,24 @@ class RectConfig(AnyMarkConfig): the line if ``config.sortLineBy`` is not specified. For stacked charts, this is always determined by the orientation of the stack; therefore explicitly specified value will be ignored. - outerRadius : :class:`ExprRef`, Dict[required=[expr]], float + outerRadius : dict, float, :class:`ExprRef` The outer radius in pixels of arc marks. ``outerRadius`` is an alias for ``radius``. **Default value:** ``0`` - padAngle : :class:`ExprRef`, Dict[required=[expr]], float + padAngle : dict, float, :class:`ExprRef` The angular padding applied to sides of the arc, in radians. - radius : :class:`ExprRef`, Dict[required=[expr]], float + radius : dict, float, :class:`ExprRef` For arc mark, the primary (outer) radius in pixels. For text marks, polar coordinate radial offset, in pixels, of the text from the origin determined by the ``x`` and ``y`` properties. **Default value:** ``min(plot_width, plot_height)/2`` - radius2 : :class:`ExprRef`, Dict[required=[expr]], float + radius2 : dict, float, :class:`ExprRef` The secondary (inner) radius in pixels of arc marks. **Default value:** ``0`` - shape : :class:`ExprRef`, Dict[required=[expr]], :class:`SymbolShape`, str, str + shape : str, dict, :class:`ExprRef`, :class:`SymbolShape` Shape of the point marks. Supported values include: @@ -37343,7 +32655,7 @@ class RectConfig(AnyMarkConfig): coordinates ranging from -1 to 1 along both the x and y dimensions.) **Default value:** ``"circle"`` - size : :class:`ExprRef`, Dict[required=[expr]], float + size : dict, float, :class:`ExprRef` Default size for marks. @@ -37360,56 +32672,56 @@ class RectConfig(AnyMarkConfig): * ``2`` for bar marks with discrete dimensions; * ``5`` for bar marks with continuous dimensions; * ``11`` for text marks. - smooth : :class:`ExprRef`, Dict[required=[expr]], bool + smooth : bool, dict, :class:`ExprRef` A boolean flag (default true) indicating if the image should be smoothed when resized. If false, individual pixels should be scaled directly rather than interpolated with smoothing. For SVG rendering, this option may not work in some browsers due to lack of standardization. - startAngle : :class:`ExprRef`, Dict[required=[expr]], float + startAngle : dict, float, :class:`ExprRef` The start angle in radians for arc marks. A value of ``0`` indicates up (north), increasing values proceed clockwise. - stroke : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]], None + stroke : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`Gradient`, :class:`HexColor`, :class:`ColorName`, :class:`LinearGradient`, :class:`RadialGradient`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Default stroke color. This property has higher precedence than ``config.color``. Set to ``null`` to remove stroke. **Default value:** (None) - strokeCap : :class:`ExprRef`, Dict[required=[expr]], :class:`StrokeCap`, Literal['butt', 'round', 'square'] + strokeCap : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] The stroke cap for line ending style. One of ``"butt"``, ``"round"``, or ``"square"``. **Default value:** ``"butt"`` - strokeDash : :class:`ExprRef`, Dict[required=[expr]], Sequence[float] + strokeDash : dict, Sequence[float], :class:`ExprRef` An array of alternating stroke, space lengths for creating dashed or dotted lines. - strokeDashOffset : :class:`ExprRef`, Dict[required=[expr]], float + strokeDashOffset : dict, float, :class:`ExprRef` The offset (in pixels) into which to begin drawing with the stroke dash array. - strokeJoin : :class:`ExprRef`, Dict[required=[expr]], :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] + strokeJoin : dict, :class:`ExprRef`, :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] The stroke line join method. One of ``"miter"``, ``"round"`` or ``"bevel"``. **Default value:** ``"miter"`` - strokeMiterLimit : :class:`ExprRef`, Dict[required=[expr]], float + strokeMiterLimit : dict, float, :class:`ExprRef` The miter limit at which to bevel a line join. - strokeOffset : :class:`ExprRef`, Dict[required=[expr]], float + strokeOffset : dict, float, :class:`ExprRef` The offset in pixels at which to draw the group stroke and fill. If unspecified, the default behavior is to dynamically offset stroked groups such that 1 pixel stroke widths align with the pixel grid. - strokeOpacity : :class:`ExprRef`, Dict[required=[expr]], float + strokeOpacity : dict, float, :class:`ExprRef` The stroke opacity (value between [0,1]). **Default value:** ``1`` - strokeWidth : :class:`ExprRef`, Dict[required=[expr]], float + strokeWidth : dict, float, :class:`ExprRef` The stroke width, in pixels. - tension : :class:`ExprRef`, Dict[required=[expr]], float + tension : dict, float, :class:`ExprRef` Depending on the interpolation type, sets the tension parameter (for line and area marks). - text : :class:`ExprRef`, Dict[required=[expr]], :class:`Text`, Sequence[str], str + text : str, dict, :class:`Text`, Sequence[str], :class:`ExprRef` Placeholder text if the ``text`` channel is not specified - theta : :class:`ExprRef`, Dict[required=[expr]], float + theta : dict, float, :class:`ExprRef` For arc marks, the arc length in radians if theta2 is not specified, otherwise the start arc angle. (A value of 0 indicates up or “north”, increasing values proceed clockwise.) For text marks, polar coordinate angle in radians. - theta2 : :class:`ExprRef`, Dict[required=[expr]], float + theta2 : dict, float, :class:`ExprRef` The end angle of arc marks in radians. A value of 0 indicates up or “north”, increasing values proceed clockwise. timeUnitBandPosition : float @@ -37420,7 +32732,7 @@ class RectConfig(AnyMarkConfig): Default relative band size for a time unit. If set to ``1``, the bandwidth of the marks will be equal to the time unit band step. If set to ``0.5``, bandwidth of the marks will be half of the time unit band step. - tooltip : :class:`ExprRef`, Dict[required=[expr]], :class:`TooltipContent`, Dict[required=[content]], None, bool, float, str + tooltip : str, bool, dict, None, float, :class:`ExprRef`, :class:`TooltipContent` The tooltip text string to show upon mouse hover or an object defining which fields should the tooltip be derived from. @@ -37435,28 +32747,28 @@ class RectConfig(AnyMarkConfig): documentation for a detailed discussion about tooltip in Vega-Lite. **Default value:** ``null`` - url : :class:`ExprRef`, Dict[required=[expr]], :class:`URI`, str + url : str, dict, :class:`URI`, :class:`ExprRef` The URL of the image file for image marks. - width : :class:`ExprRef`, Dict[required=[expr]], float + width : dict, float, :class:`ExprRef` Width of the marks. - x : :class:`ExprRef`, Dict[required=[expr]], float, str + x : str, dict, float, :class:`ExprRef` X coordinates of the marks, or width of horizontal ``"bar"`` and ``"area"`` without specified ``x2`` or ``width``. The ``value`` of this channel can be a number or a string ``"width"`` for the width of the plot. - x2 : :class:`ExprRef`, Dict[required=[expr]], float, str + x2 : str, dict, float, :class:`ExprRef` X2 coordinates for ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. The ``value`` of this channel can be a number or a string ``"width"`` for the width of the plot. - y : :class:`ExprRef`, Dict[required=[expr]], float, str + y : str, dict, float, :class:`ExprRef` Y coordinates of the marks, or height of vertical ``"bar"`` and ``"area"`` without specified ``y2`` or ``height``. The ``value`` of this channel can be a number or a string ``"height"`` for the height of the plot. - y2 : :class:`ExprRef`, Dict[required=[expr]], float, str + y2 : str, dict, float, :class:`ExprRef` Y2 coordinates for ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. The ``value`` of this channel can be a number or a string ``"height"`` for the @@ -37468,863 +32780,772 @@ class RectConfig(AnyMarkConfig): def __init__( self, align: Union[ - Union[ - Union["Align", Literal["left", "center", "right"]], - Union["ExprRef", "_Parameter", dict], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["left", "center", "right"], UndefinedType, ] = Undefined, angle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - aria: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + aria: Union[bool, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, ariaRole: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, ariaRoleDescription: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, aspect: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + bool, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, baseline: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "TextBaseline", - Union["Baseline", Literal["top", "middle", "bottom"]], - str, - ], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, binSpacing: Union[float, UndefinedType] = Undefined, blend: Union[ - Union[ - Union[ - "Blend", - Literal[ - None, - "multiply", - "screen", - "overlay", - "darken", - "lighten", - "color-dodge", - "color-burn", - "hard-light", - "soft-light", - "difference", - "exclusion", - "hue", - "saturation", - "color", - "luminosity", - ], - ], - Union["ExprRef", "_Parameter", dict], + dict, + "_Parameter", + "SchemaBase", + Literal[ + None, + "multiply", + "screen", + "overlay", + "darken", + "lighten", + "color-dodge", + "color-burn", + "hard-light", + "soft-light", + "difference", + "exclusion", + "hue", + "saturation", + "color", + "luminosity", ], UndefinedType, ] = Undefined, color: Union[ - Union[ - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], - Union[ - "Gradient", - Union["LinearGradient", dict], - Union["RadialGradient", dict], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, continuousBandSize: Union[float, UndefinedType] = Undefined, cornerRadius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusBottomLeft: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusBottomRight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusTopLeft: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusTopRight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cursor: Union[ - Union[ - Union[ - "Cursor", - Literal[ - "auto", - "default", - "none", - "context-menu", - "help", - "pointer", - "progress", - "wait", - "cell", - "crosshair", - "text", - "vertical-text", - "alias", - "copy", - "move", - "no-drop", - "not-allowed", - "e-resize", - "n-resize", - "ne-resize", - "nw-resize", - "s-resize", - "se-resize", - "sw-resize", - "w-resize", - "ew-resize", - "ns-resize", - "nesw-resize", - "nwse-resize", - "col-resize", - "row-resize", - "all-scroll", - "zoom-in", - "zoom-out", - "grab", - "grabbing", - ], - ], - Union["ExprRef", "_Parameter", dict], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "auto", + "default", + "none", + "context-menu", + "help", + "pointer", + "progress", + "wait", + "cell", + "crosshair", + "text", + "vertical-text", + "alias", + "copy", + "move", + "no-drop", + "not-allowed", + "e-resize", + "n-resize", + "ne-resize", + "nw-resize", + "s-resize", + "se-resize", + "sw-resize", + "w-resize", + "ew-resize", + "ns-resize", + "nesw-resize", + "nwse-resize", + "col-resize", + "row-resize", + "all-scroll", + "zoom-in", + "zoom-out", + "grab", + "grabbing", ], UndefinedType, ] = Undefined, description: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, dir: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["TextDirection", Literal["ltr", "rtl"]], - ], - UndefinedType, - ] = Undefined, - discreteBandSize: Union[ - Union[Union["RelativeBandSize", dict], float], UndefinedType - ] = Undefined, - dx: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - dy: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, "_Parameter", "SchemaBase", Literal["ltr", "rtl"], UndefinedType ] = Undefined, + discreteBandSize: Union[dict, float, "SchemaBase", UndefinedType] = Undefined, + dx: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, + dy: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, ellipsis: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, endAngle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, fill: Union[ - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], - Union[ - "Gradient", - Union["LinearGradient", dict], - Union["RadialGradient", dict], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, fillOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, filled: Union[bool, UndefinedType] = Undefined, - font: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType - ] = Undefined, + font: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, fontSize: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, fontStyle: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["FontStyle", str]], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, fontWeight: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "FontWeight", - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, height: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - href: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["URI", str]], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + href: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, innerRadius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "Interpolate", - Literal[ - "basis", - "basis-open", - "basis-closed", - "bundle", - "cardinal", - "cardinal-open", - "cardinal-closed", - "catmull-rom", - "linear", - "linear-closed", - "monotone", - "natural", - "step", - "step-before", - "step-after", - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "basis", + "basis-open", + "basis-closed", + "bundle", + "cardinal", + "cardinal-open", + "cardinal-closed", + "catmull-rom", + "linear", + "linear-closed", + "monotone", + "natural", + "step", + "step-before", + "step-after", ], UndefinedType, ] = Undefined, invalid: Union[Literal["filter", None], UndefinedType] = Undefined, limit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, lineBreak: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, lineHeight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, minBandSize: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, opacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, - order: Union[Union[None, bool], UndefinedType] = Undefined, + order: Union[bool, None, UndefinedType] = Undefined, orient: Union[ - Union["Orientation", Literal["horizontal", "vertical"]], UndefinedType + "SchemaBase", Literal["horizontal", "vertical"], UndefinedType ] = Undefined, outerRadius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, padAngle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, radius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, radius2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - shape: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[Union["SymbolShape", str], str], - ], - UndefinedType, - ] = Undefined, - size: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + shape: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, + size: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, smooth: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + bool, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, startAngle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, stroke: Union[ - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], - Union[ - "Gradient", - Union["LinearGradient", dict], - Union["RadialGradient", dict], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, strokeCap: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["StrokeCap", Literal["butt", "round", "square"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, strokeDash: Union[ - Union[Sequence[float], Union["ExprRef", "_Parameter", dict]], UndefinedType + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, strokeDashOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeJoin: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["StrokeJoin", Literal["miter", "round", "bevel"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["miter", "round", "bevel"], UndefinedType, ] = Undefined, strokeMiterLimit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeWidth: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, tension: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, text: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], Union["Text", Sequence[str], str] - ], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", Sequence[str], UndefinedType ] = Undefined, theta: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, theta2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, timeUnitBandPosition: Union[float, UndefinedType] = Undefined, timeUnitBandSize: Union[float, UndefinedType] = Undefined, tooltip: Union[ - Union[ - None, - Union["ExprRef", "_Parameter", dict], - Union["TooltipContent", dict], - bool, - float, - str, - ], - UndefinedType, - ] = Undefined, - url: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["URI", str]], - UndefinedType, + str, bool, dict, None, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + url: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, width: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, x: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, x2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, y: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, y2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, **kwds, ): @@ -38409,8 +33630,6 @@ def __init__( class RelativeBandSize(VegaLiteSchema): """RelativeBandSize schema wrapper - :class:`RelativeBandSize`, Dict[required=[band]] - Parameters ---------- @@ -38428,8 +33647,6 @@ def __init__(self, band: Union[float, UndefinedType] = Undefined, **kwds): class RepeatMapping(VegaLiteSchema): """RepeatMapping schema wrapper - :class:`RepeatMapping`, Dict - Parameters ---------- @@ -38452,8 +33669,6 @@ def __init__( class RepeatRef(Field): """RepeatRef schema wrapper - - :class:`RepeatRef`, Dict[required=[repeat]] Reference to a repeated value. Parameters @@ -38477,8 +33692,6 @@ def __init__( class Resolve(VegaLiteSchema): """Resolve schema wrapper - - :class:`Resolve`, Dict Defines how scales, axes, and legends from different specs should be combined. Resolve is a mapping from ``scale``, ``axis``, and ``legend`` to a mapping from channels to resolutions. Scales and guides can be resolved to be ``"independent"`` or ``"shared"``. @@ -38486,11 +33699,11 @@ class Resolve(VegaLiteSchema): Parameters ---------- - axis : :class:`AxisResolveMap`, Dict + axis : dict, :class:`AxisResolveMap` - legend : :class:`LegendResolveMap`, Dict + legend : dict, :class:`LegendResolveMap` - scale : :class:`ScaleResolveMap`, Dict + scale : dict, :class:`ScaleResolveMap` """ @@ -38498,19 +33711,16 @@ class Resolve(VegaLiteSchema): def __init__( self, - axis: Union[Union["AxisResolveMap", dict], UndefinedType] = Undefined, - legend: Union[Union["LegendResolveMap", dict], UndefinedType] = Undefined, - scale: Union[Union["ScaleResolveMap", dict], UndefinedType] = Undefined, + axis: Union[dict, "SchemaBase", UndefinedType] = Undefined, + legend: Union[dict, "SchemaBase", UndefinedType] = Undefined, + scale: Union[dict, "SchemaBase", UndefinedType] = Undefined, **kwds, ): super(Resolve, self).__init__(axis=axis, legend=legend, scale=scale, **kwds) class ResolveMode(VegaLiteSchema): - """ResolveMode schema wrapper - - :class:`ResolveMode`, Literal['independent', 'shared'] - """ + """ResolveMode schema wrapper""" _schema = {"$ref": "#/definitions/ResolveMode"} @@ -38521,8 +33731,6 @@ def __init__(self, *args): class RowColLayoutAlign(VegaLiteSchema): """RowColLayoutAlign schema wrapper - :class:`RowColLayoutAlign`, Dict - Parameters ---------- @@ -38537,10 +33745,10 @@ class RowColLayoutAlign(VegaLiteSchema): def __init__( self, column: Union[ - Union["LayoutAlign", Literal["all", "each", "none"]], UndefinedType + "SchemaBase", Literal["all", "each", "none"], UndefinedType ] = Undefined, row: Union[ - Union["LayoutAlign", Literal["all", "each", "none"]], UndefinedType + "SchemaBase", Literal["all", "each", "none"], UndefinedType ] = Undefined, **kwds, ): @@ -38550,8 +33758,6 @@ def __init__( class RowColboolean(VegaLiteSchema): """RowColboolean schema wrapper - :class:`RowColboolean`, Dict - Parameters ---------- @@ -38575,8 +33781,6 @@ def __init__( class RowColnumber(VegaLiteSchema): """RowColnumber schema wrapper - :class:`RowColnumber`, Dict - Parameters ---------- @@ -38600,14 +33804,12 @@ def __init__( class RowColumnEncodingFieldDef(VegaLiteSchema): """RowColumnEncodingFieldDef schema wrapper - :class:`RowColumnEncodingFieldDef`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -38633,7 +33835,7 @@ class RowColumnEncodingFieldDef(VegaLiteSchema): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool + bin : bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -38659,7 +33861,7 @@ class RowColumnEncodingFieldDef(VegaLiteSchema): respective rows or columns. **Default value:** ``false`` - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -38674,9 +33876,9 @@ class RowColumnEncodingFieldDef(VegaLiteSchema): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - header : :class:`Header`, Dict, None + header : dict, None, :class:`Header` An object defining properties of a facet's header. - sort : :class:`EncodingSortField`, Dict, :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str], :class:`SortOrder`, Literal['ascending', 'descending'], None + sort : dict, None, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`EncodingSortField`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -38709,7 +33911,7 @@ class RowColumnEncodingFieldDef(VegaLiteSchema): **Default value** : Depends on ``"spacing"`` property of `the view composition configuration `__ ( ``20`` by default) - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -38718,7 +33920,7 @@ class RowColumnEncodingFieldDef(VegaLiteSchema): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -38814,229 +34016,185 @@ class RowColumnEncodingFieldDef(VegaLiteSchema): def __init__( self, shorthand: Union[ - Union[Sequence[str], Union["RepeatRef", dict], str], UndefinedType + str, dict, "SchemaBase", Sequence[str], UndefinedType ] = Undefined, aggregate: Union[ - Union[ - "Aggregate", - Union["ArgmaxDef", dict], - Union["ArgminDef", dict], - Union[ - "NonArgAggregateOp", - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - ], + dict, + "SchemaBase", + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, align: Union[ - Union["LayoutAlign", Literal["all", "each", "none"]], UndefinedType + "SchemaBase", Literal["all", "each", "none"], UndefinedType ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union["BinParams", dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, "SchemaBase", UndefinedType] = Undefined, center: Union[bool, UndefinedType] = Undefined, - field: Union[ - Union["Field", Union["FieldName", str], Union["RepeatRef", dict]], - UndefinedType, - ] = Undefined, - header: Union[Union[None, Union["Header", dict]], UndefinedType] = Undefined, + field: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, + header: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, sort: Union[ - Union[ - None, - Union["EncodingSortField", dict], - Union[ - "SortArray", - Sequence[Union["DateTime", dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - ], - Union["SortOrder", Literal["ascending", "descending"]], - ], + dict, + None, + "SchemaBase", + Sequence[str], + Sequence[bool], + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, "SchemaBase"]], UndefinedType, ] = Undefined, spacing: Union[float, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - "BinnedTimeUnit", - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - ], - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], - ], - Union["TimeUnitParams", dict], - ], - UndefinedType, - ] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType - ] = Undefined, + dict, + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", + ], + UndefinedType, + ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, type: Union[ - Union[ - "StandardType", - Literal["quantitative", "ordinal", "temporal", "nominal"], - ], + "SchemaBase", + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -39062,12 +34220,10 @@ def __init__( class Scale(VegaLiteSchema): """Scale schema wrapper - :class:`Scale`, Dict - Parameters ---------- - align : :class:`ExprRef`, Dict[required=[expr]], float + align : dict, float, :class:`ExprRef` The alignment of the steps within the scale range. This value must lie in the range ``[0,1]``. A value of ``0.5`` indicates that the @@ -39075,9 +34231,9 @@ class Scale(VegaLiteSchema): shift the bands to one side, say to position them adjacent to an axis. **Default value:** ``0.5`` - base : :class:`ExprRef`, Dict[required=[expr]], float + base : dict, float, :class:`ExprRef` The logarithm base of the ``log`` scale (default ``10`` ). - bins : :class:`ScaleBinParams`, Dict[required=[step]], :class:`ScaleBins`, Sequence[float] + bins : dict, Sequence[float], :class:`ScaleBins`, :class:`ScaleBinParams` Bin boundaries can be provided to scales as either an explicit array of bin boundaries or as a bin specification object. The legal values are: @@ -39092,19 +34248,19 @@ class Scale(VegaLiteSchema): *step* size, and optionally the *start* and *stop* boundaries. * An array of bin boundaries over the scale domain. If provided, axes and legends will use the bin boundaries to inform the choice of tick marks and text labels. - clamp : :class:`ExprRef`, Dict[required=[expr]], bool + clamp : bool, dict, :class:`ExprRef` If ``true``, values that exceed the data domain are clamped to either the minimum or maximum range value **Default value:** derived from the `scale config `__ 's ``clamp`` ( ``true`` by default). - constant : :class:`ExprRef`, Dict[required=[expr]], float + constant : dict, float, :class:`ExprRef` A constant determining the slope of the symlog function around zero. Only used for ``symlog`` scales. **Default value:** ``1`` - domain : :class:`DomainUnionWith`, Dict[required=[unionWith]], :class:`ExprRef`, Dict[required=[expr]], :class:`ParameterExtent`, Dict[required=[param]], Sequence[:class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], None, bool, float, str], str + domain : str, dict, :class:`ExprRef`, :class:`DomainUnionWith`, :class:`ParameterExtent`, Sequence[str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`] Customized domain values in the form of constant values or dynamic values driven by a parameter. @@ -39136,27 +34292,27 @@ class Scale(VegaLiteSchema): `interactively determines `__ the scale domain. - domainMax : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], float + domainMax : dict, float, :class:`ExprRef`, :class:`DateTime` Sets the maximum value in the scale domain, overriding the ``domain`` property. This property is only intended for use with scales having continuous domains. - domainMid : :class:`ExprRef`, Dict[required=[expr]], float + domainMid : dict, float, :class:`ExprRef` Inserts a single mid-point value into a two-element domain. The mid-point value must lie between the domain minimum and maximum values. This property can be useful for setting a midpoint for `diverging color scales `__. The domainMid property is only intended for use with scales supporting continuous, piecewise domains. - domainMin : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], float + domainMin : dict, float, :class:`ExprRef`, :class:`DateTime` Sets the minimum value in the scale domain, overriding the domain property. This property is only intended for use with scales having continuous domains. - domainRaw : :class:`ExprRef`, Dict[required=[expr]] + domainRaw : dict, :class:`ExprRef` An expression for an array of raw values that, if non-null, directly overrides the *domain* property. This is useful for supporting interactions such as panning or zooming a scale. The scale may be initially determined using a data-driven domain, then modified in response to user input by setting the rawDomain value. - exponent : :class:`ExprRef`, Dict[required=[expr]], float + exponent : dict, float, :class:`ExprRef` The exponent of the ``pow`` scale. - interpolate : :class:`ExprRef`, Dict[required=[expr]], :class:`ScaleInterpolateEnum`, Literal['rgb', 'lab', 'hcl', 'hsl', 'hsl-long', 'hcl-long', 'cubehelix', 'cubehelix-long'], :class:`ScaleInterpolateParams`, Dict[required=[type]] + interpolate : dict, :class:`ExprRef`, :class:`ScaleInterpolateEnum`, :class:`ScaleInterpolateParams`, Literal['rgb', 'lab', 'hcl', 'hsl', 'hsl-long', 'hcl-long', 'cubehelix', 'cubehelix-long'] The interpolation method for range values. By default, a general interpolator for numbers, dates, strings and colors (in HCL space) is used. For color ranges, this property allows interpolation in alternative color spaces. Legal values include @@ -39169,7 +34325,7 @@ class Scale(VegaLiteSchema): * **Default value:** ``hcl`` - nice : :class:`ExprRef`, Dict[required=[expr]], :class:`TimeIntervalStep`, Dict[required=[interval, step]], :class:`TimeInterval`, Literal['millisecond', 'second', 'minute', 'hour', 'day', 'week', 'month', 'year'], bool, float + nice : bool, dict, float, :class:`ExprRef`, :class:`TimeInterval`, :class:`TimeIntervalStep`, Literal['millisecond', 'second', 'minute', 'hour', 'day', 'week', 'month', 'year'] Extending the domain so that it starts and ends on nice round values. This method typically modifies the scale’s domain, and may only extend the bounds to the nearest round value. Nicing is useful if the domain is computed from data and may be @@ -39191,7 +34347,7 @@ class Scale(VegaLiteSchema): **Default value:** ``true`` for unbinned *quantitative* fields without explicit domain bounds; ``false`` otherwise. - padding : :class:`ExprRef`, Dict[required=[expr]], float + padding : dict, float, :class:`ExprRef` For * `continuous `__ * scales, expands the scale domain to accommodate the specified number of pixels on each of the scale range. The scale range must represent pixels for this parameter to @@ -39210,7 +34366,7 @@ class Scale(VegaLiteSchema): ``continuousPadding``. For *band and point* scales, see ``paddingInner`` and ``paddingOuter``. By default, Vega-Lite sets padding such that *width/height = number of unique values * step*. - paddingInner : :class:`ExprRef`, Dict[required=[expr]], float + paddingInner : dict, float, :class:`ExprRef` The inner padding (spacing) within each band step of band scales, as a fraction of the step size. This value must lie in the range [0,1]. @@ -39220,7 +34376,7 @@ class Scale(VegaLiteSchema): **Default value:** derived from the `scale config `__ 's ``bandPaddingInner``. - paddingOuter : :class:`ExprRef`, Dict[required=[expr]], float + paddingOuter : dict, float, :class:`ExprRef` The outer padding (spacing) at the ends of the range of band and point scales, as a fraction of the step size. This value must lie in the range [0,1]. @@ -39228,7 +34384,7 @@ class Scale(VegaLiteSchema): `__ 's ``bandPaddingOuter`` for band scales and ``pointPadding`` for point scales. By default, Vega-Lite sets outer padding such that *width/height = number of unique values * step*. - range : :class:`FieldRange`, Dict[required=[field]], :class:`RangeEnum`, Literal['width', 'height', 'symbol', 'category', 'ordinal', 'ramp', 'diverging', 'heatmap'], Sequence[:class:`ExprRef`, Dict[required=[expr]], Sequence[float], float, str] + range : dict, :class:`RangeEnum`, :class:`FieldRange`, Sequence[str, dict, float, Sequence[float], :class:`ExprRef`], Literal['width', 'height', 'symbol', 'category', 'ordinal', 'ramp', 'diverging', 'heatmap'] The range of the scale. One of: @@ -39256,22 +34412,22 @@ class Scale(VegaLiteSchema): 2) Any directly specified ``range`` for ``x`` and ``y`` channels will be ignored. Range can be customized via the view's corresponding `size `__ ( ``width`` and ``height`` ). - rangeMax : :class:`ExprRef`, Dict[required=[expr]], float, str + rangeMax : str, dict, float, :class:`ExprRef` Sets the maximum value in the scale range, overriding the ``range`` property or the default range. This property is only intended for use with scales having continuous ranges. - rangeMin : :class:`ExprRef`, Dict[required=[expr]], float, str + rangeMin : str, dict, float, :class:`ExprRef` Sets the minimum value in the scale range, overriding the ``range`` property or the default range. This property is only intended for use with scales having continuous ranges. - reverse : :class:`ExprRef`, Dict[required=[expr]], bool + reverse : bool, dict, :class:`ExprRef` If true, reverses the order of the scale range. **Default value:** ``false``. - round : :class:`ExprRef`, Dict[required=[expr]], bool + round : bool, dict, :class:`ExprRef` If ``true``, rounds numeric output values to integers. This can be helpful for snapping to the pixel grid. **Default value:** ``false``. - scheme : :class:`Categorical`, Literal['accent', 'category10', 'category20', 'category20b', 'category20c', 'dark2', 'paired', 'pastel1', 'pastel2', 'set1', 'set2', 'set3', 'tableau10', 'tableau20'], :class:`ColorScheme`, :class:`Cyclical`, Literal['rainbow', 'sinebow'], :class:`Diverging`, Literal['blueorange', 'blueorange-3', 'blueorange-4', 'blueorange-5', 'blueorange-6', 'blueorange-7', 'blueorange-8', 'blueorange-9', 'blueorange-10', 'blueorange-11', 'brownbluegreen', 'brownbluegreen-3', 'brownbluegreen-4', 'brownbluegreen-5', 'brownbluegreen-6', 'brownbluegreen-7', 'brownbluegreen-8', 'brownbluegreen-9', 'brownbluegreen-10', 'brownbluegreen-11', 'purplegreen', 'purplegreen-3', 'purplegreen-4', 'purplegreen-5', 'purplegreen-6', 'purplegreen-7', 'purplegreen-8', 'purplegreen-9', 'purplegreen-10', 'purplegreen-11', 'pinkyellowgreen', 'pinkyellowgreen-3', 'pinkyellowgreen-4', 'pinkyellowgreen-5', 'pinkyellowgreen-6', 'pinkyellowgreen-7', 'pinkyellowgreen-8', 'pinkyellowgreen-9', 'pinkyellowgreen-10', 'pinkyellowgreen-11', 'purpleorange', 'purpleorange-3', 'purpleorange-4', 'purpleorange-5', 'purpleorange-6', 'purpleorange-7', 'purpleorange-8', 'purpleorange-9', 'purpleorange-10', 'purpleorange-11', 'redblue', 'redblue-3', 'redblue-4', 'redblue-5', 'redblue-6', 'redblue-7', 'redblue-8', 'redblue-9', 'redblue-10', 'redblue-11', 'redgrey', 'redgrey-3', 'redgrey-4', 'redgrey-5', 'redgrey-6', 'redgrey-7', 'redgrey-8', 'redgrey-9', 'redgrey-10', 'redgrey-11', 'redyellowblue', 'redyellowblue-3', 'redyellowblue-4', 'redyellowblue-5', 'redyellowblue-6', 'redyellowblue-7', 'redyellowblue-8', 'redyellowblue-9', 'redyellowblue-10', 'redyellowblue-11', 'redyellowgreen', 'redyellowgreen-3', 'redyellowgreen-4', 'redyellowgreen-5', 'redyellowgreen-6', 'redyellowgreen-7', 'redyellowgreen-8', 'redyellowgreen-9', 'redyellowgreen-10', 'redyellowgreen-11', 'spectral', 'spectral-3', 'spectral-4', 'spectral-5', 'spectral-6', 'spectral-7', 'spectral-8', 'spectral-9', 'spectral-10', 'spectral-11'], :class:`SequentialMultiHue`, Literal['turbo', 'viridis', 'inferno', 'magma', 'plasma', 'cividis', 'bluegreen', 'bluegreen-3', 'bluegreen-4', 'bluegreen-5', 'bluegreen-6', 'bluegreen-7', 'bluegreen-8', 'bluegreen-9', 'bluepurple', 'bluepurple-3', 'bluepurple-4', 'bluepurple-5', 'bluepurple-6', 'bluepurple-7', 'bluepurple-8', 'bluepurple-9', 'goldgreen', 'goldgreen-3', 'goldgreen-4', 'goldgreen-5', 'goldgreen-6', 'goldgreen-7', 'goldgreen-8', 'goldgreen-9', 'goldorange', 'goldorange-3', 'goldorange-4', 'goldorange-5', 'goldorange-6', 'goldorange-7', 'goldorange-8', 'goldorange-9', 'goldred', 'goldred-3', 'goldred-4', 'goldred-5', 'goldred-6', 'goldred-7', 'goldred-8', 'goldred-9', 'greenblue', 'greenblue-3', 'greenblue-4', 'greenblue-5', 'greenblue-6', 'greenblue-7', 'greenblue-8', 'greenblue-9', 'orangered', 'orangered-3', 'orangered-4', 'orangered-5', 'orangered-6', 'orangered-7', 'orangered-8', 'orangered-9', 'purplebluegreen', 'purplebluegreen-3', 'purplebluegreen-4', 'purplebluegreen-5', 'purplebluegreen-6', 'purplebluegreen-7', 'purplebluegreen-8', 'purplebluegreen-9', 'purpleblue', 'purpleblue-3', 'purpleblue-4', 'purpleblue-5', 'purpleblue-6', 'purpleblue-7', 'purpleblue-8', 'purpleblue-9', 'purplered', 'purplered-3', 'purplered-4', 'purplered-5', 'purplered-6', 'purplered-7', 'purplered-8', 'purplered-9', 'redpurple', 'redpurple-3', 'redpurple-4', 'redpurple-5', 'redpurple-6', 'redpurple-7', 'redpurple-8', 'redpurple-9', 'yellowgreenblue', 'yellowgreenblue-3', 'yellowgreenblue-4', 'yellowgreenblue-5', 'yellowgreenblue-6', 'yellowgreenblue-7', 'yellowgreenblue-8', 'yellowgreenblue-9', 'yellowgreen', 'yellowgreen-3', 'yellowgreen-4', 'yellowgreen-5', 'yellowgreen-6', 'yellowgreen-7', 'yellowgreen-8', 'yellowgreen-9', 'yelloworangebrown', 'yelloworangebrown-3', 'yelloworangebrown-4', 'yelloworangebrown-5', 'yelloworangebrown-6', 'yelloworangebrown-7', 'yelloworangebrown-8', 'yelloworangebrown-9', 'yelloworangered', 'yelloworangered-3', 'yelloworangered-4', 'yelloworangered-5', 'yelloworangered-6', 'yelloworangered-7', 'yelloworangered-8', 'yelloworangered-9', 'darkblue', 'darkblue-3', 'darkblue-4', 'darkblue-5', 'darkblue-6', 'darkblue-7', 'darkblue-8', 'darkblue-9', 'darkgold', 'darkgold-3', 'darkgold-4', 'darkgold-5', 'darkgold-6', 'darkgold-7', 'darkgold-8', 'darkgold-9', 'darkgreen', 'darkgreen-3', 'darkgreen-4', 'darkgreen-5', 'darkgreen-6', 'darkgreen-7', 'darkgreen-8', 'darkgreen-9', 'darkmulti', 'darkmulti-3', 'darkmulti-4', 'darkmulti-5', 'darkmulti-6', 'darkmulti-7', 'darkmulti-8', 'darkmulti-9', 'darkred', 'darkred-3', 'darkred-4', 'darkred-5', 'darkred-6', 'darkred-7', 'darkred-8', 'darkred-9', 'lightgreyred', 'lightgreyred-3', 'lightgreyred-4', 'lightgreyred-5', 'lightgreyred-6', 'lightgreyred-7', 'lightgreyred-8', 'lightgreyred-9', 'lightgreyteal', 'lightgreyteal-3', 'lightgreyteal-4', 'lightgreyteal-5', 'lightgreyteal-6', 'lightgreyteal-7', 'lightgreyteal-8', 'lightgreyteal-9', 'lightmulti', 'lightmulti-3', 'lightmulti-4', 'lightmulti-5', 'lightmulti-6', 'lightmulti-7', 'lightmulti-8', 'lightmulti-9', 'lightorange', 'lightorange-3', 'lightorange-4', 'lightorange-5', 'lightorange-6', 'lightorange-7', 'lightorange-8', 'lightorange-9', 'lighttealblue', 'lighttealblue-3', 'lighttealblue-4', 'lighttealblue-5', 'lighttealblue-6', 'lighttealblue-7', 'lighttealblue-8', 'lighttealblue-9'], :class:`SequentialSingleHue`, Literal['blues', 'tealblues', 'teals', 'greens', 'browns', 'greys', 'purples', 'warmgreys', 'reds', 'oranges'], :class:`ExprRef`, Dict[required=[expr]], :class:`SchemeParams`, Dict[required=[name]] + scheme : dict, :class:`ExprRef`, :class:`Cyclical`, :class:`Diverging`, :class:`Categorical`, :class:`ColorScheme`, :class:`SchemeParams`, :class:`SequentialMultiHue`, :class:`SequentialSingleHue`, Literal['rainbow', 'sinebow'], Literal['blues', 'tealblues', 'teals', 'greens', 'browns', 'greys', 'purples', 'warmgreys', 'reds', 'oranges'], Literal['accent', 'category10', 'category20', 'category20b', 'category20c', 'dark2', 'paired', 'pastel1', 'pastel2', 'set1', 'set2', 'set3', 'tableau10', 'tableau20'], Literal['blueorange', 'blueorange-3', 'blueorange-4', 'blueorange-5', 'blueorange-6', 'blueorange-7', 'blueorange-8', 'blueorange-9', 'blueorange-10', 'blueorange-11', 'brownbluegreen', 'brownbluegreen-3', 'brownbluegreen-4', 'brownbluegreen-5', 'brownbluegreen-6', 'brownbluegreen-7', 'brownbluegreen-8', 'brownbluegreen-9', 'brownbluegreen-10', 'brownbluegreen-11', 'purplegreen', 'purplegreen-3', 'purplegreen-4', 'purplegreen-5', 'purplegreen-6', 'purplegreen-7', 'purplegreen-8', 'purplegreen-9', 'purplegreen-10', 'purplegreen-11', 'pinkyellowgreen', 'pinkyellowgreen-3', 'pinkyellowgreen-4', 'pinkyellowgreen-5', 'pinkyellowgreen-6', 'pinkyellowgreen-7', 'pinkyellowgreen-8', 'pinkyellowgreen-9', 'pinkyellowgreen-10', 'pinkyellowgreen-11', 'purpleorange', 'purpleorange-3', 'purpleorange-4', 'purpleorange-5', 'purpleorange-6', 'purpleorange-7', 'purpleorange-8', 'purpleorange-9', 'purpleorange-10', 'purpleorange-11', 'redblue', 'redblue-3', 'redblue-4', 'redblue-5', 'redblue-6', 'redblue-7', 'redblue-8', 'redblue-9', 'redblue-10', 'redblue-11', 'redgrey', 'redgrey-3', 'redgrey-4', 'redgrey-5', 'redgrey-6', 'redgrey-7', 'redgrey-8', 'redgrey-9', 'redgrey-10', 'redgrey-11', 'redyellowblue', 'redyellowblue-3', 'redyellowblue-4', 'redyellowblue-5', 'redyellowblue-6', 'redyellowblue-7', 'redyellowblue-8', 'redyellowblue-9', 'redyellowblue-10', 'redyellowblue-11', 'redyellowgreen', 'redyellowgreen-3', 'redyellowgreen-4', 'redyellowgreen-5', 'redyellowgreen-6', 'redyellowgreen-7', 'redyellowgreen-8', 'redyellowgreen-9', 'redyellowgreen-10', 'redyellowgreen-11', 'spectral', 'spectral-3', 'spectral-4', 'spectral-5', 'spectral-6', 'spectral-7', 'spectral-8', 'spectral-9', 'spectral-10', 'spectral-11'], Literal['turbo', 'viridis', 'inferno', 'magma', 'plasma', 'cividis', 'bluegreen', 'bluegreen-3', 'bluegreen-4', 'bluegreen-5', 'bluegreen-6', 'bluegreen-7', 'bluegreen-8', 'bluegreen-9', 'bluepurple', 'bluepurple-3', 'bluepurple-4', 'bluepurple-5', 'bluepurple-6', 'bluepurple-7', 'bluepurple-8', 'bluepurple-9', 'goldgreen', 'goldgreen-3', 'goldgreen-4', 'goldgreen-5', 'goldgreen-6', 'goldgreen-7', 'goldgreen-8', 'goldgreen-9', 'goldorange', 'goldorange-3', 'goldorange-4', 'goldorange-5', 'goldorange-6', 'goldorange-7', 'goldorange-8', 'goldorange-9', 'goldred', 'goldred-3', 'goldred-4', 'goldred-5', 'goldred-6', 'goldred-7', 'goldred-8', 'goldred-9', 'greenblue', 'greenblue-3', 'greenblue-4', 'greenblue-5', 'greenblue-6', 'greenblue-7', 'greenblue-8', 'greenblue-9', 'orangered', 'orangered-3', 'orangered-4', 'orangered-5', 'orangered-6', 'orangered-7', 'orangered-8', 'orangered-9', 'purplebluegreen', 'purplebluegreen-3', 'purplebluegreen-4', 'purplebluegreen-5', 'purplebluegreen-6', 'purplebluegreen-7', 'purplebluegreen-8', 'purplebluegreen-9', 'purpleblue', 'purpleblue-3', 'purpleblue-4', 'purpleblue-5', 'purpleblue-6', 'purpleblue-7', 'purpleblue-8', 'purpleblue-9', 'purplered', 'purplered-3', 'purplered-4', 'purplered-5', 'purplered-6', 'purplered-7', 'purplered-8', 'purplered-9', 'redpurple', 'redpurple-3', 'redpurple-4', 'redpurple-5', 'redpurple-6', 'redpurple-7', 'redpurple-8', 'redpurple-9', 'yellowgreenblue', 'yellowgreenblue-3', 'yellowgreenblue-4', 'yellowgreenblue-5', 'yellowgreenblue-6', 'yellowgreenblue-7', 'yellowgreenblue-8', 'yellowgreenblue-9', 'yellowgreen', 'yellowgreen-3', 'yellowgreen-4', 'yellowgreen-5', 'yellowgreen-6', 'yellowgreen-7', 'yellowgreen-8', 'yellowgreen-9', 'yelloworangebrown', 'yelloworangebrown-3', 'yelloworangebrown-4', 'yelloworangebrown-5', 'yelloworangebrown-6', 'yelloworangebrown-7', 'yelloworangebrown-8', 'yelloworangebrown-9', 'yelloworangered', 'yelloworangered-3', 'yelloworangered-4', 'yelloworangered-5', 'yelloworangered-6', 'yelloworangered-7', 'yelloworangered-8', 'yelloworangered-9', 'darkblue', 'darkblue-3', 'darkblue-4', 'darkblue-5', 'darkblue-6', 'darkblue-7', 'darkblue-8', 'darkblue-9', 'darkgold', 'darkgold-3', 'darkgold-4', 'darkgold-5', 'darkgold-6', 'darkgold-7', 'darkgold-8', 'darkgold-9', 'darkgreen', 'darkgreen-3', 'darkgreen-4', 'darkgreen-5', 'darkgreen-6', 'darkgreen-7', 'darkgreen-8', 'darkgreen-9', 'darkmulti', 'darkmulti-3', 'darkmulti-4', 'darkmulti-5', 'darkmulti-6', 'darkmulti-7', 'darkmulti-8', 'darkmulti-9', 'darkred', 'darkred-3', 'darkred-4', 'darkred-5', 'darkred-6', 'darkred-7', 'darkred-8', 'darkred-9', 'lightgreyred', 'lightgreyred-3', 'lightgreyred-4', 'lightgreyred-5', 'lightgreyred-6', 'lightgreyred-7', 'lightgreyred-8', 'lightgreyred-9', 'lightgreyteal', 'lightgreyteal-3', 'lightgreyteal-4', 'lightgreyteal-5', 'lightgreyteal-6', 'lightgreyteal-7', 'lightgreyteal-8', 'lightgreyteal-9', 'lightmulti', 'lightmulti-3', 'lightmulti-4', 'lightmulti-5', 'lightmulti-6', 'lightmulti-7', 'lightmulti-8', 'lightmulti-9', 'lightorange', 'lightorange-3', 'lightorange-4', 'lightorange-5', 'lightorange-6', 'lightorange-7', 'lightorange-8', 'lightorange-9', 'lighttealblue', 'lighttealblue-3', 'lighttealblue-4', 'lighttealblue-5', 'lighttealblue-6', 'lighttealblue-7', 'lighttealblue-8', 'lighttealblue-9'] A string indicating a color `scheme `__ name (e.g., ``"category10"`` or ``"blues"`` ) or a `scheme parameter object @@ -39314,7 +34470,7 @@ class Scale(VegaLiteSchema): **Default value:** please see the `scale type table `__. - zero : :class:`ExprRef`, Dict[required=[expr]], bool + zero : bool, dict, :class:`ExprRef` If ``true``, ensures that a zero baseline value is included in the scale domain. **Default value:** ``true`` for x and y channels if the quantitative field is not @@ -39328,535 +34484,474 @@ class Scale(VegaLiteSchema): def __init__( self, align: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - base: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - bins: Union[ - Union["ScaleBins", Sequence[float], Union["ScaleBinParams", dict]], - UndefinedType, - ] = Undefined, - clamp: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + base: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, + bins: Union[dict, "SchemaBase", Sequence[float], UndefinedType] = Undefined, + clamp: Union[bool, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, constant: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, domain: Union[ - Union[ - Sequence[ - Union[ - None, - Union["DateTime", dict], - Union["ExprRef", "_Parameter", dict], - bool, - float, - str, - ] - ], - Union["DomainUnionWith", dict], - Union["ExprRef", "_Parameter", dict], - Union["ParameterExtent", "_Parameter", dict], - str, - ], + str, + dict, + "_Parameter", + "SchemaBase", + Sequence[Union[str, bool, dict, None, float, "_Parameter", "SchemaBase"]], UndefinedType, ] = Undefined, domainMax: Union[ - Union[Union["DateTime", dict], Union["ExprRef", "_Parameter", dict], float], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, domainMid: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, domainMin: Union[ - Union[Union["DateTime", dict], Union["ExprRef", "_Parameter", dict], float], - UndefinedType, - ] = Undefined, - domainRaw: Union[ - Union["ExprRef", "_Parameter", dict], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + domainRaw: Union[dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, exponent: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "ScaleInterpolateEnum", - Literal[ - "rgb", - "lab", - "hcl", - "hsl", - "hsl-long", - "hcl-long", - "cubehelix", - "cubehelix-long", - ], - ], - Union["ScaleInterpolateParams", dict], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "rgb", + "lab", + "hcl", + "hsl", + "hsl-long", + "hcl-long", + "cubehelix", + "cubehelix-long", ], UndefinedType, ] = Undefined, nice: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "TimeInterval", - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], - ], - Union["TimeIntervalStep", dict], - bool, - float, + bool, + dict, + float, + "_Parameter", + "SchemaBase", + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, padding: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, paddingInner: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, paddingOuter: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, range: Union[ - Union[ - Sequence[ - Union[ - Sequence[float], - Union["ExprRef", "_Parameter", dict], - float, - str, - ] - ], - Union["FieldRange", dict], - Union[ - "RangeEnum", - Literal[ - "width", - "height", - "symbol", - "category", - "ordinal", - "ramp", - "diverging", - "heatmap", - ], - ], + dict, + "SchemaBase", + Sequence[ + Union[str, dict, float, "_Parameter", "SchemaBase", Sequence[float]] + ], + Literal[ + "width", + "height", + "symbol", + "category", + "ordinal", + "ramp", + "diverging", + "heatmap", ], UndefinedType, ] = Undefined, rangeMax: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, rangeMin: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, reverse: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType - ] = Undefined, - round: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + bool, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + round: Union[bool, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, scheme: Union[ - Union[ - Union[ - "ColorScheme", - Union[ - "Categorical", - Literal[ - "accent", - "category10", - "category20", - "category20b", - "category20c", - "dark2", - "paired", - "pastel1", - "pastel2", - "set1", - "set2", - "set3", - "tableau10", - "tableau20", - ], - ], - Union["Cyclical", Literal["rainbow", "sinebow"]], - Union[ - "Diverging", - Literal[ - "blueorange", - "blueorange-3", - "blueorange-4", - "blueorange-5", - "blueorange-6", - "blueorange-7", - "blueorange-8", - "blueorange-9", - "blueorange-10", - "blueorange-11", - "brownbluegreen", - "brownbluegreen-3", - "brownbluegreen-4", - "brownbluegreen-5", - "brownbluegreen-6", - "brownbluegreen-7", - "brownbluegreen-8", - "brownbluegreen-9", - "brownbluegreen-10", - "brownbluegreen-11", - "purplegreen", - "purplegreen-3", - "purplegreen-4", - "purplegreen-5", - "purplegreen-6", - "purplegreen-7", - "purplegreen-8", - "purplegreen-9", - "purplegreen-10", - "purplegreen-11", - "pinkyellowgreen", - "pinkyellowgreen-3", - "pinkyellowgreen-4", - "pinkyellowgreen-5", - "pinkyellowgreen-6", - "pinkyellowgreen-7", - "pinkyellowgreen-8", - "pinkyellowgreen-9", - "pinkyellowgreen-10", - "pinkyellowgreen-11", - "purpleorange", - "purpleorange-3", - "purpleorange-4", - "purpleorange-5", - "purpleorange-6", - "purpleorange-7", - "purpleorange-8", - "purpleorange-9", - "purpleorange-10", - "purpleorange-11", - "redblue", - "redblue-3", - "redblue-4", - "redblue-5", - "redblue-6", - "redblue-7", - "redblue-8", - "redblue-9", - "redblue-10", - "redblue-11", - "redgrey", - "redgrey-3", - "redgrey-4", - "redgrey-5", - "redgrey-6", - "redgrey-7", - "redgrey-8", - "redgrey-9", - "redgrey-10", - "redgrey-11", - "redyellowblue", - "redyellowblue-3", - "redyellowblue-4", - "redyellowblue-5", - "redyellowblue-6", - "redyellowblue-7", - "redyellowblue-8", - "redyellowblue-9", - "redyellowblue-10", - "redyellowblue-11", - "redyellowgreen", - "redyellowgreen-3", - "redyellowgreen-4", - "redyellowgreen-5", - "redyellowgreen-6", - "redyellowgreen-7", - "redyellowgreen-8", - "redyellowgreen-9", - "redyellowgreen-10", - "redyellowgreen-11", - "spectral", - "spectral-3", - "spectral-4", - "spectral-5", - "spectral-6", - "spectral-7", - "spectral-8", - "spectral-9", - "spectral-10", - "spectral-11", - ], - ], - Union[ - "SequentialMultiHue", - Literal[ - "turbo", - "viridis", - "inferno", - "magma", - "plasma", - "cividis", - "bluegreen", - "bluegreen-3", - "bluegreen-4", - "bluegreen-5", - "bluegreen-6", - "bluegreen-7", - "bluegreen-8", - "bluegreen-9", - "bluepurple", - "bluepurple-3", - "bluepurple-4", - "bluepurple-5", - "bluepurple-6", - "bluepurple-7", - "bluepurple-8", - "bluepurple-9", - "goldgreen", - "goldgreen-3", - "goldgreen-4", - "goldgreen-5", - "goldgreen-6", - "goldgreen-7", - "goldgreen-8", - "goldgreen-9", - "goldorange", - "goldorange-3", - "goldorange-4", - "goldorange-5", - "goldorange-6", - "goldorange-7", - "goldorange-8", - "goldorange-9", - "goldred", - "goldred-3", - "goldred-4", - "goldred-5", - "goldred-6", - "goldred-7", - "goldred-8", - "goldred-9", - "greenblue", - "greenblue-3", - "greenblue-4", - "greenblue-5", - "greenblue-6", - "greenblue-7", - "greenblue-8", - "greenblue-9", - "orangered", - "orangered-3", - "orangered-4", - "orangered-5", - "orangered-6", - "orangered-7", - "orangered-8", - "orangered-9", - "purplebluegreen", - "purplebluegreen-3", - "purplebluegreen-4", - "purplebluegreen-5", - "purplebluegreen-6", - "purplebluegreen-7", - "purplebluegreen-8", - "purplebluegreen-9", - "purpleblue", - "purpleblue-3", - "purpleblue-4", - "purpleblue-5", - "purpleblue-6", - "purpleblue-7", - "purpleblue-8", - "purpleblue-9", - "purplered", - "purplered-3", - "purplered-4", - "purplered-5", - "purplered-6", - "purplered-7", - "purplered-8", - "purplered-9", - "redpurple", - "redpurple-3", - "redpurple-4", - "redpurple-5", - "redpurple-6", - "redpurple-7", - "redpurple-8", - "redpurple-9", - "yellowgreenblue", - "yellowgreenblue-3", - "yellowgreenblue-4", - "yellowgreenblue-5", - "yellowgreenblue-6", - "yellowgreenblue-7", - "yellowgreenblue-8", - "yellowgreenblue-9", - "yellowgreen", - "yellowgreen-3", - "yellowgreen-4", - "yellowgreen-5", - "yellowgreen-6", - "yellowgreen-7", - "yellowgreen-8", - "yellowgreen-9", - "yelloworangebrown", - "yelloworangebrown-3", - "yelloworangebrown-4", - "yelloworangebrown-5", - "yelloworangebrown-6", - "yelloworangebrown-7", - "yelloworangebrown-8", - "yelloworangebrown-9", - "yelloworangered", - "yelloworangered-3", - "yelloworangered-4", - "yelloworangered-5", - "yelloworangered-6", - "yelloworangered-7", - "yelloworangered-8", - "yelloworangered-9", - "darkblue", - "darkblue-3", - "darkblue-4", - "darkblue-5", - "darkblue-6", - "darkblue-7", - "darkblue-8", - "darkblue-9", - "darkgold", - "darkgold-3", - "darkgold-4", - "darkgold-5", - "darkgold-6", - "darkgold-7", - "darkgold-8", - "darkgold-9", - "darkgreen", - "darkgreen-3", - "darkgreen-4", - "darkgreen-5", - "darkgreen-6", - "darkgreen-7", - "darkgreen-8", - "darkgreen-9", - "darkmulti", - "darkmulti-3", - "darkmulti-4", - "darkmulti-5", - "darkmulti-6", - "darkmulti-7", - "darkmulti-8", - "darkmulti-9", - "darkred", - "darkred-3", - "darkred-4", - "darkred-5", - "darkred-6", - "darkred-7", - "darkred-8", - "darkred-9", - "lightgreyred", - "lightgreyred-3", - "lightgreyred-4", - "lightgreyred-5", - "lightgreyred-6", - "lightgreyred-7", - "lightgreyred-8", - "lightgreyred-9", - "lightgreyteal", - "lightgreyteal-3", - "lightgreyteal-4", - "lightgreyteal-5", - "lightgreyteal-6", - "lightgreyteal-7", - "lightgreyteal-8", - "lightgreyteal-9", - "lightmulti", - "lightmulti-3", - "lightmulti-4", - "lightmulti-5", - "lightmulti-6", - "lightmulti-7", - "lightmulti-8", - "lightmulti-9", - "lightorange", - "lightorange-3", - "lightorange-4", - "lightorange-5", - "lightorange-6", - "lightorange-7", - "lightorange-8", - "lightorange-9", - "lighttealblue", - "lighttealblue-3", - "lighttealblue-4", - "lighttealblue-5", - "lighttealblue-6", - "lighttealblue-7", - "lighttealblue-8", - "lighttealblue-9", - ], - ], - Union[ - "SequentialSingleHue", - Literal[ - "blues", - "tealblues", - "teals", - "greens", - "browns", - "greys", - "purples", - "warmgreys", - "reds", - "oranges", - ], - ], - ], - Union["ExprRef", "_Parameter", dict], - Union["SchemeParams", dict], + dict, + "_Parameter", + "SchemaBase", + Literal["rainbow", "sinebow"], + Literal[ + "blues", + "tealblues", + "teals", + "greens", + "browns", + "greys", + "purples", + "warmgreys", + "reds", + "oranges", + ], + Literal[ + "accent", + "category10", + "category20", + "category20b", + "category20c", + "dark2", + "paired", + "pastel1", + "pastel2", + "set1", + "set2", + "set3", + "tableau10", + "tableau20", + ], + Literal[ + "blueorange", + "blueorange-3", + "blueorange-4", + "blueorange-5", + "blueorange-6", + "blueorange-7", + "blueorange-8", + "blueorange-9", + "blueorange-10", + "blueorange-11", + "brownbluegreen", + "brownbluegreen-3", + "brownbluegreen-4", + "brownbluegreen-5", + "brownbluegreen-6", + "brownbluegreen-7", + "brownbluegreen-8", + "brownbluegreen-9", + "brownbluegreen-10", + "brownbluegreen-11", + "purplegreen", + "purplegreen-3", + "purplegreen-4", + "purplegreen-5", + "purplegreen-6", + "purplegreen-7", + "purplegreen-8", + "purplegreen-9", + "purplegreen-10", + "purplegreen-11", + "pinkyellowgreen", + "pinkyellowgreen-3", + "pinkyellowgreen-4", + "pinkyellowgreen-5", + "pinkyellowgreen-6", + "pinkyellowgreen-7", + "pinkyellowgreen-8", + "pinkyellowgreen-9", + "pinkyellowgreen-10", + "pinkyellowgreen-11", + "purpleorange", + "purpleorange-3", + "purpleorange-4", + "purpleorange-5", + "purpleorange-6", + "purpleorange-7", + "purpleorange-8", + "purpleorange-9", + "purpleorange-10", + "purpleorange-11", + "redblue", + "redblue-3", + "redblue-4", + "redblue-5", + "redblue-6", + "redblue-7", + "redblue-8", + "redblue-9", + "redblue-10", + "redblue-11", + "redgrey", + "redgrey-3", + "redgrey-4", + "redgrey-5", + "redgrey-6", + "redgrey-7", + "redgrey-8", + "redgrey-9", + "redgrey-10", + "redgrey-11", + "redyellowblue", + "redyellowblue-3", + "redyellowblue-4", + "redyellowblue-5", + "redyellowblue-6", + "redyellowblue-7", + "redyellowblue-8", + "redyellowblue-9", + "redyellowblue-10", + "redyellowblue-11", + "redyellowgreen", + "redyellowgreen-3", + "redyellowgreen-4", + "redyellowgreen-5", + "redyellowgreen-6", + "redyellowgreen-7", + "redyellowgreen-8", + "redyellowgreen-9", + "redyellowgreen-10", + "redyellowgreen-11", + "spectral", + "spectral-3", + "spectral-4", + "spectral-5", + "spectral-6", + "spectral-7", + "spectral-8", + "spectral-9", + "spectral-10", + "spectral-11", + ], + Literal[ + "turbo", + "viridis", + "inferno", + "magma", + "plasma", + "cividis", + "bluegreen", + "bluegreen-3", + "bluegreen-4", + "bluegreen-5", + "bluegreen-6", + "bluegreen-7", + "bluegreen-8", + "bluegreen-9", + "bluepurple", + "bluepurple-3", + "bluepurple-4", + "bluepurple-5", + "bluepurple-6", + "bluepurple-7", + "bluepurple-8", + "bluepurple-9", + "goldgreen", + "goldgreen-3", + "goldgreen-4", + "goldgreen-5", + "goldgreen-6", + "goldgreen-7", + "goldgreen-8", + "goldgreen-9", + "goldorange", + "goldorange-3", + "goldorange-4", + "goldorange-5", + "goldorange-6", + "goldorange-7", + "goldorange-8", + "goldorange-9", + "goldred", + "goldred-3", + "goldred-4", + "goldred-5", + "goldred-6", + "goldred-7", + "goldred-8", + "goldred-9", + "greenblue", + "greenblue-3", + "greenblue-4", + "greenblue-5", + "greenblue-6", + "greenblue-7", + "greenblue-8", + "greenblue-9", + "orangered", + "orangered-3", + "orangered-4", + "orangered-5", + "orangered-6", + "orangered-7", + "orangered-8", + "orangered-9", + "purplebluegreen", + "purplebluegreen-3", + "purplebluegreen-4", + "purplebluegreen-5", + "purplebluegreen-6", + "purplebluegreen-7", + "purplebluegreen-8", + "purplebluegreen-9", + "purpleblue", + "purpleblue-3", + "purpleblue-4", + "purpleblue-5", + "purpleblue-6", + "purpleblue-7", + "purpleblue-8", + "purpleblue-9", + "purplered", + "purplered-3", + "purplered-4", + "purplered-5", + "purplered-6", + "purplered-7", + "purplered-8", + "purplered-9", + "redpurple", + "redpurple-3", + "redpurple-4", + "redpurple-5", + "redpurple-6", + "redpurple-7", + "redpurple-8", + "redpurple-9", + "yellowgreenblue", + "yellowgreenblue-3", + "yellowgreenblue-4", + "yellowgreenblue-5", + "yellowgreenblue-6", + "yellowgreenblue-7", + "yellowgreenblue-8", + "yellowgreenblue-9", + "yellowgreen", + "yellowgreen-3", + "yellowgreen-4", + "yellowgreen-5", + "yellowgreen-6", + "yellowgreen-7", + "yellowgreen-8", + "yellowgreen-9", + "yelloworangebrown", + "yelloworangebrown-3", + "yelloworangebrown-4", + "yelloworangebrown-5", + "yelloworangebrown-6", + "yelloworangebrown-7", + "yelloworangebrown-8", + "yelloworangebrown-9", + "yelloworangered", + "yelloworangered-3", + "yelloworangered-4", + "yelloworangered-5", + "yelloworangered-6", + "yelloworangered-7", + "yelloworangered-8", + "yelloworangered-9", + "darkblue", + "darkblue-3", + "darkblue-4", + "darkblue-5", + "darkblue-6", + "darkblue-7", + "darkblue-8", + "darkblue-9", + "darkgold", + "darkgold-3", + "darkgold-4", + "darkgold-5", + "darkgold-6", + "darkgold-7", + "darkgold-8", + "darkgold-9", + "darkgreen", + "darkgreen-3", + "darkgreen-4", + "darkgreen-5", + "darkgreen-6", + "darkgreen-7", + "darkgreen-8", + "darkgreen-9", + "darkmulti", + "darkmulti-3", + "darkmulti-4", + "darkmulti-5", + "darkmulti-6", + "darkmulti-7", + "darkmulti-8", + "darkmulti-9", + "darkred", + "darkred-3", + "darkred-4", + "darkred-5", + "darkred-6", + "darkred-7", + "darkred-8", + "darkred-9", + "lightgreyred", + "lightgreyred-3", + "lightgreyred-4", + "lightgreyred-5", + "lightgreyred-6", + "lightgreyred-7", + "lightgreyred-8", + "lightgreyred-9", + "lightgreyteal", + "lightgreyteal-3", + "lightgreyteal-4", + "lightgreyteal-5", + "lightgreyteal-6", + "lightgreyteal-7", + "lightgreyteal-8", + "lightgreyteal-9", + "lightmulti", + "lightmulti-3", + "lightmulti-4", + "lightmulti-5", + "lightmulti-6", + "lightmulti-7", + "lightmulti-8", + "lightmulti-9", + "lightorange", + "lightorange-3", + "lightorange-4", + "lightorange-5", + "lightorange-6", + "lightorange-7", + "lightorange-8", + "lightorange-9", + "lighttealblue", + "lighttealblue-3", + "lighttealblue-4", + "lighttealblue-5", + "lighttealblue-6", + "lighttealblue-7", + "lighttealblue-8", + "lighttealblue-9", ], UndefinedType, ] = Undefined, type: Union[ - Union[ - "ScaleType", - Literal[ - "linear", - "log", - "pow", - "sqrt", - "symlog", - "identity", - "sequential", - "time", - "utc", - "quantile", - "quantize", - "threshold", - "bin-ordinal", - "ordinal", - "point", - "band", - ], - ], - UndefinedType, - ] = Undefined, - zero: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType - ] = Undefined, + "SchemaBase", + Literal[ + "linear", + "log", + "pow", + "sqrt", + "symlog", + "identity", + "sequential", + "time", + "utc", + "quantile", + "quantize", + "threshold", + "bin-ordinal", + "ordinal", + "point", + "band", + ], + UndefinedType, + ] = Undefined, + zero: Union[bool, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, **kwds, ): super(Scale, self).__init__( @@ -39889,10 +34984,7 @@ def __init__( class ScaleBins(VegaLiteSchema): - """ScaleBins schema wrapper - - :class:`ScaleBinParams`, Dict[required=[step]], :class:`ScaleBins`, Sequence[float] - """ + """ScaleBins schema wrapper""" _schema = {"$ref": "#/definitions/ScaleBins"} @@ -39903,8 +34995,6 @@ def __init__(self, *args, **kwds): class ScaleBinParams(ScaleBins): """ScaleBinParams schema wrapper - :class:`ScaleBinParams`, Dict[required=[step]] - Parameters ---------- @@ -39935,12 +35025,10 @@ def __init__( class ScaleConfig(VegaLiteSchema): """ScaleConfig schema wrapper - :class:`ScaleConfig`, Dict - Parameters ---------- - bandPaddingInner : :class:`ExprRef`, Dict[required=[expr]], float + bandPaddingInner : dict, float, :class:`ExprRef` Default inner padding for ``x`` and ``y`` band scales. **Default value:** @@ -39949,29 +35037,29 @@ class ScaleConfig(VegaLiteSchema): * ``nestedOffsetPaddingInner`` for x/y scales with nested x/y offset scales. * ``barBandPaddingInner`` for bar marks ( ``0.1`` by default) * ``rectBandPaddingInner`` for rect and other marks ( ``0`` by default) - bandPaddingOuter : :class:`ExprRef`, Dict[required=[expr]], float + bandPaddingOuter : dict, float, :class:`ExprRef` Default outer padding for ``x`` and ``y`` band scales. **Default value:** ``paddingInner/2`` (which makes *width/height = number of unique values * step* ) - bandWithNestedOffsetPaddingInner : :class:`ExprRef`, Dict[required=[expr]], float + bandWithNestedOffsetPaddingInner : dict, float, :class:`ExprRef` Default inner padding for ``x`` and ``y`` band scales with nested ``xOffset`` and ``yOffset`` encoding. **Default value:** ``0.2`` - bandWithNestedOffsetPaddingOuter : :class:`ExprRef`, Dict[required=[expr]], float + bandWithNestedOffsetPaddingOuter : dict, float, :class:`ExprRef` Default outer padding for ``x`` and ``y`` band scales with nested ``xOffset`` and ``yOffset`` encoding. **Default value:** ``0.2`` - barBandPaddingInner : :class:`ExprRef`, Dict[required=[expr]], float + barBandPaddingInner : dict, float, :class:`ExprRef` Default inner padding for ``x`` and ``y`` band-ordinal scales of ``"bar"`` marks. **Default value:** ``0.1`` - clamp : :class:`ExprRef`, Dict[required=[expr]], bool + clamp : bool, dict, :class:`ExprRef` If true, values that exceed the data domain are clamped to either the minimum or maximum range value - continuousPadding : :class:`ExprRef`, Dict[required=[expr]], float + continuousPadding : dict, float, :class:`ExprRef` Default padding for continuous x/y scales. **Default:** The bar width for continuous x-scale of a vertical bar and continuous @@ -40018,15 +35106,15 @@ class ScaleConfig(VegaLiteSchema): of size for trail marks with zero=false. **Default value:** ``1`` - offsetBandPaddingInner : :class:`ExprRef`, Dict[required=[expr]], float + offsetBandPaddingInner : dict, float, :class:`ExprRef` Default padding inner for xOffset/yOffset's band scales. **Default Value:** ``0`` - offsetBandPaddingOuter : :class:`ExprRef`, Dict[required=[expr]], float + offsetBandPaddingOuter : dict, float, :class:`ExprRef` Default padding outer for xOffset/yOffset's band scales. **Default Value:** ``0`` - pointPadding : :class:`ExprRef`, Dict[required=[expr]], float + pointPadding : dict, float, :class:`ExprRef` Default outer padding for ``x`` and ``y`` point-ordinal scales. **Default value:** ``0.5`` (which makes *width/height = number of unique values * @@ -40041,11 +35129,11 @@ class ScaleConfig(VegaLiteSchema): `__ scale. **Default value:** ``4`` - rectBandPaddingInner : :class:`ExprRef`, Dict[required=[expr]], float + rectBandPaddingInner : dict, float, :class:`ExprRef` Default inner padding for ``x`` and ``y`` band-ordinal scales of ``"rect"`` marks. **Default value:** ``0`` - round : :class:`ExprRef`, Dict[required=[expr]], bool + round : bool, dict, :class:`ExprRef` If true, rounds numeric output values to integers. This can be helpful for snapping to the pixel grid. (Only available for ``x``, ``y``, and ``size`` scales.) useUnaggregatedDomain : bool @@ -40061,7 +35149,7 @@ class ScaleConfig(VegaLiteSchema): raw data domain (e.g. ``"count"``, ``"sum"`` ), this property is ignored. **Default value:** ``false`` - xReverse : :class:`ExprRef`, Dict[required=[expr]], bool + xReverse : bool, dict, :class:`ExprRef` Reverse x-scale by default (useful for right-to-left charts). zero : bool Default ``scale.zero`` for `continuous @@ -40076,25 +35164,23 @@ class ScaleConfig(VegaLiteSchema): def __init__( self, bandPaddingInner: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, bandPaddingOuter: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, bandWithNestedOffsetPaddingInner: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, bandWithNestedOffsetPaddingOuter: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, barBandPaddingInner: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - clamp: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + clamp: Union[bool, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, continuousPadding: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, maxBandSize: Union[float, UndefinedType] = Undefined, maxFontSize: Union[float, UndefinedType] = Undefined, @@ -40107,25 +35193,23 @@ def __init__( minSize: Union[float, UndefinedType] = Undefined, minStrokeWidth: Union[float, UndefinedType] = Undefined, offsetBandPaddingInner: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, offsetBandPaddingOuter: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, pointPadding: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, quantileCount: Union[float, UndefinedType] = Undefined, quantizeCount: Union[float, UndefinedType] = Undefined, rectBandPaddingInner: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - round: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + round: Union[bool, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, useUnaggregatedDomain: Union[bool, UndefinedType] = Undefined, xReverse: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + bool, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, zero: Union[bool, UndefinedType] = Undefined, **kwds, @@ -40165,8 +35249,6 @@ def __init__( class ScaleDatumDef(OffsetDef): """ScaleDatumDef schema wrapper - :class:`ScaleDatumDef`, Dict - Parameters ---------- @@ -40174,9 +35256,9 @@ class ScaleDatumDef(OffsetDef): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -40189,7 +35271,7 @@ class ScaleDatumDef(OffsetDef): **See also:** `scale `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -40286,23 +35368,13 @@ def __init__( self, bandPosition: Union[float, UndefinedType] = Undefined, datum: Union[ - Union[ - Union["DateTime", dict], - Union["ExprRef", "_Parameter", dict], - Union["PrimitiveValue", None, bool, float, str], - Union["RepeatRef", dict], - ], - UndefinedType, - ] = Undefined, - scale: Union[Union[None, Union["Scale", dict]], UndefinedType] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType + str, bool, dict, None, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + scale: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, type: Union[ - Union[ - "Type", - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - ], + "SchemaBase", + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -40320,14 +35392,12 @@ def __init__( class ScaleFieldDef(OffsetDef): """ScaleFieldDef schema wrapper - :class:`ScaleFieldDef`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -40339,7 +35409,7 @@ class ScaleFieldDef(OffsetDef): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool + bin : bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -40360,7 +35430,7 @@ class ScaleFieldDef(OffsetDef): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -40375,7 +35445,7 @@ class ScaleFieldDef(OffsetDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -40388,7 +35458,7 @@ class ScaleFieldDef(OffsetDef): **See also:** `scale `__ documentation. - sort : :class:`AllSortString`, :class:`SortByChannelDesc`, Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'], :class:`SortByChannel`, Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], :class:`SortOrder`, Literal['ascending', 'descending'], :class:`EncodingSortField`, Dict, :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str], :class:`SortByEncoding`, Dict[required=[encoding]], :class:`Sort`, None + sort : dict, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'], Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -40427,7 +35497,7 @@ class ScaleFieldDef(OffsetDef): **See also:** `sort `__ documentation. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -40436,7 +35506,7 @@ class ScaleFieldDef(OffsetDef): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -40532,263 +35602,208 @@ class ScaleFieldDef(OffsetDef): def __init__( self, shorthand: Union[ - Union[Sequence[str], Union["RepeatRef", dict], str], UndefinedType + str, dict, "SchemaBase", Sequence[str], UndefinedType ] = Undefined, aggregate: Union[ - Union[ - "Aggregate", - Union["ArgmaxDef", dict], - Union["ArgminDef", dict], - Union[ - "NonArgAggregateOp", - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - ], + dict, + "SchemaBase", + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union["BinParams", dict], bool], UndefinedType - ] = Undefined, - field: Union[ - Union["Field", Union["FieldName", str], Union["RepeatRef", dict]], - UndefinedType, - ] = Undefined, - scale: Union[Union[None, Union["Scale", dict]], UndefinedType] = Undefined, + bin: Union[bool, dict, None, "SchemaBase", UndefinedType] = Undefined, + field: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, + scale: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, sort: Union[ - Union[ - "Sort", - None, - Union[ - "AllSortString", - Union[ - "SortByChannel", - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - ], - Union[ - "SortByChannelDesc", - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - ], - Union["SortOrder", Literal["ascending", "descending"]], - ], - Union["EncodingSortField", dict], - Union[ - "SortArray", - Sequence[Union["DateTime", dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - ], - Union["SortByEncoding", dict], + dict, + None, + "SchemaBase", + Sequence[str], + Sequence[bool], + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, "SchemaBase"]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - "BinnedTimeUnit", - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - ], - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], - ], - Union["TimeUnitParams", dict], - ], - UndefinedType, - ] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType - ] = Undefined, + dict, + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", + ], + UndefinedType, + ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, type: Union[ - Union[ - "StandardType", - Literal["quantitative", "ordinal", "temporal", "nominal"], - ], + "SchemaBase", + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -40809,11 +35824,7 @@ def __init__( class ScaleInterpolateEnum(VegaLiteSchema): - """ScaleInterpolateEnum schema wrapper - - :class:`ScaleInterpolateEnum`, Literal['rgb', 'lab', 'hcl', 'hsl', 'hsl-long', 'hcl-long', - 'cubehelix', 'cubehelix-long'] - """ + """ScaleInterpolateEnum schema wrapper""" _schema = {"$ref": "#/definitions/ScaleInterpolateEnum"} @@ -40824,8 +35835,6 @@ def __init__(self, *args): class ScaleInterpolateParams(VegaLiteSchema): """ScaleInterpolateParams schema wrapper - :class:`ScaleInterpolateParams`, Dict[required=[type]] - Parameters ---------- @@ -40851,8 +35860,6 @@ def __init__( class ScaleResolveMap(VegaLiteSchema): """ScaleResolveMap schema wrapper - :class:`ScaleResolveMap`, Dict - Parameters ---------- @@ -40897,55 +35904,55 @@ class ScaleResolveMap(VegaLiteSchema): def __init__( self, angle: Union[ - Union["ResolveMode", Literal["independent", "shared"]], UndefinedType + "SchemaBase", Literal["independent", "shared"], UndefinedType ] = Undefined, color: Union[ - Union["ResolveMode", Literal["independent", "shared"]], UndefinedType + "SchemaBase", Literal["independent", "shared"], UndefinedType ] = Undefined, fill: Union[ - Union["ResolveMode", Literal["independent", "shared"]], UndefinedType + "SchemaBase", Literal["independent", "shared"], UndefinedType ] = Undefined, fillOpacity: Union[ - Union["ResolveMode", Literal["independent", "shared"]], UndefinedType + "SchemaBase", Literal["independent", "shared"], UndefinedType ] = Undefined, opacity: Union[ - Union["ResolveMode", Literal["independent", "shared"]], UndefinedType + "SchemaBase", Literal["independent", "shared"], UndefinedType ] = Undefined, radius: Union[ - Union["ResolveMode", Literal["independent", "shared"]], UndefinedType + "SchemaBase", Literal["independent", "shared"], UndefinedType ] = Undefined, shape: Union[ - Union["ResolveMode", Literal["independent", "shared"]], UndefinedType + "SchemaBase", Literal["independent", "shared"], UndefinedType ] = Undefined, size: Union[ - Union["ResolveMode", Literal["independent", "shared"]], UndefinedType + "SchemaBase", Literal["independent", "shared"], UndefinedType ] = Undefined, stroke: Union[ - Union["ResolveMode", Literal["independent", "shared"]], UndefinedType + "SchemaBase", Literal["independent", "shared"], UndefinedType ] = Undefined, strokeDash: Union[ - Union["ResolveMode", Literal["independent", "shared"]], UndefinedType + "SchemaBase", Literal["independent", "shared"], UndefinedType ] = Undefined, strokeOpacity: Union[ - Union["ResolveMode", Literal["independent", "shared"]], UndefinedType + "SchemaBase", Literal["independent", "shared"], UndefinedType ] = Undefined, strokeWidth: Union[ - Union["ResolveMode", Literal["independent", "shared"]], UndefinedType + "SchemaBase", Literal["independent", "shared"], UndefinedType ] = Undefined, theta: Union[ - Union["ResolveMode", Literal["independent", "shared"]], UndefinedType + "SchemaBase", Literal["independent", "shared"], UndefinedType ] = Undefined, x: Union[ - Union["ResolveMode", Literal["independent", "shared"]], UndefinedType + "SchemaBase", Literal["independent", "shared"], UndefinedType ] = Undefined, xOffset: Union[ - Union["ResolveMode", Literal["independent", "shared"]], UndefinedType + "SchemaBase", Literal["independent", "shared"], UndefinedType ] = Undefined, y: Union[ - Union["ResolveMode", Literal["independent", "shared"]], UndefinedType + "SchemaBase", Literal["independent", "shared"], UndefinedType ] = Undefined, yOffset: Union[ - Union["ResolveMode", Literal["independent", "shared"]], UndefinedType + "SchemaBase", Literal["independent", "shared"], UndefinedType ] = Undefined, **kwds, ): @@ -40972,12 +35979,7 @@ def __init__( class ScaleType(VegaLiteSchema): - """ScaleType schema wrapper - - :class:`ScaleType`, Literal['linear', 'log', 'pow', 'sqrt', 'symlog', 'identity', - 'sequential', 'time', 'utc', 'quantile', 'quantize', 'threshold', 'bin-ordinal', 'ordinal', - 'point', 'band'] - """ + """ScaleType schema wrapper""" _schema = {"$ref": "#/definitions/ScaleType"} @@ -40988,12 +35990,10 @@ def __init__(self, *args): class SchemeParams(VegaLiteSchema): """SchemeParams schema wrapper - :class:`SchemeParams`, Dict[required=[name]] - Parameters ---------- - name : :class:`Categorical`, Literal['accent', 'category10', 'category20', 'category20b', 'category20c', 'dark2', 'paired', 'pastel1', 'pastel2', 'set1', 'set2', 'set3', 'tableau10', 'tableau20'], :class:`ColorScheme`, :class:`Cyclical`, Literal['rainbow', 'sinebow'], :class:`Diverging`, Literal['blueorange', 'blueorange-3', 'blueorange-4', 'blueorange-5', 'blueorange-6', 'blueorange-7', 'blueorange-8', 'blueorange-9', 'blueorange-10', 'blueorange-11', 'brownbluegreen', 'brownbluegreen-3', 'brownbluegreen-4', 'brownbluegreen-5', 'brownbluegreen-6', 'brownbluegreen-7', 'brownbluegreen-8', 'brownbluegreen-9', 'brownbluegreen-10', 'brownbluegreen-11', 'purplegreen', 'purplegreen-3', 'purplegreen-4', 'purplegreen-5', 'purplegreen-6', 'purplegreen-7', 'purplegreen-8', 'purplegreen-9', 'purplegreen-10', 'purplegreen-11', 'pinkyellowgreen', 'pinkyellowgreen-3', 'pinkyellowgreen-4', 'pinkyellowgreen-5', 'pinkyellowgreen-6', 'pinkyellowgreen-7', 'pinkyellowgreen-8', 'pinkyellowgreen-9', 'pinkyellowgreen-10', 'pinkyellowgreen-11', 'purpleorange', 'purpleorange-3', 'purpleorange-4', 'purpleorange-5', 'purpleorange-6', 'purpleorange-7', 'purpleorange-8', 'purpleorange-9', 'purpleorange-10', 'purpleorange-11', 'redblue', 'redblue-3', 'redblue-4', 'redblue-5', 'redblue-6', 'redblue-7', 'redblue-8', 'redblue-9', 'redblue-10', 'redblue-11', 'redgrey', 'redgrey-3', 'redgrey-4', 'redgrey-5', 'redgrey-6', 'redgrey-7', 'redgrey-8', 'redgrey-9', 'redgrey-10', 'redgrey-11', 'redyellowblue', 'redyellowblue-3', 'redyellowblue-4', 'redyellowblue-5', 'redyellowblue-6', 'redyellowblue-7', 'redyellowblue-8', 'redyellowblue-9', 'redyellowblue-10', 'redyellowblue-11', 'redyellowgreen', 'redyellowgreen-3', 'redyellowgreen-4', 'redyellowgreen-5', 'redyellowgreen-6', 'redyellowgreen-7', 'redyellowgreen-8', 'redyellowgreen-9', 'redyellowgreen-10', 'redyellowgreen-11', 'spectral', 'spectral-3', 'spectral-4', 'spectral-5', 'spectral-6', 'spectral-7', 'spectral-8', 'spectral-9', 'spectral-10', 'spectral-11'], :class:`SequentialMultiHue`, Literal['turbo', 'viridis', 'inferno', 'magma', 'plasma', 'cividis', 'bluegreen', 'bluegreen-3', 'bluegreen-4', 'bluegreen-5', 'bluegreen-6', 'bluegreen-7', 'bluegreen-8', 'bluegreen-9', 'bluepurple', 'bluepurple-3', 'bluepurple-4', 'bluepurple-5', 'bluepurple-6', 'bluepurple-7', 'bluepurple-8', 'bluepurple-9', 'goldgreen', 'goldgreen-3', 'goldgreen-4', 'goldgreen-5', 'goldgreen-6', 'goldgreen-7', 'goldgreen-8', 'goldgreen-9', 'goldorange', 'goldorange-3', 'goldorange-4', 'goldorange-5', 'goldorange-6', 'goldorange-7', 'goldorange-8', 'goldorange-9', 'goldred', 'goldred-3', 'goldred-4', 'goldred-5', 'goldred-6', 'goldred-7', 'goldred-8', 'goldred-9', 'greenblue', 'greenblue-3', 'greenblue-4', 'greenblue-5', 'greenblue-6', 'greenblue-7', 'greenblue-8', 'greenblue-9', 'orangered', 'orangered-3', 'orangered-4', 'orangered-5', 'orangered-6', 'orangered-7', 'orangered-8', 'orangered-9', 'purplebluegreen', 'purplebluegreen-3', 'purplebluegreen-4', 'purplebluegreen-5', 'purplebluegreen-6', 'purplebluegreen-7', 'purplebluegreen-8', 'purplebluegreen-9', 'purpleblue', 'purpleblue-3', 'purpleblue-4', 'purpleblue-5', 'purpleblue-6', 'purpleblue-7', 'purpleblue-8', 'purpleblue-9', 'purplered', 'purplered-3', 'purplered-4', 'purplered-5', 'purplered-6', 'purplered-7', 'purplered-8', 'purplered-9', 'redpurple', 'redpurple-3', 'redpurple-4', 'redpurple-5', 'redpurple-6', 'redpurple-7', 'redpurple-8', 'redpurple-9', 'yellowgreenblue', 'yellowgreenblue-3', 'yellowgreenblue-4', 'yellowgreenblue-5', 'yellowgreenblue-6', 'yellowgreenblue-7', 'yellowgreenblue-8', 'yellowgreenblue-9', 'yellowgreen', 'yellowgreen-3', 'yellowgreen-4', 'yellowgreen-5', 'yellowgreen-6', 'yellowgreen-7', 'yellowgreen-8', 'yellowgreen-9', 'yelloworangebrown', 'yelloworangebrown-3', 'yelloworangebrown-4', 'yelloworangebrown-5', 'yelloworangebrown-6', 'yelloworangebrown-7', 'yelloworangebrown-8', 'yelloworangebrown-9', 'yelloworangered', 'yelloworangered-3', 'yelloworangered-4', 'yelloworangered-5', 'yelloworangered-6', 'yelloworangered-7', 'yelloworangered-8', 'yelloworangered-9', 'darkblue', 'darkblue-3', 'darkblue-4', 'darkblue-5', 'darkblue-6', 'darkblue-7', 'darkblue-8', 'darkblue-9', 'darkgold', 'darkgold-3', 'darkgold-4', 'darkgold-5', 'darkgold-6', 'darkgold-7', 'darkgold-8', 'darkgold-9', 'darkgreen', 'darkgreen-3', 'darkgreen-4', 'darkgreen-5', 'darkgreen-6', 'darkgreen-7', 'darkgreen-8', 'darkgreen-9', 'darkmulti', 'darkmulti-3', 'darkmulti-4', 'darkmulti-5', 'darkmulti-6', 'darkmulti-7', 'darkmulti-8', 'darkmulti-9', 'darkred', 'darkred-3', 'darkred-4', 'darkred-5', 'darkred-6', 'darkred-7', 'darkred-8', 'darkred-9', 'lightgreyred', 'lightgreyred-3', 'lightgreyred-4', 'lightgreyred-5', 'lightgreyred-6', 'lightgreyred-7', 'lightgreyred-8', 'lightgreyred-9', 'lightgreyteal', 'lightgreyteal-3', 'lightgreyteal-4', 'lightgreyteal-5', 'lightgreyteal-6', 'lightgreyteal-7', 'lightgreyteal-8', 'lightgreyteal-9', 'lightmulti', 'lightmulti-3', 'lightmulti-4', 'lightmulti-5', 'lightmulti-6', 'lightmulti-7', 'lightmulti-8', 'lightmulti-9', 'lightorange', 'lightorange-3', 'lightorange-4', 'lightorange-5', 'lightorange-6', 'lightorange-7', 'lightorange-8', 'lightorange-9', 'lighttealblue', 'lighttealblue-3', 'lighttealblue-4', 'lighttealblue-5', 'lighttealblue-6', 'lighttealblue-7', 'lighttealblue-8', 'lighttealblue-9'], :class:`SequentialSingleHue`, Literal['blues', 'tealblues', 'teals', 'greens', 'browns', 'greys', 'purples', 'warmgreys', 'reds', 'oranges'] + name : :class:`Cyclical`, :class:`Diverging`, :class:`Categorical`, :class:`ColorScheme`, :class:`SequentialMultiHue`, :class:`SequentialSingleHue`, Literal['rainbow', 'sinebow'], Literal['blues', 'tealblues', 'teals', 'greens', 'browns', 'greys', 'purples', 'warmgreys', 'reds', 'oranges'], Literal['accent', 'category10', 'category20', 'category20b', 'category20c', 'dark2', 'paired', 'pastel1', 'pastel2', 'set1', 'set2', 'set3', 'tableau10', 'tableau20'], Literal['blueorange', 'blueorange-3', 'blueorange-4', 'blueorange-5', 'blueorange-6', 'blueorange-7', 'blueorange-8', 'blueorange-9', 'blueorange-10', 'blueorange-11', 'brownbluegreen', 'brownbluegreen-3', 'brownbluegreen-4', 'brownbluegreen-5', 'brownbluegreen-6', 'brownbluegreen-7', 'brownbluegreen-8', 'brownbluegreen-9', 'brownbluegreen-10', 'brownbluegreen-11', 'purplegreen', 'purplegreen-3', 'purplegreen-4', 'purplegreen-5', 'purplegreen-6', 'purplegreen-7', 'purplegreen-8', 'purplegreen-9', 'purplegreen-10', 'purplegreen-11', 'pinkyellowgreen', 'pinkyellowgreen-3', 'pinkyellowgreen-4', 'pinkyellowgreen-5', 'pinkyellowgreen-6', 'pinkyellowgreen-7', 'pinkyellowgreen-8', 'pinkyellowgreen-9', 'pinkyellowgreen-10', 'pinkyellowgreen-11', 'purpleorange', 'purpleorange-3', 'purpleorange-4', 'purpleorange-5', 'purpleorange-6', 'purpleorange-7', 'purpleorange-8', 'purpleorange-9', 'purpleorange-10', 'purpleorange-11', 'redblue', 'redblue-3', 'redblue-4', 'redblue-5', 'redblue-6', 'redblue-7', 'redblue-8', 'redblue-9', 'redblue-10', 'redblue-11', 'redgrey', 'redgrey-3', 'redgrey-4', 'redgrey-5', 'redgrey-6', 'redgrey-7', 'redgrey-8', 'redgrey-9', 'redgrey-10', 'redgrey-11', 'redyellowblue', 'redyellowblue-3', 'redyellowblue-4', 'redyellowblue-5', 'redyellowblue-6', 'redyellowblue-7', 'redyellowblue-8', 'redyellowblue-9', 'redyellowblue-10', 'redyellowblue-11', 'redyellowgreen', 'redyellowgreen-3', 'redyellowgreen-4', 'redyellowgreen-5', 'redyellowgreen-6', 'redyellowgreen-7', 'redyellowgreen-8', 'redyellowgreen-9', 'redyellowgreen-10', 'redyellowgreen-11', 'spectral', 'spectral-3', 'spectral-4', 'spectral-5', 'spectral-6', 'spectral-7', 'spectral-8', 'spectral-9', 'spectral-10', 'spectral-11'], Literal['turbo', 'viridis', 'inferno', 'magma', 'plasma', 'cividis', 'bluegreen', 'bluegreen-3', 'bluegreen-4', 'bluegreen-5', 'bluegreen-6', 'bluegreen-7', 'bluegreen-8', 'bluegreen-9', 'bluepurple', 'bluepurple-3', 'bluepurple-4', 'bluepurple-5', 'bluepurple-6', 'bluepurple-7', 'bluepurple-8', 'bluepurple-9', 'goldgreen', 'goldgreen-3', 'goldgreen-4', 'goldgreen-5', 'goldgreen-6', 'goldgreen-7', 'goldgreen-8', 'goldgreen-9', 'goldorange', 'goldorange-3', 'goldorange-4', 'goldorange-5', 'goldorange-6', 'goldorange-7', 'goldorange-8', 'goldorange-9', 'goldred', 'goldred-3', 'goldred-4', 'goldred-5', 'goldred-6', 'goldred-7', 'goldred-8', 'goldred-9', 'greenblue', 'greenblue-3', 'greenblue-4', 'greenblue-5', 'greenblue-6', 'greenblue-7', 'greenblue-8', 'greenblue-9', 'orangered', 'orangered-3', 'orangered-4', 'orangered-5', 'orangered-6', 'orangered-7', 'orangered-8', 'orangered-9', 'purplebluegreen', 'purplebluegreen-3', 'purplebluegreen-4', 'purplebluegreen-5', 'purplebluegreen-6', 'purplebluegreen-7', 'purplebluegreen-8', 'purplebluegreen-9', 'purpleblue', 'purpleblue-3', 'purpleblue-4', 'purpleblue-5', 'purpleblue-6', 'purpleblue-7', 'purpleblue-8', 'purpleblue-9', 'purplered', 'purplered-3', 'purplered-4', 'purplered-5', 'purplered-6', 'purplered-7', 'purplered-8', 'purplered-9', 'redpurple', 'redpurple-3', 'redpurple-4', 'redpurple-5', 'redpurple-6', 'redpurple-7', 'redpurple-8', 'redpurple-9', 'yellowgreenblue', 'yellowgreenblue-3', 'yellowgreenblue-4', 'yellowgreenblue-5', 'yellowgreenblue-6', 'yellowgreenblue-7', 'yellowgreenblue-8', 'yellowgreenblue-9', 'yellowgreen', 'yellowgreen-3', 'yellowgreen-4', 'yellowgreen-5', 'yellowgreen-6', 'yellowgreen-7', 'yellowgreen-8', 'yellowgreen-9', 'yelloworangebrown', 'yelloworangebrown-3', 'yelloworangebrown-4', 'yelloworangebrown-5', 'yelloworangebrown-6', 'yelloworangebrown-7', 'yelloworangebrown-8', 'yelloworangebrown-9', 'yelloworangered', 'yelloworangered-3', 'yelloworangered-4', 'yelloworangered-5', 'yelloworangered-6', 'yelloworangered-7', 'yelloworangered-8', 'yelloworangered-9', 'darkblue', 'darkblue-3', 'darkblue-4', 'darkblue-5', 'darkblue-6', 'darkblue-7', 'darkblue-8', 'darkblue-9', 'darkgold', 'darkgold-3', 'darkgold-4', 'darkgold-5', 'darkgold-6', 'darkgold-7', 'darkgold-8', 'darkgold-9', 'darkgreen', 'darkgreen-3', 'darkgreen-4', 'darkgreen-5', 'darkgreen-6', 'darkgreen-7', 'darkgreen-8', 'darkgreen-9', 'darkmulti', 'darkmulti-3', 'darkmulti-4', 'darkmulti-5', 'darkmulti-6', 'darkmulti-7', 'darkmulti-8', 'darkmulti-9', 'darkred', 'darkred-3', 'darkred-4', 'darkred-5', 'darkred-6', 'darkred-7', 'darkred-8', 'darkred-9', 'lightgreyred', 'lightgreyred-3', 'lightgreyred-4', 'lightgreyred-5', 'lightgreyred-6', 'lightgreyred-7', 'lightgreyred-8', 'lightgreyred-9', 'lightgreyteal', 'lightgreyteal-3', 'lightgreyteal-4', 'lightgreyteal-5', 'lightgreyteal-6', 'lightgreyteal-7', 'lightgreyteal-8', 'lightgreyteal-9', 'lightmulti', 'lightmulti-3', 'lightmulti-4', 'lightmulti-5', 'lightmulti-6', 'lightmulti-7', 'lightmulti-8', 'lightmulti-9', 'lightorange', 'lightorange-3', 'lightorange-4', 'lightorange-5', 'lightorange-6', 'lightorange-7', 'lightorange-8', 'lightorange-9', 'lighttealblue', 'lighttealblue-3', 'lighttealblue-4', 'lighttealblue-5', 'lighttealblue-6', 'lighttealblue-7', 'lighttealblue-8', 'lighttealblue-9'] A color scheme name for ordinal scales (e.g., ``"category10"`` or ``"blues"`` ). For the full list of supported schemes, please refer to the `Vega Scheme @@ -41013,359 +36013,345 @@ class SchemeParams(VegaLiteSchema): def __init__( self, name: Union[ - Union[ - "ColorScheme", - Union[ - "Categorical", - Literal[ - "accent", - "category10", - "category20", - "category20b", - "category20c", - "dark2", - "paired", - "pastel1", - "pastel2", - "set1", - "set2", - "set3", - "tableau10", - "tableau20", - ], - ], - Union["Cyclical", Literal["rainbow", "sinebow"]], - Union[ - "Diverging", - Literal[ - "blueorange", - "blueorange-3", - "blueorange-4", - "blueorange-5", - "blueorange-6", - "blueorange-7", - "blueorange-8", - "blueorange-9", - "blueorange-10", - "blueorange-11", - "brownbluegreen", - "brownbluegreen-3", - "brownbluegreen-4", - "brownbluegreen-5", - "brownbluegreen-6", - "brownbluegreen-7", - "brownbluegreen-8", - "brownbluegreen-9", - "brownbluegreen-10", - "brownbluegreen-11", - "purplegreen", - "purplegreen-3", - "purplegreen-4", - "purplegreen-5", - "purplegreen-6", - "purplegreen-7", - "purplegreen-8", - "purplegreen-9", - "purplegreen-10", - "purplegreen-11", - "pinkyellowgreen", - "pinkyellowgreen-3", - "pinkyellowgreen-4", - "pinkyellowgreen-5", - "pinkyellowgreen-6", - "pinkyellowgreen-7", - "pinkyellowgreen-8", - "pinkyellowgreen-9", - "pinkyellowgreen-10", - "pinkyellowgreen-11", - "purpleorange", - "purpleorange-3", - "purpleorange-4", - "purpleorange-5", - "purpleorange-6", - "purpleorange-7", - "purpleorange-8", - "purpleorange-9", - "purpleorange-10", - "purpleorange-11", - "redblue", - "redblue-3", - "redblue-4", - "redblue-5", - "redblue-6", - "redblue-7", - "redblue-8", - "redblue-9", - "redblue-10", - "redblue-11", - "redgrey", - "redgrey-3", - "redgrey-4", - "redgrey-5", - "redgrey-6", - "redgrey-7", - "redgrey-8", - "redgrey-9", - "redgrey-10", - "redgrey-11", - "redyellowblue", - "redyellowblue-3", - "redyellowblue-4", - "redyellowblue-5", - "redyellowblue-6", - "redyellowblue-7", - "redyellowblue-8", - "redyellowblue-9", - "redyellowblue-10", - "redyellowblue-11", - "redyellowgreen", - "redyellowgreen-3", - "redyellowgreen-4", - "redyellowgreen-5", - "redyellowgreen-6", - "redyellowgreen-7", - "redyellowgreen-8", - "redyellowgreen-9", - "redyellowgreen-10", - "redyellowgreen-11", - "spectral", - "spectral-3", - "spectral-4", - "spectral-5", - "spectral-6", - "spectral-7", - "spectral-8", - "spectral-9", - "spectral-10", - "spectral-11", - ], - ], - Union[ - "SequentialMultiHue", - Literal[ - "turbo", - "viridis", - "inferno", - "magma", - "plasma", - "cividis", - "bluegreen", - "bluegreen-3", - "bluegreen-4", - "bluegreen-5", - "bluegreen-6", - "bluegreen-7", - "bluegreen-8", - "bluegreen-9", - "bluepurple", - "bluepurple-3", - "bluepurple-4", - "bluepurple-5", - "bluepurple-6", - "bluepurple-7", - "bluepurple-8", - "bluepurple-9", - "goldgreen", - "goldgreen-3", - "goldgreen-4", - "goldgreen-5", - "goldgreen-6", - "goldgreen-7", - "goldgreen-8", - "goldgreen-9", - "goldorange", - "goldorange-3", - "goldorange-4", - "goldorange-5", - "goldorange-6", - "goldorange-7", - "goldorange-8", - "goldorange-9", - "goldred", - "goldred-3", - "goldred-4", - "goldred-5", - "goldred-6", - "goldred-7", - "goldred-8", - "goldred-9", - "greenblue", - "greenblue-3", - "greenblue-4", - "greenblue-5", - "greenblue-6", - "greenblue-7", - "greenblue-8", - "greenblue-9", - "orangered", - "orangered-3", - "orangered-4", - "orangered-5", - "orangered-6", - "orangered-7", - "orangered-8", - "orangered-9", - "purplebluegreen", - "purplebluegreen-3", - "purplebluegreen-4", - "purplebluegreen-5", - "purplebluegreen-6", - "purplebluegreen-7", - "purplebluegreen-8", - "purplebluegreen-9", - "purpleblue", - "purpleblue-3", - "purpleblue-4", - "purpleblue-5", - "purpleblue-6", - "purpleblue-7", - "purpleblue-8", - "purpleblue-9", - "purplered", - "purplered-3", - "purplered-4", - "purplered-5", - "purplered-6", - "purplered-7", - "purplered-8", - "purplered-9", - "redpurple", - "redpurple-3", - "redpurple-4", - "redpurple-5", - "redpurple-6", - "redpurple-7", - "redpurple-8", - "redpurple-9", - "yellowgreenblue", - "yellowgreenblue-3", - "yellowgreenblue-4", - "yellowgreenblue-5", - "yellowgreenblue-6", - "yellowgreenblue-7", - "yellowgreenblue-8", - "yellowgreenblue-9", - "yellowgreen", - "yellowgreen-3", - "yellowgreen-4", - "yellowgreen-5", - "yellowgreen-6", - "yellowgreen-7", - "yellowgreen-8", - "yellowgreen-9", - "yelloworangebrown", - "yelloworangebrown-3", - "yelloworangebrown-4", - "yelloworangebrown-5", - "yelloworangebrown-6", - "yelloworangebrown-7", - "yelloworangebrown-8", - "yelloworangebrown-9", - "yelloworangered", - "yelloworangered-3", - "yelloworangered-4", - "yelloworangered-5", - "yelloworangered-6", - "yelloworangered-7", - "yelloworangered-8", - "yelloworangered-9", - "darkblue", - "darkblue-3", - "darkblue-4", - "darkblue-5", - "darkblue-6", - "darkblue-7", - "darkblue-8", - "darkblue-9", - "darkgold", - "darkgold-3", - "darkgold-4", - "darkgold-5", - "darkgold-6", - "darkgold-7", - "darkgold-8", - "darkgold-9", - "darkgreen", - "darkgreen-3", - "darkgreen-4", - "darkgreen-5", - "darkgreen-6", - "darkgreen-7", - "darkgreen-8", - "darkgreen-9", - "darkmulti", - "darkmulti-3", - "darkmulti-4", - "darkmulti-5", - "darkmulti-6", - "darkmulti-7", - "darkmulti-8", - "darkmulti-9", - "darkred", - "darkred-3", - "darkred-4", - "darkred-5", - "darkred-6", - "darkred-7", - "darkred-8", - "darkred-9", - "lightgreyred", - "lightgreyred-3", - "lightgreyred-4", - "lightgreyred-5", - "lightgreyred-6", - "lightgreyred-7", - "lightgreyred-8", - "lightgreyred-9", - "lightgreyteal", - "lightgreyteal-3", - "lightgreyteal-4", - "lightgreyteal-5", - "lightgreyteal-6", - "lightgreyteal-7", - "lightgreyteal-8", - "lightgreyteal-9", - "lightmulti", - "lightmulti-3", - "lightmulti-4", - "lightmulti-5", - "lightmulti-6", - "lightmulti-7", - "lightmulti-8", - "lightmulti-9", - "lightorange", - "lightorange-3", - "lightorange-4", - "lightorange-5", - "lightorange-6", - "lightorange-7", - "lightorange-8", - "lightorange-9", - "lighttealblue", - "lighttealblue-3", - "lighttealblue-4", - "lighttealblue-5", - "lighttealblue-6", - "lighttealblue-7", - "lighttealblue-8", - "lighttealblue-9", - ], - ], - Union[ - "SequentialSingleHue", - Literal[ - "blues", - "tealblues", - "teals", - "greens", - "browns", - "greys", - "purples", - "warmgreys", - "reds", - "oranges", - ], - ], + "SchemaBase", + Literal["rainbow", "sinebow"], + Literal[ + "blues", + "tealblues", + "teals", + "greens", + "browns", + "greys", + "purples", + "warmgreys", + "reds", + "oranges", + ], + Literal[ + "accent", + "category10", + "category20", + "category20b", + "category20c", + "dark2", + "paired", + "pastel1", + "pastel2", + "set1", + "set2", + "set3", + "tableau10", + "tableau20", + ], + Literal[ + "blueorange", + "blueorange-3", + "blueorange-4", + "blueorange-5", + "blueorange-6", + "blueorange-7", + "blueorange-8", + "blueorange-9", + "blueorange-10", + "blueorange-11", + "brownbluegreen", + "brownbluegreen-3", + "brownbluegreen-4", + "brownbluegreen-5", + "brownbluegreen-6", + "brownbluegreen-7", + "brownbluegreen-8", + "brownbluegreen-9", + "brownbluegreen-10", + "brownbluegreen-11", + "purplegreen", + "purplegreen-3", + "purplegreen-4", + "purplegreen-5", + "purplegreen-6", + "purplegreen-7", + "purplegreen-8", + "purplegreen-9", + "purplegreen-10", + "purplegreen-11", + "pinkyellowgreen", + "pinkyellowgreen-3", + "pinkyellowgreen-4", + "pinkyellowgreen-5", + "pinkyellowgreen-6", + "pinkyellowgreen-7", + "pinkyellowgreen-8", + "pinkyellowgreen-9", + "pinkyellowgreen-10", + "pinkyellowgreen-11", + "purpleorange", + "purpleorange-3", + "purpleorange-4", + "purpleorange-5", + "purpleorange-6", + "purpleorange-7", + "purpleorange-8", + "purpleorange-9", + "purpleorange-10", + "purpleorange-11", + "redblue", + "redblue-3", + "redblue-4", + "redblue-5", + "redblue-6", + "redblue-7", + "redblue-8", + "redblue-9", + "redblue-10", + "redblue-11", + "redgrey", + "redgrey-3", + "redgrey-4", + "redgrey-5", + "redgrey-6", + "redgrey-7", + "redgrey-8", + "redgrey-9", + "redgrey-10", + "redgrey-11", + "redyellowblue", + "redyellowblue-3", + "redyellowblue-4", + "redyellowblue-5", + "redyellowblue-6", + "redyellowblue-7", + "redyellowblue-8", + "redyellowblue-9", + "redyellowblue-10", + "redyellowblue-11", + "redyellowgreen", + "redyellowgreen-3", + "redyellowgreen-4", + "redyellowgreen-5", + "redyellowgreen-6", + "redyellowgreen-7", + "redyellowgreen-8", + "redyellowgreen-9", + "redyellowgreen-10", + "redyellowgreen-11", + "spectral", + "spectral-3", + "spectral-4", + "spectral-5", + "spectral-6", + "spectral-7", + "spectral-8", + "spectral-9", + "spectral-10", + "spectral-11", + ], + Literal[ + "turbo", + "viridis", + "inferno", + "magma", + "plasma", + "cividis", + "bluegreen", + "bluegreen-3", + "bluegreen-4", + "bluegreen-5", + "bluegreen-6", + "bluegreen-7", + "bluegreen-8", + "bluegreen-9", + "bluepurple", + "bluepurple-3", + "bluepurple-4", + "bluepurple-5", + "bluepurple-6", + "bluepurple-7", + "bluepurple-8", + "bluepurple-9", + "goldgreen", + "goldgreen-3", + "goldgreen-4", + "goldgreen-5", + "goldgreen-6", + "goldgreen-7", + "goldgreen-8", + "goldgreen-9", + "goldorange", + "goldorange-3", + "goldorange-4", + "goldorange-5", + "goldorange-6", + "goldorange-7", + "goldorange-8", + "goldorange-9", + "goldred", + "goldred-3", + "goldred-4", + "goldred-5", + "goldred-6", + "goldred-7", + "goldred-8", + "goldred-9", + "greenblue", + "greenblue-3", + "greenblue-4", + "greenblue-5", + "greenblue-6", + "greenblue-7", + "greenblue-8", + "greenblue-9", + "orangered", + "orangered-3", + "orangered-4", + "orangered-5", + "orangered-6", + "orangered-7", + "orangered-8", + "orangered-9", + "purplebluegreen", + "purplebluegreen-3", + "purplebluegreen-4", + "purplebluegreen-5", + "purplebluegreen-6", + "purplebluegreen-7", + "purplebluegreen-8", + "purplebluegreen-9", + "purpleblue", + "purpleblue-3", + "purpleblue-4", + "purpleblue-5", + "purpleblue-6", + "purpleblue-7", + "purpleblue-8", + "purpleblue-9", + "purplered", + "purplered-3", + "purplered-4", + "purplered-5", + "purplered-6", + "purplered-7", + "purplered-8", + "purplered-9", + "redpurple", + "redpurple-3", + "redpurple-4", + "redpurple-5", + "redpurple-6", + "redpurple-7", + "redpurple-8", + "redpurple-9", + "yellowgreenblue", + "yellowgreenblue-3", + "yellowgreenblue-4", + "yellowgreenblue-5", + "yellowgreenblue-6", + "yellowgreenblue-7", + "yellowgreenblue-8", + "yellowgreenblue-9", + "yellowgreen", + "yellowgreen-3", + "yellowgreen-4", + "yellowgreen-5", + "yellowgreen-6", + "yellowgreen-7", + "yellowgreen-8", + "yellowgreen-9", + "yelloworangebrown", + "yelloworangebrown-3", + "yelloworangebrown-4", + "yelloworangebrown-5", + "yelloworangebrown-6", + "yelloworangebrown-7", + "yelloworangebrown-8", + "yelloworangebrown-9", + "yelloworangered", + "yelloworangered-3", + "yelloworangered-4", + "yelloworangered-5", + "yelloworangered-6", + "yelloworangered-7", + "yelloworangered-8", + "yelloworangered-9", + "darkblue", + "darkblue-3", + "darkblue-4", + "darkblue-5", + "darkblue-6", + "darkblue-7", + "darkblue-8", + "darkblue-9", + "darkgold", + "darkgold-3", + "darkgold-4", + "darkgold-5", + "darkgold-6", + "darkgold-7", + "darkgold-8", + "darkgold-9", + "darkgreen", + "darkgreen-3", + "darkgreen-4", + "darkgreen-5", + "darkgreen-6", + "darkgreen-7", + "darkgreen-8", + "darkgreen-9", + "darkmulti", + "darkmulti-3", + "darkmulti-4", + "darkmulti-5", + "darkmulti-6", + "darkmulti-7", + "darkmulti-8", + "darkmulti-9", + "darkred", + "darkred-3", + "darkred-4", + "darkred-5", + "darkred-6", + "darkred-7", + "darkred-8", + "darkred-9", + "lightgreyred", + "lightgreyred-3", + "lightgreyred-4", + "lightgreyred-5", + "lightgreyred-6", + "lightgreyred-7", + "lightgreyred-8", + "lightgreyred-9", + "lightgreyteal", + "lightgreyteal-3", + "lightgreyteal-4", + "lightgreyteal-5", + "lightgreyteal-6", + "lightgreyteal-7", + "lightgreyteal-8", + "lightgreyteal-9", + "lightmulti", + "lightmulti-3", + "lightmulti-4", + "lightmulti-5", + "lightmulti-6", + "lightmulti-7", + "lightmulti-8", + "lightmulti-9", + "lightorange", + "lightorange-3", + "lightorange-4", + "lightorange-5", + "lightorange-6", + "lightorange-7", + "lightorange-8", + "lightorange-9", + "lighttealblue", + "lighttealblue-3", + "lighttealblue-4", + "lighttealblue-5", + "lighttealblue-6", + "lighttealblue-7", + "lighttealblue-8", + "lighttealblue-9", ], UndefinedType, ] = Undefined, @@ -41380,17 +36366,15 @@ def __init__( class SecondaryFieldDef(Position2Def): """SecondaryFieldDef schema wrapper - - :class:`SecondaryFieldDef`, Dict[required=[shorthand]] A field definition of a secondary channel that shares a scale with another primary channel. For example, ``x2``, ``xError`` and ``xError2`` share the same scale with ``x``. Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -41423,7 +36407,7 @@ class SecondaryFieldDef(Position2Def): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -41438,7 +36422,7 @@ class SecondaryFieldDef(Position2Def): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -41447,7 +36431,7 @@ class SecondaryFieldDef(Position2Def): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -41474,201 +36458,165 @@ class SecondaryFieldDef(Position2Def): def __init__( self, shorthand: Union[ - Union[Sequence[str], Union["RepeatRef", dict], str], UndefinedType + str, dict, "SchemaBase", Sequence[str], UndefinedType ] = Undefined, aggregate: Union[ - Union[ - "Aggregate", - Union["ArgmaxDef", dict], - Union["ArgminDef", dict], - Union[ - "NonArgAggregateOp", - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - ], + dict, + "SchemaBase", + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, bin: Union[None, UndefinedType] = Undefined, - field: Union[ - Union["Field", Union["FieldName", str], Union["RepeatRef", dict]], - UndefinedType, - ] = Undefined, + field: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - "BinnedTimeUnit", - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - ], - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], - ], - Union["TimeUnitParams", dict], - ], - UndefinedType, - ] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType - ] = Undefined, + dict, + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", + ], + UndefinedType, + ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, **kwds, ): super(SecondaryFieldDef, self).__init__( @@ -41686,12 +36634,10 @@ def __init__( class SelectionConfig(VegaLiteSchema): """SelectionConfig schema wrapper - :class:`SelectionConfig`, Dict - Parameters ---------- - interval : :class:`IntervalSelectionConfigWithoutType`, Dict + interval : dict, :class:`IntervalSelectionConfigWithoutType` The default definition for an `interval `__ selection. All properties and transformations for an interval selection definition (except ``type`` @@ -41699,7 +36645,7 @@ class SelectionConfig(VegaLiteSchema): For instance, setting ``interval`` to ``{"translate": false}`` disables the ability to move interval selections by default. - point : :class:`PointSelectionConfigWithoutType`, Dict + point : dict, :class:`PointSelectionConfigWithoutType` The default definition for a `point `__ selection. All properties and transformations for a point selection definition (except ``type`` ) @@ -41713,23 +36659,15 @@ class SelectionConfig(VegaLiteSchema): def __init__( self, - interval: Union[ - Union["IntervalSelectionConfigWithoutType", dict], UndefinedType - ] = Undefined, - point: Union[ - Union["PointSelectionConfigWithoutType", dict], UndefinedType - ] = Undefined, + interval: Union[dict, "SchemaBase", UndefinedType] = Undefined, + point: Union[dict, "SchemaBase", UndefinedType] = Undefined, **kwds, ): super(SelectionConfig, self).__init__(interval=interval, point=point, **kwds) class SelectionInit(VegaLiteSchema): - """SelectionInit schema wrapper - - :class:`DateTime`, Dict, :class:`PrimitiveValue`, None, bool, float, str, - :class:`SelectionInit` - """ + """SelectionInit schema wrapper""" _schema = {"$ref": "#/definitions/SelectionInit"} @@ -41739,8 +36677,6 @@ def __init__(self, *args, **kwds): class DateTime(SelectionInit): """DateTime schema wrapper - - :class:`DateTime`, Dict Object for defining datetime in Vega-Lite Filter. If both month and quarter are provided, month has higher precedence. ``day`` cannot be combined with other date. We accept string for month and day names. @@ -41750,7 +36686,7 @@ class DateTime(SelectionInit): date : float Integer value representing the date (day of the month) from 1-31. - day : :class:`Day`, float, str + day : str, float, :class:`Day` Value representing the day of a week. This can be one of: (1) integer value -- ``1`` represents Monday; (2) case-insensitive day name (e.g., ``"Monday"`` ); (3) case-insensitive, 3-character short day name (e.g., ``"Mon"`` ). @@ -41763,7 +36699,7 @@ class DateTime(SelectionInit): Integer value representing the millisecond segment of time. minutes : float Integer value representing the minute segment of time from 0-59. - month : :class:`Month`, float, str + month : str, float, :class:`Month` One of: (1) integer value representing the month from ``1`` - ``12``. ``1`` represents January; (2) case-insensitive month name (e.g., ``"January"`` ); (3) case-insensitive, 3-character short month name (e.g., ``"Jan"`` ). @@ -41783,11 +36719,11 @@ class DateTime(SelectionInit): def __init__( self, date: Union[float, UndefinedType] = Undefined, - day: Union[Union[Union["Day", float], str], UndefinedType] = Undefined, + day: Union[str, float, "SchemaBase", UndefinedType] = Undefined, hours: Union[float, UndefinedType] = Undefined, milliseconds: Union[float, UndefinedType] = Undefined, minutes: Union[float, UndefinedType] = Undefined, - month: Union[Union[Union["Month", float], str], UndefinedType] = Undefined, + month: Union[str, float, "SchemaBase", UndefinedType] = Undefined, quarter: Union[float, UndefinedType] = Undefined, seconds: Union[float, UndefinedType] = Undefined, utc: Union[bool, UndefinedType] = Undefined, @@ -41810,10 +36746,7 @@ def __init__( class PrimitiveValue(SelectionInit): - """PrimitiveValue schema wrapper - - :class:`PrimitiveValue`, None, bool, float, str - """ + """PrimitiveValue schema wrapper""" _schema = {"$ref": "#/definitions/PrimitiveValue"} @@ -41822,12 +36755,7 @@ def __init__(self, *args): class SelectionInitInterval(VegaLiteSchema): - """SelectionInitInterval schema wrapper - - :class:`SelectionInitInterval`, :class:`Vector2DateTime`, Sequence[:class:`DateTime`, Dict], - :class:`Vector2boolean`, Sequence[bool], :class:`Vector2number`, Sequence[float], - :class:`Vector2string`, Sequence[str] - """ + """SelectionInitInterval schema wrapper""" _schema = {"$ref": "#/definitions/SelectionInitInterval"} @@ -41836,10 +36764,7 @@ def __init__(self, *args, **kwds): class SelectionInitIntervalMapping(VegaLiteSchema): - """SelectionInitIntervalMapping schema wrapper - - :class:`SelectionInitIntervalMapping`, Dict - """ + """SelectionInitIntervalMapping schema wrapper""" _schema = {"$ref": "#/definitions/SelectionInitIntervalMapping"} @@ -41848,10 +36773,7 @@ def __init__(self, **kwds): class SelectionInitMapping(VegaLiteSchema): - """SelectionInitMapping schema wrapper - - :class:`SelectionInitMapping`, Dict - """ + """SelectionInitMapping schema wrapper""" _schema = {"$ref": "#/definitions/SelectionInitMapping"} @@ -41862,17 +36784,15 @@ def __init__(self, **kwds): class SelectionParameter(VegaLiteSchema): """SelectionParameter schema wrapper - :class:`SelectionParameter`, Dict[required=[name, select]] - Parameters ---------- - name : :class:`ParameterName`, str + name : str, :class:`ParameterName` Required. A unique name for the selection parameter. Selection names should be valid JavaScript identifiers: they should contain only alphanumeric characters (or "$", or "_") and may not start with a digit. Reserved keywords that may not be used as parameter names are "datum", "event", "item", and "parent". - select : :class:`IntervalSelectionConfig`, Dict[required=[type]], :class:`PointSelectionConfig`, Dict[required=[type]], :class:`SelectionType`, Literal['point', 'interval'] + select : dict, :class:`SelectionType`, Literal['point', 'interval'], :class:`PointSelectionConfig`, :class:`IntervalSelectionConfig` Determines the default event processing and data query for the selection. Vega-Lite currently supports two selection types: @@ -41880,7 +36800,7 @@ class SelectionParameter(VegaLiteSchema): * ``"point"`` -- to select multiple discrete data values; the first value is selected on ``click`` and additional values toggled on shift-click. * ``"interval"`` -- to select a continuous range of data values on ``drag``. - bind : :class:`BindCheckbox`, Dict[required=[input]], :class:`BindDirect`, Dict[required=[element]], :class:`BindInput`, Dict, :class:`BindRadioSelect`, Dict[required=[input, options]], :class:`BindRange`, Dict[required=[input]], :class:`Binding`, :class:`LegendBinding`, :class:`LegendStreamBinding`, Dict[required=[legend]], str, Dict, str + bind : str, dict, :class:`Binding`, :class:`BindInput`, :class:`BindRange`, :class:`BindDirect`, :class:`BindCheckbox`, :class:`LegendBinding`, :class:`BindRadioSelect`, :class:`LegendStreamBinding` When set, a selection is populated by input elements (also known as dynamic query widgets) or by interacting with the corresponding legend. Direct manipulation interaction is disabled by default; to re-enable it, set the selection's `on @@ -41896,7 +36816,7 @@ class SelectionParameter(VegaLiteSchema): **See also:** `bind `__ documentation. - value : :class:`DateTime`, Dict, :class:`PrimitiveValue`, None, bool, float, str, :class:`SelectionInit`, :class:`SelectionInitIntervalMapping`, Dict, Sequence[:class:`SelectionInitMapping`, Dict] + value : str, bool, dict, None, float, :class:`DateTime`, :class:`SelectionInit`, :class:`PrimitiveValue`, :class:`SelectionInitIntervalMapping`, Sequence[dict, :class:`SelectionInitMapping`] Initialize the selection with a mapping between `projected channels or field names `__ and initial values. @@ -41909,41 +36829,19 @@ class SelectionParameter(VegaLiteSchema): def __init__( self, - name: Union[Union["ParameterName", str], UndefinedType] = Undefined, + name: Union[str, "SchemaBase", UndefinedType] = Undefined, select: Union[ - Union[ - Union["IntervalSelectionConfig", dict], - Union["PointSelectionConfig", dict], - Union["SelectionType", Literal["point", "interval"]], - ], - UndefinedType, - ] = Undefined, - bind: Union[ - Union[ - Union[ - "Binding", - Union["BindCheckbox", dict], - Union["BindDirect", dict], - Union["BindInput", dict], - Union["BindRadioSelect", dict], - Union["BindRange", dict], - ], - Union["LegendBinding", Union["LegendStreamBinding", dict], str], - dict, - str, - ], - UndefinedType, + dict, "SchemaBase", Literal["point", "interval"], UndefinedType ] = Undefined, + bind: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, value: Union[ - Union[ - Sequence[Union["SelectionInitMapping", dict]], - Union[ - "SelectionInit", - Union["DateTime", dict], - Union["PrimitiveValue", None, bool, float, str], - ], - Union["SelectionInitIntervalMapping", dict], - ], + str, + bool, + dict, + None, + float, + "SchemaBase", + Sequence[Union[dict, "SchemaBase"]], UndefinedType, ] = Undefined, **kwds, @@ -41954,10 +36852,7 @@ def __init__( class SelectionResolution(VegaLiteSchema): - """SelectionResolution schema wrapper - - :class:`SelectionResolution`, Literal['global', 'union', 'intersect'] - """ + """SelectionResolution schema wrapper""" _schema = {"$ref": "#/definitions/SelectionResolution"} @@ -41966,10 +36861,7 @@ def __init__(self, *args): class SelectionType(VegaLiteSchema): - """SelectionType schema wrapper - - :class:`SelectionType`, Literal['point', 'interval'] - """ + """SelectionType schema wrapper""" _schema = {"$ref": "#/definitions/SelectionType"} @@ -41980,12 +36872,10 @@ def __init__(self, *args): class SequenceGenerator(Generator): """SequenceGenerator schema wrapper - :class:`SequenceGenerator`, Dict[required=[sequence]] - Parameters ---------- - sequence : :class:`SequenceParams`, Dict[required=[start, stop]] + sequence : dict, :class:`SequenceParams` Generate a sequence of numbers. name : str Provide a placeholder name and bind data at runtime. @@ -41995,7 +36885,7 @@ class SequenceGenerator(Generator): def __init__( self, - sequence: Union[Union["SequenceParams", dict], UndefinedType] = Undefined, + sequence: Union[dict, "SchemaBase", UndefinedType] = Undefined, name: Union[str, UndefinedType] = Undefined, **kwds, ): @@ -42005,8 +36895,6 @@ def __init__( class SequenceParams(VegaLiteSchema): """SequenceParams schema wrapper - :class:`SequenceParams`, Dict[required=[start, stop]] - Parameters ---------- @@ -42018,7 +36906,7 @@ class SequenceParams(VegaLiteSchema): The step value between sequence entries. **Default value:** ``1`` - as : :class:`FieldName`, str + as : str, :class:`FieldName` The name of the generated sequence field. **Default value:** ``"data"`` @@ -42037,48 +36925,7 @@ def __init__( class SequentialMultiHue(ColorScheme): - """SequentialMultiHue schema wrapper - - :class:`SequentialMultiHue`, Literal['turbo', 'viridis', 'inferno', 'magma', 'plasma', - 'cividis', 'bluegreen', 'bluegreen-3', 'bluegreen-4', 'bluegreen-5', 'bluegreen-6', - 'bluegreen-7', 'bluegreen-8', 'bluegreen-9', 'bluepurple', 'bluepurple-3', 'bluepurple-4', - 'bluepurple-5', 'bluepurple-6', 'bluepurple-7', 'bluepurple-8', 'bluepurple-9', 'goldgreen', - 'goldgreen-3', 'goldgreen-4', 'goldgreen-5', 'goldgreen-6', 'goldgreen-7', 'goldgreen-8', - 'goldgreen-9', 'goldorange', 'goldorange-3', 'goldorange-4', 'goldorange-5', 'goldorange-6', - 'goldorange-7', 'goldorange-8', 'goldorange-9', 'goldred', 'goldred-3', 'goldred-4', - 'goldred-5', 'goldred-6', 'goldred-7', 'goldred-8', 'goldred-9', 'greenblue', 'greenblue-3', - 'greenblue-4', 'greenblue-5', 'greenblue-6', 'greenblue-7', 'greenblue-8', 'greenblue-9', - 'orangered', 'orangered-3', 'orangered-4', 'orangered-5', 'orangered-6', 'orangered-7', - 'orangered-8', 'orangered-9', 'purplebluegreen', 'purplebluegreen-3', 'purplebluegreen-4', - 'purplebluegreen-5', 'purplebluegreen-6', 'purplebluegreen-7', 'purplebluegreen-8', - 'purplebluegreen-9', 'purpleblue', 'purpleblue-3', 'purpleblue-4', 'purpleblue-5', - 'purpleblue-6', 'purpleblue-7', 'purpleblue-8', 'purpleblue-9', 'purplered', 'purplered-3', - 'purplered-4', 'purplered-5', 'purplered-6', 'purplered-7', 'purplered-8', 'purplered-9', - 'redpurple', 'redpurple-3', 'redpurple-4', 'redpurple-5', 'redpurple-6', 'redpurple-7', - 'redpurple-8', 'redpurple-9', 'yellowgreenblue', 'yellowgreenblue-3', 'yellowgreenblue-4', - 'yellowgreenblue-5', 'yellowgreenblue-6', 'yellowgreenblue-7', 'yellowgreenblue-8', - 'yellowgreenblue-9', 'yellowgreen', 'yellowgreen-3', 'yellowgreen-4', 'yellowgreen-5', - 'yellowgreen-6', 'yellowgreen-7', 'yellowgreen-8', 'yellowgreen-9', 'yelloworangebrown', - 'yelloworangebrown-3', 'yelloworangebrown-4', 'yelloworangebrown-5', 'yelloworangebrown-6', - 'yelloworangebrown-7', 'yelloworangebrown-8', 'yelloworangebrown-9', 'yelloworangered', - 'yelloworangered-3', 'yelloworangered-4', 'yelloworangered-5', 'yelloworangered-6', - 'yelloworangered-7', 'yelloworangered-8', 'yelloworangered-9', 'darkblue', 'darkblue-3', - 'darkblue-4', 'darkblue-5', 'darkblue-6', 'darkblue-7', 'darkblue-8', 'darkblue-9', - 'darkgold', 'darkgold-3', 'darkgold-4', 'darkgold-5', 'darkgold-6', 'darkgold-7', - 'darkgold-8', 'darkgold-9', 'darkgreen', 'darkgreen-3', 'darkgreen-4', 'darkgreen-5', - 'darkgreen-6', 'darkgreen-7', 'darkgreen-8', 'darkgreen-9', 'darkmulti', 'darkmulti-3', - 'darkmulti-4', 'darkmulti-5', 'darkmulti-6', 'darkmulti-7', 'darkmulti-8', 'darkmulti-9', - 'darkred', 'darkred-3', 'darkred-4', 'darkred-5', 'darkred-6', 'darkred-7', 'darkred-8', - 'darkred-9', 'lightgreyred', 'lightgreyred-3', 'lightgreyred-4', 'lightgreyred-5', - 'lightgreyred-6', 'lightgreyred-7', 'lightgreyred-8', 'lightgreyred-9', 'lightgreyteal', - 'lightgreyteal-3', 'lightgreyteal-4', 'lightgreyteal-5', 'lightgreyteal-6', - 'lightgreyteal-7', 'lightgreyteal-8', 'lightgreyteal-9', 'lightmulti', 'lightmulti-3', - 'lightmulti-4', 'lightmulti-5', 'lightmulti-6', 'lightmulti-7', 'lightmulti-8', - 'lightmulti-9', 'lightorange', 'lightorange-3', 'lightorange-4', 'lightorange-5', - 'lightorange-6', 'lightorange-7', 'lightorange-8', 'lightorange-9', 'lighttealblue', - 'lighttealblue-3', 'lighttealblue-4', 'lighttealblue-5', 'lighttealblue-6', - 'lighttealblue-7', 'lighttealblue-8', 'lighttealblue-9'] - """ + """SequentialMultiHue schema wrapper""" _schema = {"$ref": "#/definitions/SequentialMultiHue"} @@ -42087,11 +36934,7 @@ def __init__(self, *args): class SequentialSingleHue(ColorScheme): - """SequentialSingleHue schema wrapper - - :class:`SequentialSingleHue`, Literal['blues', 'tealblues', 'teals', 'greens', 'browns', - 'greys', 'purples', 'warmgreys', 'reds', 'oranges'] - """ + """SequentialSingleHue schema wrapper""" _schema = {"$ref": "#/definitions/SequentialSingleHue"} @@ -42100,13 +36943,7 @@ def __init__(self, *args): class ShapeDef(VegaLiteSchema): - """ShapeDef schema wrapper - - :class:`FieldOrDatumDefWithConditionDatumDefstringnull`, Dict, - :class:`FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull`, - Dict[required=[shorthand]], :class:`ShapeDef`, - :class:`ValueDefWithConditionMarkPropFieldOrDatumDefTypeForShapestringnull`, Dict - """ + """ShapeDef schema wrapper""" _schema = {"$ref": "#/definitions/ShapeDef"} @@ -42119,8 +36956,6 @@ class FieldOrDatumDefWithConditionDatumDefstringnull( ): """FieldOrDatumDefWithConditionDatumDefstringnull schema wrapper - :class:`FieldOrDatumDefWithConditionDatumDefstringnull`, Dict - Parameters ---------- @@ -42128,16 +36963,16 @@ class FieldOrDatumDefWithConditionDatumDefstringnull( Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - condition : :class:`ConditionalParameterValueDefstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringnullExprRef`, Sequence[:class:`ConditionalParameterValueDefstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringnullExprRef`] + condition : dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -42236,39 +37071,15 @@ def __init__( self, bandPosition: Union[float, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - "ConditionalValueDefstringnullExprRef", - Union["ConditionalParameterValueDefstringnullExprRef", dict], - Union["ConditionalPredicateValueDefstringnullExprRef", dict], - ] - ], - Union[ - "ConditionalValueDefstringnullExprRef", - Union["ConditionalParameterValueDefstringnullExprRef", dict], - Union["ConditionalPredicateValueDefstringnullExprRef", dict], - ], - ], - UndefinedType, + dict, "SchemaBase", Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, datum: Union[ - Union[ - Union["DateTime", dict], - Union["ExprRef", "_Parameter", dict], - Union["PrimitiveValue", None, bool, float, str], - Union["RepeatRef", dict], - ], - UndefinedType, - ] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType + str, bool, dict, None, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, type: Union[ - Union[ - "Type", - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - ], + "SchemaBase", + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -42288,15 +37099,12 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull( ): """FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull schema wrapper - :class:`FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull`, - Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -42308,7 +37116,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull( Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool + bin : bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -42329,14 +37137,14 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull( **See also:** `bin `__ documentation. - condition : :class:`ConditionalParameterValueDefstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringnullExprRef`, Sequence[:class:`ConditionalParameterValueDefstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringnullExprRef`] + condition : dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -42351,7 +37159,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull( about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - legend : :class:`Legend`, Dict, None + legend : dict, None, :class:`Legend` An object defining properties of the legend. If ``null``, the legend for the encoding channel will be removed. @@ -42360,7 +37168,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull( **See also:** `legend `__ documentation. - scale : :class:`Scale`, Dict, None + scale : dict, None, :class:`Scale` An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. @@ -42373,7 +37181,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull( **See also:** `scale `__ documentation. - sort : :class:`AllSortString`, :class:`SortByChannelDesc`, Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'], :class:`SortByChannel`, Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], :class:`SortOrder`, Literal['ascending', 'descending'], :class:`EncodingSortField`, Dict, :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], Sequence[str], :class:`SortByEncoding`, Dict[required=[encoding]], :class:`Sort`, None + sort : dict, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'], Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -42412,7 +37220,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull( **See also:** `sort `__ documentation. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -42421,7 +37229,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull( **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -42519,279 +37327,211 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull( def __init__( self, shorthand: Union[ - Union[Sequence[str], Union["RepeatRef", dict], str], UndefinedType + str, dict, "SchemaBase", Sequence[str], UndefinedType ] = Undefined, aggregate: Union[ - Union[ - "Aggregate", - Union["ArgmaxDef", dict], - Union["ArgminDef", dict], - Union[ - "NonArgAggregateOp", - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - ], + dict, + "SchemaBase", + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union["BinParams", dict], bool], UndefinedType - ] = Undefined, + bin: Union[bool, dict, None, "SchemaBase", UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - "ConditionalValueDefstringnullExprRef", - Union["ConditionalParameterValueDefstringnullExprRef", dict], - Union["ConditionalPredicateValueDefstringnullExprRef", dict], - ] - ], - Union[ - "ConditionalValueDefstringnullExprRef", - Union["ConditionalParameterValueDefstringnullExprRef", dict], - Union["ConditionalPredicateValueDefstringnullExprRef", dict], - ], - ], - UndefinedType, - ] = Undefined, - field: Union[ - Union["Field", Union["FieldName", str], Union["RepeatRef", dict]], - UndefinedType, + dict, "SchemaBase", Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, - legend: Union[Union[None, Union["Legend", dict]], UndefinedType] = Undefined, - scale: Union[Union[None, Union["Scale", dict]], UndefinedType] = Undefined, + field: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, + legend: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, + scale: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, sort: Union[ - Union[ - "Sort", - None, - Union[ - "AllSortString", - Union[ - "SortByChannel", - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], - ], - Union[ - "SortByChannelDesc", - Literal[ - "-x", - "-y", - "-color", - "-fill", - "-stroke", - "-strokeWidth", - "-size", - "-shape", - "-fillOpacity", - "-strokeOpacity", - "-opacity", - "-text", - ], - ], - Union["SortOrder", Literal["ascending", "descending"]], - ], - Union["EncodingSortField", dict], - Union[ - "SortArray", - Sequence[Union["DateTime", dict]], - Sequence[bool], - Sequence[float], - Sequence[str], - ], - Union["SortByEncoding", dict], + dict, + None, + "SchemaBase", + Sequence[str], + Sequence[bool], + Sequence[float], + Literal["ascending", "descending"], + Sequence[Union[dict, "SchemaBase"]], + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", + ], + Literal[ + "-x", + "-y", + "-color", + "-fill", + "-stroke", + "-strokeWidth", + "-size", + "-shape", + "-fillOpacity", + "-strokeOpacity", + "-opacity", + "-text", ], UndefinedType, ] = Undefined, timeUnit: Union[ - Union[ - Union[ - "BinnedTimeUnit", - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - ], - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], - ], - Union["TimeUnitParams", dict], - ], - UndefinedType, - ] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType - ] = Undefined, + dict, + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", + ], + UndefinedType, + ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, type: Union[ - Union["TypeForShape", Literal["nominal", "ordinal", "geojson"]], - UndefinedType, + "SchemaBase", Literal["nominal", "ordinal", "geojson"], UndefinedType ] = Undefined, **kwds, ): @@ -42817,39 +37557,37 @@ def __init__( class SharedEncoding(VegaLiteSchema): """SharedEncoding schema wrapper - :class:`SharedEncoding`, Dict - Parameters ---------- - angle : Dict + angle : dict - color : Dict + color : dict - description : Dict + description : dict - detail : :class:`FieldDefWithoutScale`, Dict[required=[shorthand]], Sequence[:class:`FieldDefWithoutScale`, Dict[required=[shorthand]]] + detail : dict, :class:`FieldDefWithoutScale`, Sequence[dict, :class:`FieldDefWithoutScale`] Additional levels of detail for grouping data in aggregate views and in line, trail, and area marks without mapping data to a specific visual channel. - fill : Dict + fill : dict - fillOpacity : Dict + fillOpacity : dict - href : Dict + href : dict - key : Dict + key : dict - latitude : Dict + latitude : dict - latitude2 : Dict + latitude2 : dict - longitude : Dict + longitude : dict - longitude2 : Dict + longitude2 : dict - opacity : Dict + opacity : dict - order : :class:`OrderFieldDef`, Dict[required=[shorthand]], :class:`OrderOnlyDef`, Dict, :class:`OrderValueDef`, Dict[required=[value]], Sequence[:class:`OrderFieldDef`, Dict[required=[shorthand]]] + order : dict, :class:`OrderOnlyDef`, :class:`OrderFieldDef`, :class:`OrderValueDef`, Sequence[dict, :class:`OrderFieldDef`] Order of the marks. @@ -42864,56 +37602,56 @@ class SharedEncoding(VegaLiteSchema): **Note** : In aggregate plots, ``order`` field should be ``aggregate`` d to avoid creating additional aggregation grouping. - radius : Dict + radius : dict - radius2 : Dict + radius2 : dict - shape : Dict + shape : dict - size : Dict + size : dict - stroke : Dict + stroke : dict - strokeDash : Dict + strokeDash : dict - strokeOpacity : Dict + strokeOpacity : dict - strokeWidth : Dict + strokeWidth : dict - text : Dict + text : dict - theta : Dict + theta : dict - theta2 : Dict + theta2 : dict - tooltip : :class:`StringFieldDefWithCondition`, Dict[required=[shorthand]], :class:`StringValueDefWithCondition`, Dict, None, Sequence[:class:`StringFieldDef`, Dict] + tooltip : dict, None, :class:`StringFieldDefWithCondition`, :class:`StringValueDefWithCondition`, Sequence[dict, :class:`StringFieldDef`] The tooltip text to show upon mouse hover. Specifying ``tooltip`` encoding overrides `the tooltip property in the mark definition `__. See the `tooltip `__ documentation for a detailed discussion about tooltip in Vega-Lite. - url : Dict + url : dict - x : Dict + x : dict - x2 : Dict + x2 : dict - xError : Dict + xError : dict - xError2 : Dict + xError2 : dict - xOffset : Dict + xOffset : dict - y : Dict + y : dict - y2 : Dict + y2 : dict - yError : Dict + yError : dict - yError2 : Dict + yError2 : dict - yOffset : Dict + yOffset : dict """ @@ -42925,11 +37663,7 @@ def __init__( color: Union[dict, UndefinedType] = Undefined, description: Union[dict, UndefinedType] = Undefined, detail: Union[ - Union[ - Sequence[Union["FieldDefWithoutScale", dict]], - Union["FieldDefWithoutScale", dict], - ], - UndefinedType, + dict, "SchemaBase", Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, fill: Union[dict, UndefinedType] = Undefined, fillOpacity: Union[dict, UndefinedType] = Undefined, @@ -42941,13 +37675,7 @@ def __init__( longitude2: Union[dict, UndefinedType] = Undefined, opacity: Union[dict, UndefinedType] = Undefined, order: Union[ - Union[ - Sequence[Union["OrderFieldDef", dict]], - Union["OrderFieldDef", dict], - Union["OrderOnlyDef", dict], - Union["OrderValueDef", dict], - ], - UndefinedType, + dict, "SchemaBase", Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, radius: Union[dict, UndefinedType] = Undefined, radius2: Union[dict, UndefinedType] = Undefined, @@ -42961,13 +37689,7 @@ def __init__( theta: Union[dict, UndefinedType] = Undefined, theta2: Union[dict, UndefinedType] = Undefined, tooltip: Union[ - Union[ - None, - Sequence[Union["StringFieldDef", dict]], - Union["StringFieldDefWithCondition", dict], - Union["StringValueDefWithCondition", dict], - ], - UndefinedType, + dict, None, "SchemaBase", Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, url: Union[dict, UndefinedType] = Undefined, x: Union[dict, UndefinedType] = Undefined, @@ -43025,13 +37747,7 @@ def __init__( class SingleDefUnitChannel(VegaLiteSchema): - """SingleDefUnitChannel schema wrapper - - :class:`SingleDefUnitChannel`, Literal['x', 'y', 'xOffset', 'yOffset', 'x2', 'y2', - 'longitude', 'latitude', 'longitude2', 'latitude2', 'theta', 'theta2', 'radius', 'radius2', - 'color', 'fill', 'stroke', 'opacity', 'fillOpacity', 'strokeOpacity', 'strokeWidth', - 'strokeDash', 'size', 'angle', 'shape', 'key', 'text', 'href', 'url', 'description'] - """ + """SingleDefUnitChannel schema wrapper""" _schema = {"$ref": "#/definitions/SingleDefUnitChannel"} @@ -43040,16 +37756,7 @@ def __init__(self, *args): class Sort(VegaLiteSchema): - """Sort schema wrapper - - :class:`AllSortString`, :class:`SortByChannelDesc`, Literal['-x', '-y', '-color', '-fill', - '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', - '-text'], :class:`SortByChannel`, Literal['x', 'y', 'color', 'fill', 'stroke', - 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], - :class:`SortOrder`, Literal['ascending', 'descending'], :class:`EncodingSortField`, Dict, - :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], - Sequence[str], :class:`SortByEncoding`, Dict[required=[encoding]], :class:`Sort`, None - """ + """Sort schema wrapper""" _schema = {"$ref": "#/definitions/Sort"} @@ -43058,14 +37765,7 @@ def __init__(self, *args, **kwds): class AllSortString(Sort): - """AllSortString schema wrapper - - :class:`AllSortString`, :class:`SortByChannelDesc`, Literal['-x', '-y', '-color', '-fill', - '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', - '-text'], :class:`SortByChannel`, Literal['x', 'y', 'color', 'fill', 'stroke', - 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'], - :class:`SortOrder`, Literal['ascending', 'descending'] - """ + """AllSortString schema wrapper""" _schema = {"$ref": "#/definitions/AllSortString"} @@ -43075,14 +37775,12 @@ def __init__(self, *args, **kwds): class EncodingSortField(Sort): """EncodingSortField schema wrapper - - :class:`EncodingSortField`, Dict A sort definition for sorting a discrete scale in an encoding field definition. Parameters ---------- - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` The data `field `__ to sort by. **Default value:** If unspecified, defaults to the field specified in the outer data @@ -43099,7 +37797,7 @@ class EncodingSortField(Sort): `__. **Default value:** ``"sum"`` for stacked plots. Otherwise, ``"min"``. - order : :class:`SortOrder`, Literal['ascending', 'descending'], None + order : None, :class:`SortOrder`, Literal['ascending', 'descending'] The sort order. One of ``"ascending"`` (default), ``"descending"``, or ``null`` (no not sort). """ @@ -43108,42 +37806,36 @@ class EncodingSortField(Sort): def __init__( self, - field: Union[ - Union["Field", Union["FieldName", str], Union["RepeatRef", dict]], - UndefinedType, - ] = Undefined, + field: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, op: Union[ - Union[ - "NonArgAggregateOp", - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], + "SchemaBase", + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union["SortOrder", Literal["ascending", "descending"]]], - UndefinedType, + None, "SchemaBase", Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ): @@ -43151,11 +37843,7 @@ def __init__( class SortArray(Sort): - """SortArray schema wrapper - - :class:`SortArray`, Sequence[:class:`DateTime`, Dict], Sequence[bool], Sequence[float], - Sequence[str] - """ + """SortArray schema wrapper""" _schema = {"$ref": "#/definitions/SortArray"} @@ -43164,11 +37852,7 @@ def __init__(self, *args, **kwds): class SortByChannel(AllSortString): - """SortByChannel schema wrapper - - :class:`SortByChannel`, Literal['x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', - 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'] - """ + """SortByChannel schema wrapper""" _schema = {"$ref": "#/definitions/SortByChannel"} @@ -43177,11 +37861,7 @@ def __init__(self, *args): class SortByChannelDesc(AllSortString): - """SortByChannelDesc schema wrapper - - :class:`SortByChannelDesc`, Literal['-x', '-y', '-color', '-fill', '-stroke', - '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text'] - """ + """SortByChannelDesc schema wrapper""" _schema = {"$ref": "#/definitions/SortByChannelDesc"} @@ -43192,8 +37872,6 @@ def __init__(self, *args): class SortByEncoding(Sort): """SortByEncoding schema wrapper - :class:`SortByEncoding`, Dict[required=[encoding]] - Parameters ---------- @@ -43201,7 +37879,7 @@ class SortByEncoding(Sort): The `encoding channel `__ to sort by (e.g., ``"x"``, ``"y"`` ) - order : :class:`SortOrder`, Literal['ascending', 'descending'], None + order : None, :class:`SortOrder`, Literal['ascending', 'descending'] The sort order. One of ``"ascending"`` (default), ``"descending"``, or ``null`` (no not sort). """ @@ -43211,28 +37889,25 @@ class SortByEncoding(Sort): def __init__( self, encoding: Union[ - Union[ - "SortByChannel", - Literal[ - "x", - "y", - "color", - "fill", - "stroke", - "strokeWidth", - "size", - "shape", - "fillOpacity", - "strokeOpacity", - "opacity", - "text", - ], + "SchemaBase", + Literal[ + "x", + "y", + "color", + "fill", + "stroke", + "strokeWidth", + "size", + "shape", + "fillOpacity", + "strokeOpacity", + "opacity", + "text", ], UndefinedType, ] = Undefined, order: Union[ - Union[None, Union["SortOrder", Literal["ascending", "descending"]]], - UndefinedType, + None, "SchemaBase", Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ): @@ -43241,16 +37916,14 @@ def __init__( class SortField(VegaLiteSchema): """SortField schema wrapper - - :class:`SortField`, Dict[required=[field]] A sort definition for transform Parameters ---------- - field : :class:`FieldName`, str + field : str, :class:`FieldName` The name of the field to sort. - order : :class:`SortOrder`, Literal['ascending', 'descending'], None + order : None, :class:`SortOrder`, Literal['ascending', 'descending'] Whether to sort the field in ascending or descending order. One of ``"ascending"`` (default), ``"descending"``, or ``null`` (no not sort). """ @@ -43259,10 +37932,9 @@ class SortField(VegaLiteSchema): def __init__( self, - field: Union[Union["FieldName", str], UndefinedType] = Undefined, + field: Union[str, "SchemaBase", UndefinedType] = Undefined, order: Union[ - Union[None, Union["SortOrder", Literal["ascending", "descending"]]], - UndefinedType, + None, "SchemaBase", Literal["ascending", "descending"], UndefinedType ] = Undefined, **kwds, ): @@ -43270,10 +37942,7 @@ def __init__( class SortOrder(AllSortString): - """SortOrder schema wrapper - - :class:`SortOrder`, Literal['ascending', 'descending'] - """ + """SortOrder schema wrapper""" _schema = {"$ref": "#/definitions/SortOrder"} @@ -43283,13 +37952,6 @@ def __init__(self, *args): class Spec(VegaLiteSchema): """Spec schema wrapper - - :class:`ConcatSpecGenericSpec`, Dict[required=[concat]], :class:`FacetSpec`, - Dict[required=[facet, spec]], :class:`FacetedUnitSpec`, Dict[required=[mark]], - :class:`HConcatSpecGenericSpec`, Dict[required=[hconcat]], :class:`LayerRepeatSpec`, - Dict[required=[repeat, spec]], :class:`NonLayerRepeatSpec`, Dict[required=[repeat, spec]], - :class:`RepeatSpec`, :class:`LayerSpec`, Dict[required=[layer]], :class:`Spec`, - :class:`VConcatSpecGenericSpec`, Dict[required=[vconcat]] Any specification in Vega-Lite. """ @@ -43301,16 +37963,14 @@ def __init__(self, *args, **kwds): class ConcatSpecGenericSpec(Spec, NonNormalizedSpec): """ConcatSpecGenericSpec schema wrapper - - :class:`ConcatSpecGenericSpec`, Dict[required=[concat]] Base interface for a generalized concatenation specification. Parameters ---------- - concat : Sequence[:class:`ConcatSpecGenericSpec`, Dict[required=[concat]], :class:`FacetSpec`, Dict[required=[facet, spec]], :class:`FacetedUnitSpec`, Dict[required=[mark]], :class:`HConcatSpecGenericSpec`, Dict[required=[hconcat]], :class:`LayerRepeatSpec`, Dict[required=[repeat, spec]], :class:`NonLayerRepeatSpec`, Dict[required=[repeat, spec]], :class:`RepeatSpec`, :class:`LayerSpec`, Dict[required=[layer]], :class:`Spec`, :class:`VConcatSpecGenericSpec`, Dict[required=[vconcat]]] + concat : Sequence[dict, :class:`Spec`, :class:`FacetSpec`, :class:`LayerSpec`, :class:`RepeatSpec`, :class:`FacetedUnitSpec`, :class:`LayerRepeatSpec`, :class:`NonLayerRepeatSpec`, :class:`ConcatSpecGenericSpec`, :class:`HConcatSpecGenericSpec`, :class:`VConcatSpecGenericSpec`] A list of views to be concatenated. - align : :class:`LayoutAlign`, Literal['all', 'each', 'none'], :class:`RowColLayoutAlign`, Dict + align : dict, :class:`LayoutAlign`, :class:`RowColLayoutAlign`, Literal['all', 'each', 'none'] The alignment to apply to grid rows and columns. The supported string values are ``"all"``, ``"each"``, and ``"none"``. @@ -43339,7 +37999,7 @@ class ConcatSpecGenericSpec(Spec, NonNormalizedSpec): sub-plots without axes or legends into a uniform grid structure. **Default value:** ``"full"`` - center : :class:`RowColboolean`, Dict, bool + center : bool, dict, :class:`RowColboolean` Boolean flag indicating if subviews should be centered relative to their respective rows or columns. @@ -43365,16 +38025,16 @@ class ConcatSpecGenericSpec(Spec, NonNormalizedSpec): 2) Setting the ``columns`` to ``1`` is equivalent to ``vconcat`` (for ``concat`` ) and to using the ``row`` channel (for ``facet`` and ``repeat`` ). - data : :class:`DataSource`, :class:`InlineData`, Dict[required=[values]], :class:`NamedData`, Dict[required=[name]], :class:`UrlData`, Dict[required=[url]], :class:`Data`, :class:`Generator`, :class:`GraticuleGenerator`, Dict[required=[graticule]], :class:`SequenceGenerator`, Dict[required=[sequence]], :class:`SphereGenerator`, Dict[required=[sphere]], None + data : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` An object describing the data source. Set to ``null`` to ignore the parent's data source. If no data is set, it is derived from the parent. description : str Description of this mark for commenting purpose. name : str Name of the visualization for later reference. - resolve : :class:`Resolve`, Dict + resolve : dict, :class:`Resolve` Scale, axis, and legend resolutions for view composition specifications. - spacing : :class:`RowColnumber`, Dict, float + spacing : dict, float, :class:`RowColnumber` The spacing in pixels between sub-views of the composition operator. An object of the form ``{"row": number, "column": number}`` can be used to set different spacing values for rows and columns. @@ -43382,9 +38042,9 @@ class ConcatSpecGenericSpec(Spec, NonNormalizedSpec): **Default value** : Depends on ``"spacing"`` property of `the view composition configuration `__ ( ``20`` by default) - title : :class:`Text`, Sequence[str], str, :class:`TitleParams`, Dict[required=[text]] + title : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - transform : Sequence[:class:`AggregateTransform`, Dict[required=[aggregate]], :class:`BinTransform`, Dict[required=[bin, field, as]], :class:`CalculateTransform`, Dict[required=[calculate, as]], :class:`DensityTransform`, Dict[required=[density]], :class:`ExtentTransform`, Dict[required=[extent, param]], :class:`FilterTransform`, Dict[required=[filter]], :class:`FlattenTransform`, Dict[required=[flatten]], :class:`FoldTransform`, Dict[required=[fold]], :class:`ImputeTransform`, Dict[required=[impute, key]], :class:`JoinAggregateTransform`, Dict[required=[joinaggregate]], :class:`LoessTransform`, Dict[required=[loess, on]], :class:`LookupTransform`, Dict[required=[lookup, from]], :class:`PivotTransform`, Dict[required=[pivot, value]], :class:`QuantileTransform`, Dict[required=[quantile]], :class:`RegressionTransform`, Dict[required=[regression, on]], :class:`SampleTransform`, Dict[required=[sample]], :class:`StackTransform`, Dict[required=[stack, groupby, as]], :class:`TimeUnitTransform`, Dict[required=[timeUnit, field, as]], :class:`Transform`, :class:`WindowTransform`, Dict[required=[window]]] + transform : Sequence[dict, :class:`Transform`, :class:`BinTransform`, :class:`FoldTransform`, :class:`LoessTransform`, :class:`PivotTransform`, :class:`StackTransform`, :class:`ExtentTransform`, :class:`FilterTransform`, :class:`ImputeTransform`, :class:`LookupTransform`, :class:`SampleTransform`, :class:`WindowTransform`, :class:`DensityTransform`, :class:`FlattenTransform`, :class:`QuantileTransform`, :class:`TimeUnitTransform`, :class:`AggregateTransform`, :class:`CalculateTransform`, :class:`RegressionTransform`, :class:`JoinAggregateTransform`] An array of data transformations such as filter and new field calculation. """ @@ -43392,94 +38052,21 @@ class ConcatSpecGenericSpec(Spec, NonNormalizedSpec): def __init__( self, - concat: Union[ - Sequence[ - Union[ - "Spec", - Union["ConcatSpecGenericSpec", dict], - Union["FacetSpec", dict], - Union["FacetedUnitSpec", dict], - Union["HConcatSpecGenericSpec", dict], - Union["LayerSpec", dict], - Union[ - "RepeatSpec", - Union["LayerRepeatSpec", dict], - Union["NonLayerRepeatSpec", dict], - ], - Union["VConcatSpecGenericSpec", dict], - ] - ], - UndefinedType, - ] = Undefined, + concat: Union[Sequence[Union[dict, "SchemaBase"]], UndefinedType] = Undefined, align: Union[ - Union[ - Union["LayoutAlign", Literal["all", "each", "none"]], - Union["RowColLayoutAlign", dict], - ], - UndefinedType, + dict, "SchemaBase", Literal["all", "each", "none"], UndefinedType ] = Undefined, bounds: Union[Literal["full", "flush"], UndefinedType] = Undefined, - center: Union[ - Union[Union["RowColboolean", dict], bool], UndefinedType - ] = Undefined, + center: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, columns: Union[float, UndefinedType] = Undefined, - data: Union[ - Union[ - None, - Union[ - "Data", - Union[ - "DataSource", - Union["InlineData", dict], - Union["NamedData", dict], - Union["UrlData", dict], - ], - Union[ - "Generator", - Union["GraticuleGenerator", dict], - Union["SequenceGenerator", dict], - Union["SphereGenerator", dict], - ], - ], - ], - UndefinedType, - ] = Undefined, + data: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, description: Union[str, UndefinedType] = Undefined, name: Union[str, UndefinedType] = Undefined, - resolve: Union[Union["Resolve", dict], UndefinedType] = Undefined, - spacing: Union[ - Union[Union["RowColnumber", dict], float], UndefinedType - ] = Undefined, - title: Union[ - Union[Union["Text", Sequence[str], str], Union["TitleParams", dict]], - UndefinedType, - ] = Undefined, + resolve: Union[dict, "SchemaBase", UndefinedType] = Undefined, + spacing: Union[dict, float, "SchemaBase", UndefinedType] = Undefined, + title: Union[str, dict, "SchemaBase", Sequence[str], UndefinedType] = Undefined, transform: Union[ - Sequence[ - Union[ - "Transform", - Union["AggregateTransform", dict], - Union["BinTransform", dict], - Union["CalculateTransform", dict], - Union["DensityTransform", dict], - Union["ExtentTransform", dict], - Union["FilterTransform", dict], - Union["FlattenTransform", dict], - Union["FoldTransform", dict], - Union["ImputeTransform", dict], - Union["JoinAggregateTransform", dict], - Union["LoessTransform", dict], - Union["LookupTransform", dict], - Union["PivotTransform", dict], - Union["QuantileTransform", dict], - Union["RegressionTransform", dict], - Union["SampleTransform", dict], - Union["StackTransform", dict], - Union["TimeUnitTransform", dict], - Union["WindowTransform", dict], - ] - ], - UndefinedType, + Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, **kwds, ): @@ -43502,22 +38089,20 @@ def __init__( class FacetSpec(Spec, NonNormalizedSpec): """FacetSpec schema wrapper - - :class:`FacetSpec`, Dict[required=[facet, spec]] Base interface for a facet specification. Parameters ---------- - facet : :class:`FacetFieldDef`, Dict, :class:`FacetMapping`, Dict + facet : dict, :class:`FacetMapping`, :class:`FacetFieldDef` Definition for how to facet the data. One of: 1) `a field definition for faceting the plot by one field `__ 2) `An object that maps row and column channels to their field definitions `__ - spec : :class:`FacetedUnitSpec`, Dict[required=[mark]], :class:`LayerSpec`, Dict[required=[layer]] + spec : dict, :class:`LayerSpec`, :class:`FacetedUnitSpec` A specification of the view that gets faceted. - align : :class:`LayoutAlign`, Literal['all', 'each', 'none'], :class:`RowColLayoutAlign`, Dict + align : dict, :class:`LayoutAlign`, :class:`RowColLayoutAlign`, Literal['all', 'each', 'none'] The alignment to apply to grid rows and columns. The supported string values are ``"all"``, ``"each"``, and ``"none"``. @@ -43546,7 +38131,7 @@ class FacetSpec(Spec, NonNormalizedSpec): sub-plots without axes or legends into a uniform grid structure. **Default value:** ``"full"`` - center : :class:`RowColboolean`, Dict, bool + center : bool, dict, :class:`RowColboolean` Boolean flag indicating if subviews should be centered relative to their respective rows or columns. @@ -43572,16 +38157,16 @@ class FacetSpec(Spec, NonNormalizedSpec): 2) Setting the ``columns`` to ``1`` is equivalent to ``vconcat`` (for ``concat`` ) and to using the ``row`` channel (for ``facet`` and ``repeat`` ). - data : :class:`DataSource`, :class:`InlineData`, Dict[required=[values]], :class:`NamedData`, Dict[required=[name]], :class:`UrlData`, Dict[required=[url]], :class:`Data`, :class:`Generator`, :class:`GraticuleGenerator`, Dict[required=[graticule]], :class:`SequenceGenerator`, Dict[required=[sequence]], :class:`SphereGenerator`, Dict[required=[sphere]], None + data : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` An object describing the data source. Set to ``null`` to ignore the parent's data source. If no data is set, it is derived from the parent. description : str Description of this mark for commenting purpose. name : str Name of the visualization for later reference. - resolve : :class:`Resolve`, Dict + resolve : dict, :class:`Resolve` Scale, axis, and legend resolutions for view composition specifications. - spacing : :class:`RowColnumber`, Dict, float + spacing : dict, float, :class:`RowColnumber` The spacing in pixels between sub-views of the composition operator. An object of the form ``{"row": number, "column": number}`` can be used to set different spacing values for rows and columns. @@ -43589,9 +38174,9 @@ class FacetSpec(Spec, NonNormalizedSpec): **Default value** : Depends on ``"spacing"`` property of `the view composition configuration `__ ( ``20`` by default) - title : :class:`Text`, Sequence[str], str, :class:`TitleParams`, Dict[required=[text]] + title : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - transform : Sequence[:class:`AggregateTransform`, Dict[required=[aggregate]], :class:`BinTransform`, Dict[required=[bin, field, as]], :class:`CalculateTransform`, Dict[required=[calculate, as]], :class:`DensityTransform`, Dict[required=[density]], :class:`ExtentTransform`, Dict[required=[extent, param]], :class:`FilterTransform`, Dict[required=[filter]], :class:`FlattenTransform`, Dict[required=[flatten]], :class:`FoldTransform`, Dict[required=[fold]], :class:`ImputeTransform`, Dict[required=[impute, key]], :class:`JoinAggregateTransform`, Dict[required=[joinaggregate]], :class:`LoessTransform`, Dict[required=[loess, on]], :class:`LookupTransform`, Dict[required=[lookup, from]], :class:`PivotTransform`, Dict[required=[pivot, value]], :class:`QuantileTransform`, Dict[required=[quantile]], :class:`RegressionTransform`, Dict[required=[regression, on]], :class:`SampleTransform`, Dict[required=[sample]], :class:`StackTransform`, Dict[required=[stack, groupby, as]], :class:`TimeUnitTransform`, Dict[required=[timeUnit, field, as]], :class:`Transform`, :class:`WindowTransform`, Dict[required=[window]]] + transform : Sequence[dict, :class:`Transform`, :class:`BinTransform`, :class:`FoldTransform`, :class:`LoessTransform`, :class:`PivotTransform`, :class:`StackTransform`, :class:`ExtentTransform`, :class:`FilterTransform`, :class:`ImputeTransform`, :class:`LookupTransform`, :class:`SampleTransform`, :class:`WindowTransform`, :class:`DensityTransform`, :class:`FlattenTransform`, :class:`QuantileTransform`, :class:`TimeUnitTransform`, :class:`AggregateTransform`, :class:`CalculateTransform`, :class:`RegressionTransform`, :class:`JoinAggregateTransform`] An array of data transformations such as filter and new field calculation. """ @@ -43599,83 +38184,22 @@ class FacetSpec(Spec, NonNormalizedSpec): def __init__( self, - facet: Union[ - Union[Union["FacetFieldDef", dict], Union["FacetMapping", dict]], - UndefinedType, - ] = Undefined, - spec: Union[ - Union[Union["FacetedUnitSpec", dict], Union["LayerSpec", dict]], - UndefinedType, - ] = Undefined, + facet: Union[dict, "SchemaBase", UndefinedType] = Undefined, + spec: Union[dict, "SchemaBase", UndefinedType] = Undefined, align: Union[ - Union[ - Union["LayoutAlign", Literal["all", "each", "none"]], - Union["RowColLayoutAlign", dict], - ], - UndefinedType, + dict, "SchemaBase", Literal["all", "each", "none"], UndefinedType ] = Undefined, bounds: Union[Literal["full", "flush"], UndefinedType] = Undefined, - center: Union[ - Union[Union["RowColboolean", dict], bool], UndefinedType - ] = Undefined, + center: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, columns: Union[float, UndefinedType] = Undefined, - data: Union[ - Union[ - None, - Union[ - "Data", - Union[ - "DataSource", - Union["InlineData", dict], - Union["NamedData", dict], - Union["UrlData", dict], - ], - Union[ - "Generator", - Union["GraticuleGenerator", dict], - Union["SequenceGenerator", dict], - Union["SphereGenerator", dict], - ], - ], - ], - UndefinedType, - ] = Undefined, + data: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, description: Union[str, UndefinedType] = Undefined, name: Union[str, UndefinedType] = Undefined, - resolve: Union[Union["Resolve", dict], UndefinedType] = Undefined, - spacing: Union[ - Union[Union["RowColnumber", dict], float], UndefinedType - ] = Undefined, - title: Union[ - Union[Union["Text", Sequence[str], str], Union["TitleParams", dict]], - UndefinedType, - ] = Undefined, + resolve: Union[dict, "SchemaBase", UndefinedType] = Undefined, + spacing: Union[dict, float, "SchemaBase", UndefinedType] = Undefined, + title: Union[str, dict, "SchemaBase", Sequence[str], UndefinedType] = Undefined, transform: Union[ - Sequence[ - Union[ - "Transform", - Union["AggregateTransform", dict], - Union["BinTransform", dict], - Union["CalculateTransform", dict], - Union["DensityTransform", dict], - Union["ExtentTransform", dict], - Union["FilterTransform", dict], - Union["FlattenTransform", dict], - Union["FoldTransform", dict], - Union["ImputeTransform", dict], - Union["JoinAggregateTransform", dict], - Union["LoessTransform", dict], - Union["LookupTransform", dict], - Union["PivotTransform", dict], - Union["QuantileTransform", dict], - Union["RegressionTransform", dict], - Union["SampleTransform", dict], - Union["StackTransform", dict], - Union["TimeUnitTransform", dict], - Union["WindowTransform", dict], - ] - ], - UndefinedType, + Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, **kwds, ): @@ -43699,20 +38223,18 @@ def __init__( class FacetedUnitSpec(Spec, NonNormalizedSpec): """FacetedUnitSpec schema wrapper - - :class:`FacetedUnitSpec`, Dict[required=[mark]] Unit spec that can have a composite mark and row or column channels (shorthand for a facet spec). Parameters ---------- - mark : :class:`AnyMark`, :class:`BoxPlotDef`, Dict[required=[type]], :class:`CompositeMarkDef`, :class:`ErrorBandDef`, Dict[required=[type]], :class:`ErrorBarDef`, Dict[required=[type]], :class:`BoxPlot`, str, :class:`CompositeMark`, :class:`ErrorBand`, str, :class:`ErrorBar`, str, :class:`MarkDef`, Dict[required=[type]], :class:`Mark`, Literal['arc', 'area', 'bar', 'image', 'line', 'point', 'rect', 'rule', 'text', 'tick', 'trail', 'circle', 'square', 'geoshape'] + mark : str, dict, :class:`Mark`, :class:`AnyMark`, :class:`BoxPlot`, :class:`MarkDef`, :class:`ErrorBar`, :class:`ErrorBand`, :class:`BoxPlotDef`, :class:`ErrorBarDef`, :class:`ErrorBandDef`, :class:`CompositeMark`, :class:`CompositeMarkDef`, Literal['arc', 'area', 'bar', 'image', 'line', 'point', 'rect', 'rule', 'text', 'tick', 'trail', 'circle', 'square', 'geoshape'] A string describing the mark type (one of ``"bar"``, ``"circle"``, ``"square"``, ``"tick"``, ``"line"``, ``"area"``, ``"point"``, ``"rule"``, ``"geoshape"``, and ``"text"`` ) or a `mark definition object `__. - align : :class:`LayoutAlign`, Literal['all', 'each', 'none'], :class:`RowColLayoutAlign`, Dict + align : dict, :class:`LayoutAlign`, :class:`RowColLayoutAlign`, Literal['all', 'each', 'none'] The alignment to apply to grid rows and columns. The supported string values are ``"all"``, ``"each"``, and ``"none"``. @@ -43741,7 +38263,7 @@ class FacetedUnitSpec(Spec, NonNormalizedSpec): sub-plots without axes or legends into a uniform grid structure. **Default value:** ``"full"`` - center : :class:`RowColboolean`, Dict, bool + center : bool, dict, :class:`RowColboolean` Boolean flag indicating if subviews should be centered relative to their respective rows or columns. @@ -43749,14 +38271,14 @@ class FacetedUnitSpec(Spec, NonNormalizedSpec): supply different centering values for rows and columns. **Default value:** ``false`` - data : :class:`DataSource`, :class:`InlineData`, Dict[required=[values]], :class:`NamedData`, Dict[required=[name]], :class:`UrlData`, Dict[required=[url]], :class:`Data`, :class:`Generator`, :class:`GraticuleGenerator`, Dict[required=[graticule]], :class:`SequenceGenerator`, Dict[required=[sequence]], :class:`SphereGenerator`, Dict[required=[sphere]], None + data : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` An object describing the data source. Set to ``null`` to ignore the parent's data source. If no data is set, it is derived from the parent. description : str Description of this mark for commenting purpose. - encoding : :class:`FacetedEncoding`, Dict + encoding : dict, :class:`FacetedEncoding` A key-value mapping between encoding channels and definition of fields. - height : :class:`Step`, Dict[required=[step]], float, str + height : str, dict, float, :class:`Step` The height of a visualization. @@ -43778,16 +38300,16 @@ class FacetedUnitSpec(Spec, NonNormalizedSpec): documentation. name : str Name of the visualization for later reference. - params : Sequence[:class:`SelectionParameter`, Dict[required=[name, select]]] + params : Sequence[dict, :class:`SelectionParameter`] An array of parameters that may either be simple variables, or more complex selections that map user input to data queries. - projection : :class:`Projection`, Dict + projection : dict, :class:`Projection` An object defining properties of geographic projection, which will be applied to ``shape`` path for ``"geoshape"`` marks and to ``latitude`` and ``"longitude"`` channels for other marks. - resolve : :class:`Resolve`, Dict + resolve : dict, :class:`Resolve` Scale, axis, and legend resolutions for view composition specifications. - spacing : :class:`RowColnumber`, Dict, float + spacing : dict, float, :class:`RowColnumber` The spacing in pixels between sub-views of the composition operator. An object of the form ``{"row": number, "column": number}`` can be used to set different spacing values for rows and columns. @@ -43795,15 +38317,15 @@ class FacetedUnitSpec(Spec, NonNormalizedSpec): **Default value** : Depends on ``"spacing"`` property of `the view composition configuration `__ ( ``20`` by default) - title : :class:`Text`, Sequence[str], str, :class:`TitleParams`, Dict[required=[text]] + title : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - transform : Sequence[:class:`AggregateTransform`, Dict[required=[aggregate]], :class:`BinTransform`, Dict[required=[bin, field, as]], :class:`CalculateTransform`, Dict[required=[calculate, as]], :class:`DensityTransform`, Dict[required=[density]], :class:`ExtentTransform`, Dict[required=[extent, param]], :class:`FilterTransform`, Dict[required=[filter]], :class:`FlattenTransform`, Dict[required=[flatten]], :class:`FoldTransform`, Dict[required=[fold]], :class:`ImputeTransform`, Dict[required=[impute, key]], :class:`JoinAggregateTransform`, Dict[required=[joinaggregate]], :class:`LoessTransform`, Dict[required=[loess, on]], :class:`LookupTransform`, Dict[required=[lookup, from]], :class:`PivotTransform`, Dict[required=[pivot, value]], :class:`QuantileTransform`, Dict[required=[quantile]], :class:`RegressionTransform`, Dict[required=[regression, on]], :class:`SampleTransform`, Dict[required=[sample]], :class:`StackTransform`, Dict[required=[stack, groupby, as]], :class:`TimeUnitTransform`, Dict[required=[timeUnit, field, as]], :class:`Transform`, :class:`WindowTransform`, Dict[required=[window]]] + transform : Sequence[dict, :class:`Transform`, :class:`BinTransform`, :class:`FoldTransform`, :class:`LoessTransform`, :class:`PivotTransform`, :class:`StackTransform`, :class:`ExtentTransform`, :class:`FilterTransform`, :class:`ImputeTransform`, :class:`LookupTransform`, :class:`SampleTransform`, :class:`WindowTransform`, :class:`DensityTransform`, :class:`FlattenTransform`, :class:`QuantileTransform`, :class:`TimeUnitTransform`, :class:`AggregateTransform`, :class:`CalculateTransform`, :class:`RegressionTransform`, :class:`JoinAggregateTransform`] An array of data transformations such as filter and new field calculation. - view : :class:`ViewBackground`, Dict + view : dict, :class:`ViewBackground` An object defining the view background's fill and stroke. **Default value:** none (transparent) - width : :class:`Step`, Dict[required=[step]], float, str + width : str, dict, float, :class:`Step` The width of a visualization. @@ -43830,122 +38352,47 @@ class FacetedUnitSpec(Spec, NonNormalizedSpec): def __init__( self, mark: Union[ - Union[ - "AnyMark", - Union[ - "CompositeMark", - Union["BoxPlot", str], - Union["ErrorBand", str], - Union["ErrorBar", str], - ], - Union[ - "CompositeMarkDef", - Union["BoxPlotDef", dict], - Union["ErrorBandDef", dict], - Union["ErrorBarDef", dict], - ], - Union[ - "Mark", - Literal[ - "arc", - "area", - "bar", - "image", - "line", - "point", - "rect", - "rule", - "text", - "tick", - "trail", - "circle", - "square", - "geoshape", - ], - ], - Union["MarkDef", dict], + str, + dict, + "SchemaBase", + Literal[ + "arc", + "area", + "bar", + "image", + "line", + "point", + "rect", + "rule", + "text", + "tick", + "trail", + "circle", + "square", + "geoshape", ], UndefinedType, ] = Undefined, align: Union[ - Union[ - Union["LayoutAlign", Literal["all", "each", "none"]], - Union["RowColLayoutAlign", dict], - ], - UndefinedType, + dict, "SchemaBase", Literal["all", "each", "none"], UndefinedType ] = Undefined, bounds: Union[Literal["full", "flush"], UndefinedType] = Undefined, - center: Union[ - Union[Union["RowColboolean", dict], bool], UndefinedType - ] = Undefined, - data: Union[ - Union[ - None, - Union[ - "Data", - Union[ - "DataSource", - Union["InlineData", dict], - Union["NamedData", dict], - Union["UrlData", dict], - ], - Union[ - "Generator", - Union["GraticuleGenerator", dict], - Union["SequenceGenerator", dict], - Union["SphereGenerator", dict], - ], - ], - ], - UndefinedType, - ] = Undefined, + center: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, + data: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, description: Union[str, UndefinedType] = Undefined, - encoding: Union[Union["FacetedEncoding", dict], UndefinedType] = Undefined, - height: Union[ - Union[Union["Step", dict], float, str], UndefinedType - ] = Undefined, + encoding: Union[dict, "SchemaBase", UndefinedType] = Undefined, + height: Union[str, dict, float, "SchemaBase", UndefinedType] = Undefined, name: Union[str, UndefinedType] = Undefined, - params: Union[ - Sequence[Union["SelectionParameter", dict]], UndefinedType - ] = Undefined, - projection: Union[Union["Projection", dict], UndefinedType] = Undefined, - resolve: Union[Union["Resolve", dict], UndefinedType] = Undefined, - spacing: Union[ - Union[Union["RowColnumber", dict], float], UndefinedType - ] = Undefined, - title: Union[ - Union[Union["Text", Sequence[str], str], Union["TitleParams", dict]], - UndefinedType, - ] = Undefined, + params: Union[Sequence[Union[dict, "SchemaBase"]], UndefinedType] = Undefined, + projection: Union[dict, "SchemaBase", UndefinedType] = Undefined, + resolve: Union[dict, "SchemaBase", UndefinedType] = Undefined, + spacing: Union[dict, float, "SchemaBase", UndefinedType] = Undefined, + title: Union[str, dict, "SchemaBase", Sequence[str], UndefinedType] = Undefined, transform: Union[ - Sequence[ - Union[ - "Transform", - Union["AggregateTransform", dict], - Union["BinTransform", dict], - Union["CalculateTransform", dict], - Union["DensityTransform", dict], - Union["ExtentTransform", dict], - Union["FilterTransform", dict], - Union["FlattenTransform", dict], - Union["FoldTransform", dict], - Union["ImputeTransform", dict], - Union["JoinAggregateTransform", dict], - Union["LoessTransform", dict], - Union["LookupTransform", dict], - Union["PivotTransform", dict], - Union["QuantileTransform", dict], - Union["RegressionTransform", dict], - Union["SampleTransform", dict], - Union["StackTransform", dict], - Union["TimeUnitTransform", dict], - Union["WindowTransform", dict], - ] - ], - UndefinedType, + Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, - view: Union[Union["ViewBackground", dict], UndefinedType] = Undefined, - width: Union[Union[Union["Step", dict], float, str], UndefinedType] = Undefined, + view: Union[dict, "SchemaBase", UndefinedType] = Undefined, + width: Union[str, dict, float, "SchemaBase", UndefinedType] = Undefined, **kwds, ): super(FacetedUnitSpec, self).__init__( @@ -43972,14 +38419,12 @@ def __init__( class HConcatSpecGenericSpec(Spec, NonNormalizedSpec): """HConcatSpecGenericSpec schema wrapper - - :class:`HConcatSpecGenericSpec`, Dict[required=[hconcat]] Base interface for a horizontal concatenation specification. Parameters ---------- - hconcat : Sequence[:class:`ConcatSpecGenericSpec`, Dict[required=[concat]], :class:`FacetSpec`, Dict[required=[facet, spec]], :class:`FacetedUnitSpec`, Dict[required=[mark]], :class:`HConcatSpecGenericSpec`, Dict[required=[hconcat]], :class:`LayerRepeatSpec`, Dict[required=[repeat, spec]], :class:`NonLayerRepeatSpec`, Dict[required=[repeat, spec]], :class:`RepeatSpec`, :class:`LayerSpec`, Dict[required=[layer]], :class:`Spec`, :class:`VConcatSpecGenericSpec`, Dict[required=[vconcat]]] + hconcat : Sequence[dict, :class:`Spec`, :class:`FacetSpec`, :class:`LayerSpec`, :class:`RepeatSpec`, :class:`FacetedUnitSpec`, :class:`LayerRepeatSpec`, :class:`NonLayerRepeatSpec`, :class:`ConcatSpecGenericSpec`, :class:`HConcatSpecGenericSpec`, :class:`VConcatSpecGenericSpec`] A list of views to be concatenated and put into a row. bounds : Literal['full', 'flush'] The bounds calculation method to use for determining the extent of a sub-plot. One @@ -43998,22 +38443,22 @@ class HConcatSpecGenericSpec(Spec, NonNormalizedSpec): rows or columns. **Default value:** ``false`` - data : :class:`DataSource`, :class:`InlineData`, Dict[required=[values]], :class:`NamedData`, Dict[required=[name]], :class:`UrlData`, Dict[required=[url]], :class:`Data`, :class:`Generator`, :class:`GraticuleGenerator`, Dict[required=[graticule]], :class:`SequenceGenerator`, Dict[required=[sequence]], :class:`SphereGenerator`, Dict[required=[sphere]], None + data : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` An object describing the data source. Set to ``null`` to ignore the parent's data source. If no data is set, it is derived from the parent. description : str Description of this mark for commenting purpose. name : str Name of the visualization for later reference. - resolve : :class:`Resolve`, Dict + resolve : dict, :class:`Resolve` Scale, axis, and legend resolutions for view composition specifications. spacing : float The spacing in pixels between sub-views of the concat operator. **Default value** : ``10`` - title : :class:`Text`, Sequence[str], str, :class:`TitleParams`, Dict[required=[text]] + title : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - transform : Sequence[:class:`AggregateTransform`, Dict[required=[aggregate]], :class:`BinTransform`, Dict[required=[bin, field, as]], :class:`CalculateTransform`, Dict[required=[calculate, as]], :class:`DensityTransform`, Dict[required=[density]], :class:`ExtentTransform`, Dict[required=[extent, param]], :class:`FilterTransform`, Dict[required=[filter]], :class:`FlattenTransform`, Dict[required=[flatten]], :class:`FoldTransform`, Dict[required=[fold]], :class:`ImputeTransform`, Dict[required=[impute, key]], :class:`JoinAggregateTransform`, Dict[required=[joinaggregate]], :class:`LoessTransform`, Dict[required=[loess, on]], :class:`LookupTransform`, Dict[required=[lookup, from]], :class:`PivotTransform`, Dict[required=[pivot, value]], :class:`QuantileTransform`, Dict[required=[quantile]], :class:`RegressionTransform`, Dict[required=[regression, on]], :class:`SampleTransform`, Dict[required=[sample]], :class:`StackTransform`, Dict[required=[stack, groupby, as]], :class:`TimeUnitTransform`, Dict[required=[timeUnit, field, as]], :class:`Transform`, :class:`WindowTransform`, Dict[required=[window]]] + transform : Sequence[dict, :class:`Transform`, :class:`BinTransform`, :class:`FoldTransform`, :class:`LoessTransform`, :class:`PivotTransform`, :class:`StackTransform`, :class:`ExtentTransform`, :class:`FilterTransform`, :class:`ImputeTransform`, :class:`LookupTransform`, :class:`SampleTransform`, :class:`WindowTransform`, :class:`DensityTransform`, :class:`FlattenTransform`, :class:`QuantileTransform`, :class:`TimeUnitTransform`, :class:`AggregateTransform`, :class:`CalculateTransform`, :class:`RegressionTransform`, :class:`JoinAggregateTransform`] An array of data transformations such as filter and new field calculation. """ @@ -44021,82 +38466,17 @@ class HConcatSpecGenericSpec(Spec, NonNormalizedSpec): def __init__( self, - hconcat: Union[ - Sequence[ - Union[ - "Spec", - Union["ConcatSpecGenericSpec", dict], - Union["FacetSpec", dict], - Union["FacetedUnitSpec", dict], - Union["HConcatSpecGenericSpec", dict], - Union["LayerSpec", dict], - Union[ - "RepeatSpec", - Union["LayerRepeatSpec", dict], - Union["NonLayerRepeatSpec", dict], - ], - Union["VConcatSpecGenericSpec", dict], - ] - ], - UndefinedType, - ] = Undefined, + hconcat: Union[Sequence[Union[dict, "SchemaBase"]], UndefinedType] = Undefined, bounds: Union[Literal["full", "flush"], UndefinedType] = Undefined, center: Union[bool, UndefinedType] = Undefined, - data: Union[ - Union[ - None, - Union[ - "Data", - Union[ - "DataSource", - Union["InlineData", dict], - Union["NamedData", dict], - Union["UrlData", dict], - ], - Union[ - "Generator", - Union["GraticuleGenerator", dict], - Union["SequenceGenerator", dict], - Union["SphereGenerator", dict], - ], - ], - ], - UndefinedType, - ] = Undefined, + data: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, description: Union[str, UndefinedType] = Undefined, name: Union[str, UndefinedType] = Undefined, - resolve: Union[Union["Resolve", dict], UndefinedType] = Undefined, + resolve: Union[dict, "SchemaBase", UndefinedType] = Undefined, spacing: Union[float, UndefinedType] = Undefined, - title: Union[ - Union[Union["Text", Sequence[str], str], Union["TitleParams", dict]], - UndefinedType, - ] = Undefined, + title: Union[str, dict, "SchemaBase", Sequence[str], UndefinedType] = Undefined, transform: Union[ - Sequence[ - Union[ - "Transform", - Union["AggregateTransform", dict], - Union["BinTransform", dict], - Union["CalculateTransform", dict], - Union["DensityTransform", dict], - Union["ExtentTransform", dict], - Union["FilterTransform", dict], - Union["FlattenTransform", dict], - Union["FoldTransform", dict], - Union["ImputeTransform", dict], - Union["JoinAggregateTransform", dict], - Union["LoessTransform", dict], - Union["LookupTransform", dict], - Union["PivotTransform", dict], - Union["QuantileTransform", dict], - Union["RegressionTransform", dict], - Union["SampleTransform", dict], - Union["StackTransform", dict], - Union["TimeUnitTransform", dict], - Union["WindowTransform", dict], - ] - ], - UndefinedType, + Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, **kwds, ): @@ -44117,30 +38497,28 @@ def __init__( class LayerSpec(Spec, NonNormalizedSpec): """LayerSpec schema wrapper - - :class:`LayerSpec`, Dict[required=[layer]] A full layered plot specification, which may contains ``encoding`` and ``projection`` properties that will be applied to underlying unit (single-view) specifications. Parameters ---------- - layer : Sequence[:class:`LayerSpec`, Dict[required=[layer]], :class:`UnitSpec`, Dict[required=[mark]]] + layer : Sequence[dict, :class:`UnitSpec`, :class:`LayerSpec`] Layer or single view specifications to be layered. **Note** : Specifications inside ``layer`` cannot use ``row`` and ``column`` channels as layering facet specifications is not allowed. Instead, use the `facet operator `__ and place a layer inside a facet. - data : :class:`DataSource`, :class:`InlineData`, Dict[required=[values]], :class:`NamedData`, Dict[required=[name]], :class:`UrlData`, Dict[required=[url]], :class:`Data`, :class:`Generator`, :class:`GraticuleGenerator`, Dict[required=[graticule]], :class:`SequenceGenerator`, Dict[required=[sequence]], :class:`SphereGenerator`, Dict[required=[sphere]], None + data : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` An object describing the data source. Set to ``null`` to ignore the parent's data source. If no data is set, it is derived from the parent. description : str Description of this mark for commenting purpose. - encoding : :class:`SharedEncoding`, Dict + encoding : dict, :class:`SharedEncoding` A shared key-value mapping between encoding channels and definition of fields in the underlying layers. - height : :class:`Step`, Dict[required=[step]], float, str + height : str, dict, float, :class:`Step` The height of a visualization. @@ -44162,20 +38540,20 @@ class LayerSpec(Spec, NonNormalizedSpec): documentation. name : str Name of the visualization for later reference. - projection : :class:`Projection`, Dict + projection : dict, :class:`Projection` An object defining properties of the geographic projection shared by underlying layers. - resolve : :class:`Resolve`, Dict + resolve : dict, :class:`Resolve` Scale, axis, and legend resolutions for view composition specifications. - title : :class:`Text`, Sequence[str], str, :class:`TitleParams`, Dict[required=[text]] + title : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - transform : Sequence[:class:`AggregateTransform`, Dict[required=[aggregate]], :class:`BinTransform`, Dict[required=[bin, field, as]], :class:`CalculateTransform`, Dict[required=[calculate, as]], :class:`DensityTransform`, Dict[required=[density]], :class:`ExtentTransform`, Dict[required=[extent, param]], :class:`FilterTransform`, Dict[required=[filter]], :class:`FlattenTransform`, Dict[required=[flatten]], :class:`FoldTransform`, Dict[required=[fold]], :class:`ImputeTransform`, Dict[required=[impute, key]], :class:`JoinAggregateTransform`, Dict[required=[joinaggregate]], :class:`LoessTransform`, Dict[required=[loess, on]], :class:`LookupTransform`, Dict[required=[lookup, from]], :class:`PivotTransform`, Dict[required=[pivot, value]], :class:`QuantileTransform`, Dict[required=[quantile]], :class:`RegressionTransform`, Dict[required=[regression, on]], :class:`SampleTransform`, Dict[required=[sample]], :class:`StackTransform`, Dict[required=[stack, groupby, as]], :class:`TimeUnitTransform`, Dict[required=[timeUnit, field, as]], :class:`Transform`, :class:`WindowTransform`, Dict[required=[window]]] + transform : Sequence[dict, :class:`Transform`, :class:`BinTransform`, :class:`FoldTransform`, :class:`LoessTransform`, :class:`PivotTransform`, :class:`StackTransform`, :class:`ExtentTransform`, :class:`FilterTransform`, :class:`ImputeTransform`, :class:`LookupTransform`, :class:`SampleTransform`, :class:`WindowTransform`, :class:`DensityTransform`, :class:`FlattenTransform`, :class:`QuantileTransform`, :class:`TimeUnitTransform`, :class:`AggregateTransform`, :class:`CalculateTransform`, :class:`RegressionTransform`, :class:`JoinAggregateTransform`] An array of data transformations such as filter and new field calculation. - view : :class:`ViewBackground`, Dict + view : dict, :class:`ViewBackground` An object defining the view background's fill and stroke. **Default value:** none (transparent) - width : :class:`Step`, Dict[required=[step]], float, str + width : str, dict, float, :class:`Step` The width of a visualization. @@ -44201,72 +38579,20 @@ class LayerSpec(Spec, NonNormalizedSpec): def __init__( self, - layer: Union[ - Sequence[Union[Union["LayerSpec", dict], Union["UnitSpec", dict]]], - UndefinedType, - ] = Undefined, - data: Union[ - Union[ - None, - Union[ - "Data", - Union[ - "DataSource", - Union["InlineData", dict], - Union["NamedData", dict], - Union["UrlData", dict], - ], - Union[ - "Generator", - Union["GraticuleGenerator", dict], - Union["SequenceGenerator", dict], - Union["SphereGenerator", dict], - ], - ], - ], - UndefinedType, - ] = Undefined, + layer: Union[Sequence[Union[dict, "SchemaBase"]], UndefinedType] = Undefined, + data: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, description: Union[str, UndefinedType] = Undefined, - encoding: Union[Union["SharedEncoding", dict], UndefinedType] = Undefined, - height: Union[ - Union[Union["Step", dict], float, str], UndefinedType - ] = Undefined, + encoding: Union[dict, "SchemaBase", UndefinedType] = Undefined, + height: Union[str, dict, float, "SchemaBase", UndefinedType] = Undefined, name: Union[str, UndefinedType] = Undefined, - projection: Union[Union["Projection", dict], UndefinedType] = Undefined, - resolve: Union[Union["Resolve", dict], UndefinedType] = Undefined, - title: Union[ - Union[Union["Text", Sequence[str], str], Union["TitleParams", dict]], - UndefinedType, - ] = Undefined, + projection: Union[dict, "SchemaBase", UndefinedType] = Undefined, + resolve: Union[dict, "SchemaBase", UndefinedType] = Undefined, + title: Union[str, dict, "SchemaBase", Sequence[str], UndefinedType] = Undefined, transform: Union[ - Sequence[ - Union[ - "Transform", - Union["AggregateTransform", dict], - Union["BinTransform", dict], - Union["CalculateTransform", dict], - Union["DensityTransform", dict], - Union["ExtentTransform", dict], - Union["FilterTransform", dict], - Union["FlattenTransform", dict], - Union["FoldTransform", dict], - Union["ImputeTransform", dict], - Union["JoinAggregateTransform", dict], - Union["LoessTransform", dict], - Union["LookupTransform", dict], - Union["PivotTransform", dict], - Union["QuantileTransform", dict], - Union["RegressionTransform", dict], - Union["SampleTransform", dict], - Union["StackTransform", dict], - Union["TimeUnitTransform", dict], - Union["WindowTransform", dict], - ] - ], - UndefinedType, + Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, - view: Union[Union["ViewBackground", dict], UndefinedType] = Undefined, - width: Union[Union[Union["Step", dict], float, str], UndefinedType] = Undefined, + view: Union[dict, "SchemaBase", UndefinedType] = Undefined, + width: Union[str, dict, float, "SchemaBase", UndefinedType] = Undefined, **kwds, ): super(LayerSpec, self).__init__( @@ -44287,11 +38613,7 @@ def __init__( class RepeatSpec(Spec, NonNormalizedSpec): - """RepeatSpec schema wrapper - - :class:`LayerRepeatSpec`, Dict[required=[repeat, spec]], :class:`NonLayerRepeatSpec`, - Dict[required=[repeat, spec]], :class:`RepeatSpec` - """ + """RepeatSpec schema wrapper""" _schema = {"$ref": "#/definitions/RepeatSpec"} @@ -44302,12 +38624,10 @@ def __init__(self, *args, **kwds): class LayerRepeatSpec(RepeatSpec): """LayerRepeatSpec schema wrapper - :class:`LayerRepeatSpec`, Dict[required=[repeat, spec]] - Parameters ---------- - repeat : :class:`LayerRepeatMapping`, Dict[required=[layer]] + repeat : dict, :class:`LayerRepeatMapping` Definition for fields to be repeated. One of: 1) An array of fields to be repeated. If ``"repeat"`` is an array, the field can be referred to as ``{"repeat": "repeat"}``. The repeated views are laid out in a wrapped row. You can set the @@ -44315,9 +38635,9 @@ 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 : :class:`LayerSpec`, Dict[required=[layer]], :class:`UnitSpecWithFrame`, Dict[required=[mark]] + spec : dict, :class:`LayerSpec`, :class:`UnitSpecWithFrame` A specification of the view that gets repeated. - align : :class:`LayoutAlign`, Literal['all', 'each', 'none'], :class:`RowColLayoutAlign`, Dict + align : dict, :class:`LayoutAlign`, :class:`RowColLayoutAlign`, Literal['all', 'each', 'none'] The alignment to apply to grid rows and columns. The supported string values are ``"all"``, ``"each"``, and ``"none"``. @@ -44346,7 +38666,7 @@ class LayerRepeatSpec(RepeatSpec): sub-plots without axes or legends into a uniform grid structure. **Default value:** ``"full"`` - center : :class:`RowColboolean`, Dict, bool + center : bool, dict, :class:`RowColboolean` Boolean flag indicating if subviews should be centered relative to their respective rows or columns. @@ -44372,16 +38692,16 @@ class LayerRepeatSpec(RepeatSpec): 2) Setting the ``columns`` to ``1`` is equivalent to ``vconcat`` (for ``concat`` ) and to using the ``row`` channel (for ``facet`` and ``repeat`` ). - data : :class:`DataSource`, :class:`InlineData`, Dict[required=[values]], :class:`NamedData`, Dict[required=[name]], :class:`UrlData`, Dict[required=[url]], :class:`Data`, :class:`Generator`, :class:`GraticuleGenerator`, Dict[required=[graticule]], :class:`SequenceGenerator`, Dict[required=[sequence]], :class:`SphereGenerator`, Dict[required=[sphere]], None + data : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` An object describing the data source. Set to ``null`` to ignore the parent's data source. If no data is set, it is derived from the parent. description : str Description of this mark for commenting purpose. name : str Name of the visualization for later reference. - resolve : :class:`Resolve`, Dict + resolve : dict, :class:`Resolve` Scale, axis, and legend resolutions for view composition specifications. - spacing : :class:`RowColnumber`, Dict, float + spacing : dict, float, :class:`RowColnumber` The spacing in pixels between sub-views of the composition operator. An object of the form ``{"row": number, "column": number}`` can be used to set different spacing values for rows and columns. @@ -44389,9 +38709,9 @@ class LayerRepeatSpec(RepeatSpec): **Default value** : Depends on ``"spacing"`` property of `the view composition configuration `__ ( ``20`` by default) - title : :class:`Text`, Sequence[str], str, :class:`TitleParams`, Dict[required=[text]] + title : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - transform : Sequence[:class:`AggregateTransform`, Dict[required=[aggregate]], :class:`BinTransform`, Dict[required=[bin, field, as]], :class:`CalculateTransform`, Dict[required=[calculate, as]], :class:`DensityTransform`, Dict[required=[density]], :class:`ExtentTransform`, Dict[required=[extent, param]], :class:`FilterTransform`, Dict[required=[filter]], :class:`FlattenTransform`, Dict[required=[flatten]], :class:`FoldTransform`, Dict[required=[fold]], :class:`ImputeTransform`, Dict[required=[impute, key]], :class:`JoinAggregateTransform`, Dict[required=[joinaggregate]], :class:`LoessTransform`, Dict[required=[loess, on]], :class:`LookupTransform`, Dict[required=[lookup, from]], :class:`PivotTransform`, Dict[required=[pivot, value]], :class:`QuantileTransform`, Dict[required=[quantile]], :class:`RegressionTransform`, Dict[required=[regression, on]], :class:`SampleTransform`, Dict[required=[sample]], :class:`StackTransform`, Dict[required=[stack, groupby, as]], :class:`TimeUnitTransform`, Dict[required=[timeUnit, field, as]], :class:`Transform`, :class:`WindowTransform`, Dict[required=[window]]] + transform : Sequence[dict, :class:`Transform`, :class:`BinTransform`, :class:`FoldTransform`, :class:`LoessTransform`, :class:`PivotTransform`, :class:`StackTransform`, :class:`ExtentTransform`, :class:`FilterTransform`, :class:`ImputeTransform`, :class:`LookupTransform`, :class:`SampleTransform`, :class:`WindowTransform`, :class:`DensityTransform`, :class:`FlattenTransform`, :class:`QuantileTransform`, :class:`TimeUnitTransform`, :class:`AggregateTransform`, :class:`CalculateTransform`, :class:`RegressionTransform`, :class:`JoinAggregateTransform`] An array of data transformations such as filter and new field calculation. """ @@ -44399,80 +38719,22 @@ class LayerRepeatSpec(RepeatSpec): def __init__( self, - repeat: Union[Union["LayerRepeatMapping", dict], UndefinedType] = Undefined, - spec: Union[ - Union[Union["LayerSpec", dict], Union["UnitSpecWithFrame", dict]], - UndefinedType, - ] = Undefined, + repeat: Union[dict, "SchemaBase", UndefinedType] = Undefined, + spec: Union[dict, "SchemaBase", UndefinedType] = Undefined, align: Union[ - Union[ - Union["LayoutAlign", Literal["all", "each", "none"]], - Union["RowColLayoutAlign", dict], - ], - UndefinedType, + dict, "SchemaBase", Literal["all", "each", "none"], UndefinedType ] = Undefined, bounds: Union[Literal["full", "flush"], UndefinedType] = Undefined, - center: Union[ - Union[Union["RowColboolean", dict], bool], UndefinedType - ] = Undefined, + center: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, columns: Union[float, UndefinedType] = Undefined, - data: Union[ - Union[ - None, - Union[ - "Data", - Union[ - "DataSource", - Union["InlineData", dict], - Union["NamedData", dict], - Union["UrlData", dict], - ], - Union[ - "Generator", - Union["GraticuleGenerator", dict], - Union["SequenceGenerator", dict], - Union["SphereGenerator", dict], - ], - ], - ], - UndefinedType, - ] = Undefined, + data: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, description: Union[str, UndefinedType] = Undefined, name: Union[str, UndefinedType] = Undefined, - resolve: Union[Union["Resolve", dict], UndefinedType] = Undefined, - spacing: Union[ - Union[Union["RowColnumber", dict], float], UndefinedType - ] = Undefined, - title: Union[ - Union[Union["Text", Sequence[str], str], Union["TitleParams", dict]], - UndefinedType, - ] = Undefined, + resolve: Union[dict, "SchemaBase", UndefinedType] = Undefined, + spacing: Union[dict, float, "SchemaBase", UndefinedType] = Undefined, + title: Union[str, dict, "SchemaBase", Sequence[str], UndefinedType] = Undefined, transform: Union[ - Sequence[ - Union[ - "Transform", - Union["AggregateTransform", dict], - Union["BinTransform", dict], - Union["CalculateTransform", dict], - Union["DensityTransform", dict], - Union["ExtentTransform", dict], - Union["FilterTransform", dict], - Union["FlattenTransform", dict], - Union["FoldTransform", dict], - Union["ImputeTransform", dict], - Union["JoinAggregateTransform", dict], - Union["LoessTransform", dict], - Union["LookupTransform", dict], - Union["PivotTransform", dict], - Union["QuantileTransform", dict], - Union["RegressionTransform", dict], - Union["SampleTransform", dict], - Union["StackTransform", dict], - Union["TimeUnitTransform", dict], - Union["WindowTransform", dict], - ] - ], - UndefinedType, + Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, **kwds, ): @@ -44496,14 +38758,12 @@ def __init__( class NonLayerRepeatSpec(RepeatSpec): """NonLayerRepeatSpec schema wrapper - - :class:`NonLayerRepeatSpec`, Dict[required=[repeat, spec]] Base interface for a repeat specification. Parameters ---------- - repeat : :class:`RepeatMapping`, Dict, Sequence[str] + repeat : dict, Sequence[str], :class:`RepeatMapping` Definition for fields to be repeated. One of: 1) An array of fields to be repeated. If ``"repeat"`` is an array, the field can be referred to as ``{"repeat": "repeat"}``. The repeated views are laid out in a wrapped row. You can set the @@ -44511,9 +38771,9 @@ class NonLayerRepeatSpec(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 : :class:`ConcatSpecGenericSpec`, Dict[required=[concat]], :class:`FacetSpec`, Dict[required=[facet, spec]], :class:`FacetedUnitSpec`, Dict[required=[mark]], :class:`HConcatSpecGenericSpec`, Dict[required=[hconcat]], :class:`LayerRepeatSpec`, Dict[required=[repeat, spec]], :class:`NonLayerRepeatSpec`, Dict[required=[repeat, spec]], :class:`RepeatSpec`, :class:`LayerSpec`, Dict[required=[layer]], :class:`NonNormalizedSpec`, :class:`VConcatSpecGenericSpec`, Dict[required=[vconcat]] + spec : dict, :class:`FacetSpec`, :class:`LayerSpec`, :class:`RepeatSpec`, :class:`FacetedUnitSpec`, :class:`LayerRepeatSpec`, :class:`NonNormalizedSpec`, :class:`NonLayerRepeatSpec`, :class:`ConcatSpecGenericSpec`, :class:`HConcatSpecGenericSpec`, :class:`VConcatSpecGenericSpec` A specification of the view that gets repeated. - align : :class:`LayoutAlign`, Literal['all', 'each', 'none'], :class:`RowColLayoutAlign`, Dict + align : dict, :class:`LayoutAlign`, :class:`RowColLayoutAlign`, Literal['all', 'each', 'none'] The alignment to apply to grid rows and columns. The supported string values are ``"all"``, ``"each"``, and ``"none"``. @@ -44542,7 +38802,7 @@ class NonLayerRepeatSpec(RepeatSpec): sub-plots without axes or legends into a uniform grid structure. **Default value:** ``"full"`` - center : :class:`RowColboolean`, Dict, bool + center : bool, dict, :class:`RowColboolean` Boolean flag indicating if subviews should be centered relative to their respective rows or columns. @@ -44568,16 +38828,16 @@ class NonLayerRepeatSpec(RepeatSpec): 2) Setting the ``columns`` to ``1`` is equivalent to ``vconcat`` (for ``concat`` ) and to using the ``row`` channel (for ``facet`` and ``repeat`` ). - data : :class:`DataSource`, :class:`InlineData`, Dict[required=[values]], :class:`NamedData`, Dict[required=[name]], :class:`UrlData`, Dict[required=[url]], :class:`Data`, :class:`Generator`, :class:`GraticuleGenerator`, Dict[required=[graticule]], :class:`SequenceGenerator`, Dict[required=[sequence]], :class:`SphereGenerator`, Dict[required=[sphere]], None + data : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` An object describing the data source. Set to ``null`` to ignore the parent's data source. If no data is set, it is derived from the parent. description : str Description of this mark for commenting purpose. name : str Name of the visualization for later reference. - resolve : :class:`Resolve`, Dict + resolve : dict, :class:`Resolve` Scale, axis, and legend resolutions for view composition specifications. - spacing : :class:`RowColnumber`, Dict, float + spacing : dict, float, :class:`RowColnumber` The spacing in pixels between sub-views of the composition operator. An object of the form ``{"row": number, "column": number}`` can be used to set different spacing values for rows and columns. @@ -44585,9 +38845,9 @@ class NonLayerRepeatSpec(RepeatSpec): **Default value** : Depends on ``"spacing"`` property of `the view composition configuration `__ ( ``20`` by default) - title : :class:`Text`, Sequence[str], str, :class:`TitleParams`, Dict[required=[text]] + title : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - transform : Sequence[:class:`AggregateTransform`, Dict[required=[aggregate]], :class:`BinTransform`, Dict[required=[bin, field, as]], :class:`CalculateTransform`, Dict[required=[calculate, as]], :class:`DensityTransform`, Dict[required=[density]], :class:`ExtentTransform`, Dict[required=[extent, param]], :class:`FilterTransform`, Dict[required=[filter]], :class:`FlattenTransform`, Dict[required=[flatten]], :class:`FoldTransform`, Dict[required=[fold]], :class:`ImputeTransform`, Dict[required=[impute, key]], :class:`JoinAggregateTransform`, Dict[required=[joinaggregate]], :class:`LoessTransform`, Dict[required=[loess, on]], :class:`LookupTransform`, Dict[required=[lookup, from]], :class:`PivotTransform`, Dict[required=[pivot, value]], :class:`QuantileTransform`, Dict[required=[quantile]], :class:`RegressionTransform`, Dict[required=[regression, on]], :class:`SampleTransform`, Dict[required=[sample]], :class:`StackTransform`, Dict[required=[stack, groupby, as]], :class:`TimeUnitTransform`, Dict[required=[timeUnit, field, as]], :class:`Transform`, :class:`WindowTransform`, Dict[required=[window]]] + transform : Sequence[dict, :class:`Transform`, :class:`BinTransform`, :class:`FoldTransform`, :class:`LoessTransform`, :class:`PivotTransform`, :class:`StackTransform`, :class:`ExtentTransform`, :class:`FilterTransform`, :class:`ImputeTransform`, :class:`LookupTransform`, :class:`SampleTransform`, :class:`WindowTransform`, :class:`DensityTransform`, :class:`FlattenTransform`, :class:`QuantileTransform`, :class:`TimeUnitTransform`, :class:`AggregateTransform`, :class:`CalculateTransform`, :class:`RegressionTransform`, :class:`JoinAggregateTransform`] An array of data transformations such as filter and new field calculation. """ @@ -44595,95 +38855,22 @@ class NonLayerRepeatSpec(RepeatSpec): def __init__( self, - repeat: Union[ - Union[Sequence[str], Union["RepeatMapping", dict]], UndefinedType - ] = Undefined, - spec: Union[ - Union[ - "NonNormalizedSpec", - Union["ConcatSpecGenericSpec", dict], - Union["FacetSpec", dict], - Union["FacetedUnitSpec", dict], - Union["HConcatSpecGenericSpec", dict], - Union["LayerSpec", dict], - Union[ - "RepeatSpec", - Union["LayerRepeatSpec", dict], - Union["NonLayerRepeatSpec", dict], - ], - Union["VConcatSpecGenericSpec", dict], - ], - UndefinedType, - ] = Undefined, + repeat: Union[dict, "SchemaBase", Sequence[str], UndefinedType] = Undefined, + spec: Union[dict, "SchemaBase", UndefinedType] = Undefined, align: Union[ - Union[ - Union["LayoutAlign", Literal["all", "each", "none"]], - Union["RowColLayoutAlign", dict], - ], - UndefinedType, + dict, "SchemaBase", Literal["all", "each", "none"], UndefinedType ] = Undefined, bounds: Union[Literal["full", "flush"], UndefinedType] = Undefined, - center: Union[ - Union[Union["RowColboolean", dict], bool], UndefinedType - ] = Undefined, + center: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, columns: Union[float, UndefinedType] = Undefined, - data: Union[ - Union[ - None, - Union[ - "Data", - Union[ - "DataSource", - Union["InlineData", dict], - Union["NamedData", dict], - Union["UrlData", dict], - ], - Union[ - "Generator", - Union["GraticuleGenerator", dict], - Union["SequenceGenerator", dict], - Union["SphereGenerator", dict], - ], - ], - ], - UndefinedType, - ] = Undefined, + data: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, description: Union[str, UndefinedType] = Undefined, name: Union[str, UndefinedType] = Undefined, - resolve: Union[Union["Resolve", dict], UndefinedType] = Undefined, - spacing: Union[ - Union[Union["RowColnumber", dict], float], UndefinedType - ] = Undefined, - title: Union[ - Union[Union["Text", Sequence[str], str], Union["TitleParams", dict]], - UndefinedType, - ] = Undefined, + resolve: Union[dict, "SchemaBase", UndefinedType] = Undefined, + spacing: Union[dict, float, "SchemaBase", UndefinedType] = Undefined, + title: Union[str, dict, "SchemaBase", Sequence[str], UndefinedType] = Undefined, transform: Union[ - Sequence[ - Union[ - "Transform", - Union["AggregateTransform", dict], - Union["BinTransform", dict], - Union["CalculateTransform", dict], - Union["DensityTransform", dict], - Union["ExtentTransform", dict], - Union["FilterTransform", dict], - Union["FlattenTransform", dict], - Union["FoldTransform", dict], - Union["ImputeTransform", dict], - Union["JoinAggregateTransform", dict], - Union["LoessTransform", dict], - Union["LookupTransform", dict], - Union["PivotTransform", dict], - Union["QuantileTransform", dict], - Union["RegressionTransform", dict], - Union["SampleTransform", dict], - Union["StackTransform", dict], - Union["TimeUnitTransform", dict], - Union["WindowTransform", dict], - ] - ], - UndefinedType, + Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, **kwds, ): @@ -44708,12 +38895,10 @@ def __init__( class SphereGenerator(Generator): """SphereGenerator schema wrapper - :class:`SphereGenerator`, Dict[required=[sphere]] - Parameters ---------- - sphere : Dict, bool + sphere : bool, dict Generate sphere GeoJSON data for the full globe. name : str Provide a placeholder name and bind data at runtime. @@ -44723,7 +38908,7 @@ class SphereGenerator(Generator): def __init__( self, - sphere: Union[Union[bool, dict], UndefinedType] = Undefined, + sphere: Union[bool, dict, UndefinedType] = Undefined, name: Union[str, UndefinedType] = Undefined, **kwds, ): @@ -44731,10 +38916,7 @@ def __init__( class StackOffset(VegaLiteSchema): - """StackOffset schema wrapper - - :class:`StackOffset`, Literal['zero', 'center', 'normalize'] - """ + """StackOffset schema wrapper""" _schema = {"$ref": "#/definitions/StackOffset"} @@ -44743,10 +38925,7 @@ def __init__(self, *args): class StandardType(VegaLiteSchema): - """StandardType schema wrapper - - :class:`StandardType`, Literal['quantitative', 'ordinal', 'temporal', 'nominal'] - """ + """StandardType schema wrapper""" _schema = {"$ref": "#/definitions/StandardType"} @@ -44757,8 +38936,6 @@ def __init__(self, *args): class Step(VegaLiteSchema): """Step schema wrapper - :class:`Step`, Dict[required=[step]] - Parameters ---------- @@ -44776,10 +38953,7 @@ def __init__(self, step: Union[float, UndefinedType] = Undefined, **kwds): class StepFor(VegaLiteSchema): - """StepFor schema wrapper - - :class:`StepFor`, Literal['position', 'offset'] - """ + """StepFor schema wrapper""" _schema = {"$ref": "#/definitions/StepFor"} @@ -44788,12 +38962,7 @@ def __init__(self, *args): class Stream(VegaLiteSchema): - """Stream schema wrapper - - :class:`DerivedStream`, Dict[required=[stream]], :class:`EventStream`, - Dict[required=[source, type]], Dict[required=[type]], :class:`MergedStream`, - Dict[required=[merge]], :class:`Stream` - """ + """Stream schema wrapper""" _schema = {"$ref": "#/definitions/Stream"} @@ -44804,20 +38973,18 @@ def __init__(self, *args, **kwds): class DerivedStream(Stream): """DerivedStream schema wrapper - :class:`DerivedStream`, Dict[required=[stream]] - Parameters ---------- - stream : :class:`DerivedStream`, Dict[required=[stream]], :class:`EventStream`, Dict[required=[source, type]], Dict[required=[type]], :class:`MergedStream`, Dict[required=[merge]], :class:`Stream` + stream : dict, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream` - between : Sequence[:class:`DerivedStream`, Dict[required=[stream]], :class:`EventStream`, Dict[required=[source, type]], Dict[required=[type]], :class:`MergedStream`, Dict[required=[merge]], :class:`Stream`] + between : Sequence[dict, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream`] consume : bool debounce : float - filter : :class:`Expr`, str, Sequence[:class:`Expr`, str] + filter : str, :class:`Expr`, Sequence[str, :class:`Expr`] markname : str @@ -44831,49 +38998,29 @@ class DerivedStream(Stream): def __init__( self, - stream: Union[ - Union[ - "Stream", - Union["DerivedStream", dict], - Union["EventStream", dict], - Union["MergedStream", dict], - ], - UndefinedType, - ] = Undefined, - between: Union[ - Sequence[ - Union[ - "Stream", - Union["DerivedStream", dict], - Union["EventStream", dict], - Union["MergedStream", dict], - ] - ], - UndefinedType, - ] = Undefined, + stream: Union[dict, "SchemaBase", UndefinedType] = Undefined, + between: Union[Sequence[Union[dict, "SchemaBase"]], UndefinedType] = Undefined, consume: Union[bool, UndefinedType] = Undefined, debounce: Union[float, UndefinedType] = Undefined, filter: Union[ - Union[Sequence[Union["Expr", str]], Union["Expr", str]], UndefinedType + str, "SchemaBase", Sequence[Union[str, "SchemaBase"]], UndefinedType ] = Undefined, markname: Union[str, UndefinedType] = Undefined, marktype: Union[ - Union[ - "MarkType", - Literal[ - "arc", - "area", - "image", - "group", - "line", - "path", - "rect", - "rule", - "shape", - "symbol", - "text", - "trail", - ], + "SchemaBase", + Literal[ + "arc", + "area", + "image", + "group", + "line", + "path", + "rect", + "rule", + "shape", + "symbol", + "text", + "trail", ], UndefinedType, ] = Undefined, @@ -44894,10 +39041,7 @@ def __init__( class EventStream(Stream): - """EventStream schema wrapper - - :class:`EventStream`, Dict[required=[source, type]], Dict[required=[type]] - """ + """EventStream schema wrapper""" _schema = {"$ref": "#/definitions/EventStream"} @@ -44908,20 +39052,18 @@ def __init__(self, *args, **kwds): class MergedStream(Stream): """MergedStream schema wrapper - :class:`MergedStream`, Dict[required=[merge]] - Parameters ---------- - merge : Sequence[:class:`DerivedStream`, Dict[required=[stream]], :class:`EventStream`, Dict[required=[source, type]], Dict[required=[type]], :class:`MergedStream`, Dict[required=[merge]], :class:`Stream`] + merge : Sequence[dict, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream`] - between : Sequence[:class:`DerivedStream`, Dict[required=[stream]], :class:`EventStream`, Dict[required=[source, type]], Dict[required=[type]], :class:`MergedStream`, Dict[required=[merge]], :class:`Stream`] + between : Sequence[dict, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream`] consume : bool debounce : float - filter : :class:`Expr`, str, Sequence[:class:`Expr`, str] + filter : str, :class:`Expr`, Sequence[str, :class:`Expr`] markname : str @@ -44935,51 +39077,29 @@ class MergedStream(Stream): def __init__( self, - merge: Union[ - Sequence[ - Union[ - "Stream", - Union["DerivedStream", dict], - Union["EventStream", dict], - Union["MergedStream", dict], - ] - ], - UndefinedType, - ] = Undefined, - between: Union[ - Sequence[ - Union[ - "Stream", - Union["DerivedStream", dict], - Union["EventStream", dict], - Union["MergedStream", dict], - ] - ], - UndefinedType, - ] = Undefined, + merge: Union[Sequence[Union[dict, "SchemaBase"]], UndefinedType] = Undefined, + between: Union[Sequence[Union[dict, "SchemaBase"]], UndefinedType] = Undefined, consume: Union[bool, UndefinedType] = Undefined, debounce: Union[float, UndefinedType] = Undefined, filter: Union[ - Union[Sequence[Union["Expr", str]], Union["Expr", str]], UndefinedType + str, "SchemaBase", Sequence[Union[str, "SchemaBase"]], UndefinedType ] = Undefined, markname: Union[str, UndefinedType] = Undefined, marktype: Union[ - Union[ - "MarkType", - Literal[ - "arc", - "area", - "image", - "group", - "line", - "path", - "rect", - "rule", - "shape", - "symbol", - "text", - "trail", - ], + "SchemaBase", + Literal[ + "arc", + "area", + "image", + "group", + "line", + "path", + "rect", + "rule", + "shape", + "symbol", + "text", + "trail", ], UndefinedType, ] = Undefined, @@ -45002,12 +39122,10 @@ def __init__( class StringFieldDef(VegaLiteSchema): """StringFieldDef schema wrapper - :class:`StringFieldDef`, Dict - Parameters ---------- - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -45019,7 +39137,7 @@ class StringFieldDef(VegaLiteSchema): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool, str + bin : str, bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -45040,7 +39158,7 @@ class StringFieldDef(VegaLiteSchema): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -45055,7 +39173,7 @@ class StringFieldDef(VegaLiteSchema): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - format : :class:`Dict`, Dict, str + format : str, dict, :class:`Dict` When used with the default ``"number"`` and ``"time"`` format type, the text formatting pattern for labels of guides (axes, legends, headers) and text marks. @@ -45089,7 +39207,7 @@ class StringFieldDef(VegaLiteSchema): * ``"time"`` for temporal fields and ordinal and nominal fields with ``timeUnit``. * ``"number"`` for quantitative fields as well as ordinal and nominal fields without ``timeUnit``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -45098,7 +39216,7 @@ class StringFieldDef(VegaLiteSchema): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -45194,207 +39312,167 @@ class StringFieldDef(VegaLiteSchema): def __init__( self, aggregate: Union[ - Union[ - "Aggregate", - Union["ArgmaxDef", dict], - Union["ArgminDef", dict], - Union[ - "NonArgAggregateOp", - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - ], + dict, + "SchemaBase", + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union["BinParams", dict], bool, str], UndefinedType - ] = Undefined, - field: Union[ - Union["Field", Union["FieldName", str], Union["RepeatRef", dict]], - UndefinedType, - ] = Undefined, - format: Union[Union[Union["Dict", dict], str], UndefinedType] = Undefined, + bin: Union[str, bool, dict, None, "SchemaBase", UndefinedType] = Undefined, + field: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, + format: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - "BinnedTimeUnit", - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - ], - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], - ], - Union["TimeUnitParams", dict], - ], - UndefinedType, - ] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType - ] = Undefined, + dict, + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", + ], + UndefinedType, + ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, type: Union[ - Union[ - "StandardType", - Literal["quantitative", "ordinal", "temporal", "nominal"], - ], + "SchemaBase", + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -45416,14 +39494,12 @@ def __init__( class StringFieldDefWithCondition(VegaLiteSchema): """StringFieldDefWithCondition schema wrapper - :class:`StringFieldDefWithCondition`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -45435,7 +39511,7 @@ class StringFieldDefWithCondition(VegaLiteSchema): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool, str + bin : str, bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -45456,14 +39532,14 @@ class StringFieldDefWithCondition(VegaLiteSchema): **See also:** `bin `__ documentation. - condition : :class:`ConditionalParameterValueDefstringExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringExprRef`, Sequence[:class:`ConditionalParameterValueDefstringExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringExprRef`] + condition : dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`, Sequence[dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -45478,7 +39554,7 @@ class StringFieldDefWithCondition(VegaLiteSchema): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - format : :class:`Dict`, Dict, str + format : str, dict, :class:`Dict` When used with the default ``"number"`` and ``"time"`` format type, the text formatting pattern for labels of guides (axes, legends, headers) and text marks. @@ -45512,7 +39588,7 @@ class StringFieldDefWithCondition(VegaLiteSchema): * ``"time"`` for temporal fields and ordinal and nominal fields with ``timeUnit``. * ``"number"`` for quantitative fields as well as ordinal and nominal fields without ``timeUnit``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -45521,7 +39597,7 @@ class StringFieldDefWithCondition(VegaLiteSchema): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -45617,227 +39693,173 @@ class StringFieldDefWithCondition(VegaLiteSchema): def __init__( self, shorthand: Union[ - Union[Sequence[str], Union["RepeatRef", dict], str], UndefinedType + str, dict, "SchemaBase", Sequence[str], UndefinedType ] = Undefined, aggregate: Union[ - Union[ - "Aggregate", - Union["ArgmaxDef", dict], - Union["ArgminDef", dict], - Union[ - "NonArgAggregateOp", - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - ], + dict, + "SchemaBase", + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union["BinParams", dict], bool, str], UndefinedType - ] = Undefined, + bin: Union[str, bool, dict, None, "SchemaBase", UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - "ConditionalValueDefstringExprRef", - Union["ConditionalParameterValueDefstringExprRef", dict], - Union["ConditionalPredicateValueDefstringExprRef", dict], - ] - ], - Union[ - "ConditionalValueDefstringExprRef", - Union["ConditionalParameterValueDefstringExprRef", dict], - Union["ConditionalPredicateValueDefstringExprRef", dict], - ], - ], - UndefinedType, - ] = Undefined, - field: Union[ - Union["Field", Union["FieldName", str], Union["RepeatRef", dict]], - UndefinedType, + dict, "SchemaBase", Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, - format: Union[Union[Union["Dict", dict], str], UndefinedType] = Undefined, + field: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, + format: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - "BinnedTimeUnit", - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - ], - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], - ], - Union["TimeUnitParams", dict], - ], - UndefinedType, - ] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType - ] = Undefined, + dict, + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", + ], + UndefinedType, + ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, type: Union[ - Union[ - "StandardType", - Literal["quantitative", "ordinal", "temporal", "nominal"], - ], + "SchemaBase", + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -45861,14 +39883,12 @@ def __init__( class StringValueDefWithCondition(VegaLiteSchema): """StringValueDefWithCondition schema wrapper - :class:`StringValueDefWithCondition`, Dict - Parameters ---------- - condition : :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, Dict[required=[param]], :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Dict[required=[test]], :class:`ConditionalParameterValueDefstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringnullExprRef`, Sequence[:class:`ConditionalParameterValueDefstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringnullExprRef`] + condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : :class:`ExprRef`, Dict[required=[expr]], None, str + value : str, dict, None, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -45879,29 +39899,10 @@ class StringValueDefWithCondition(VegaLiteSchema): def __init__( self, condition: Union[ - Union[ - Sequence[ - Union[ - "ConditionalValueDefstringnullExprRef", - Union["ConditionalParameterValueDefstringnullExprRef", dict], - Union["ConditionalPredicateValueDefstringnullExprRef", dict], - ] - ], - Union[ - "ConditionalMarkPropFieldOrDatumDef", - Union["ConditionalParameterMarkPropFieldOrDatumDef", dict], - Union["ConditionalPredicateMarkPropFieldOrDatumDef", dict], - ], - Union[ - "ConditionalValueDefstringnullExprRef", - Union["ConditionalParameterValueDefstringnullExprRef", dict], - Union["ConditionalPredicateValueDefstringnullExprRef", dict], - ], - ], - UndefinedType, + dict, "SchemaBase", Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, value: Union[ - Union[None, Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, None, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, **kwds, ): @@ -45911,10 +39912,7 @@ def __init__( class StrokeCap(VegaLiteSchema): - """StrokeCap schema wrapper - - :class:`StrokeCap`, Literal['butt', 'round', 'square'] - """ + """StrokeCap schema wrapper""" _schema = {"$ref": "#/definitions/StrokeCap"} @@ -45923,10 +39921,7 @@ def __init__(self, *args): class StrokeJoin(VegaLiteSchema): - """StrokeJoin schema wrapper - - :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] - """ + """StrokeJoin schema wrapper""" _schema = {"$ref": "#/definitions/StrokeJoin"} @@ -45937,48 +39932,46 @@ def __init__(self, *args): class StyleConfigIndex(VegaLiteSchema): """StyleConfigIndex schema wrapper - :class:`StyleConfigIndex`, Dict - Parameters ---------- - arc : :class:`RectConfig`, Dict + arc : dict, :class:`RectConfig` Arc-specific Config - area : :class:`AreaConfig`, Dict + area : dict, :class:`AreaConfig` Area-Specific Config - bar : :class:`BarConfig`, Dict + bar : dict, :class:`BarConfig` Bar-Specific Config - circle : :class:`MarkConfig`, Dict + circle : dict, :class:`MarkConfig` Circle-Specific Config - geoshape : :class:`MarkConfig`, Dict + geoshape : dict, :class:`MarkConfig` Geoshape-Specific Config - image : :class:`RectConfig`, Dict + image : dict, :class:`RectConfig` Image-specific Config - line : :class:`LineConfig`, Dict + line : dict, :class:`LineConfig` Line-Specific Config - mark : :class:`MarkConfig`, Dict + mark : dict, :class:`MarkConfig` Mark Config - point : :class:`MarkConfig`, Dict + point : dict, :class:`MarkConfig` Point-Specific Config - rect : :class:`RectConfig`, Dict + rect : dict, :class:`RectConfig` Rect-Specific Config - rule : :class:`MarkConfig`, Dict + rule : dict, :class:`MarkConfig` Rule-Specific Config - square : :class:`MarkConfig`, Dict + square : dict, :class:`MarkConfig` Square-Specific Config - text : :class:`MarkConfig`, Dict + text : dict, :class:`MarkConfig` Text-Specific Config - tick : :class:`TickConfig`, Dict + tick : dict, :class:`TickConfig` Tick-Specific Config - trail : :class:`LineConfig`, Dict + trail : dict, :class:`LineConfig` Trail-Specific Config - group-subtitle : :class:`MarkConfig`, Dict + group-subtitle : dict, :class:`MarkConfig` Default style for chart subtitles - group-title : :class:`MarkConfig`, Dict + group-title : dict, :class:`MarkConfig` Default style for chart titles - guide-label : :class:`MarkConfig`, Dict + guide-label : dict, :class:`MarkConfig` Default style for axis, legend, and header labels. - guide-title : :class:`MarkConfig`, Dict + guide-title : dict, :class:`MarkConfig` Default style for axis, legend, and header titles. """ @@ -45986,21 +39979,21 @@ class StyleConfigIndex(VegaLiteSchema): def __init__( self, - arc: Union[Union["RectConfig", dict], UndefinedType] = Undefined, - area: Union[Union["AreaConfig", dict], UndefinedType] = Undefined, - bar: Union[Union["BarConfig", dict], UndefinedType] = Undefined, - circle: Union[Union["MarkConfig", dict], UndefinedType] = Undefined, - geoshape: Union[Union["MarkConfig", dict], UndefinedType] = Undefined, - image: Union[Union["RectConfig", dict], UndefinedType] = Undefined, - line: Union[Union["LineConfig", dict], UndefinedType] = Undefined, - mark: Union[Union["MarkConfig", dict], UndefinedType] = Undefined, - point: Union[Union["MarkConfig", dict], UndefinedType] = Undefined, - rect: Union[Union["RectConfig", dict], UndefinedType] = Undefined, - rule: Union[Union["MarkConfig", dict], UndefinedType] = Undefined, - square: Union[Union["MarkConfig", dict], UndefinedType] = Undefined, - text: Union[Union["MarkConfig", dict], UndefinedType] = Undefined, - tick: Union[Union["TickConfig", dict], UndefinedType] = Undefined, - trail: Union[Union["LineConfig", dict], UndefinedType] = Undefined, + arc: Union[dict, "SchemaBase", UndefinedType] = Undefined, + area: Union[dict, "SchemaBase", UndefinedType] = Undefined, + bar: Union[dict, "SchemaBase", UndefinedType] = Undefined, + circle: Union[dict, "SchemaBase", UndefinedType] = Undefined, + geoshape: Union[dict, "SchemaBase", UndefinedType] = Undefined, + image: Union[dict, "SchemaBase", UndefinedType] = Undefined, + line: Union[dict, "SchemaBase", UndefinedType] = Undefined, + mark: Union[dict, "SchemaBase", UndefinedType] = Undefined, + point: Union[dict, "SchemaBase", UndefinedType] = Undefined, + rect: Union[dict, "SchemaBase", UndefinedType] = Undefined, + rule: Union[dict, "SchemaBase", UndefinedType] = Undefined, + square: Union[dict, "SchemaBase", UndefinedType] = Undefined, + text: Union[dict, "SchemaBase", UndefinedType] = Undefined, + tick: Union[dict, "SchemaBase", UndefinedType] = Undefined, + trail: Union[dict, "SchemaBase", UndefinedType] = Undefined, **kwds, ): super(StyleConfigIndex, self).__init__( @@ -46024,10 +40017,7 @@ def __init__( class SymbolShape(VegaLiteSchema): - """SymbolShape schema wrapper - - :class:`SymbolShape`, str - """ + """SymbolShape schema wrapper""" _schema = {"$ref": "#/definitions/SymbolShape"} @@ -46036,10 +40026,7 @@ def __init__(self, *args): class Text(VegaLiteSchema): - """Text schema wrapper - - :class:`Text`, Sequence[str], str - """ + """Text schema wrapper""" _schema = {"$ref": "#/definitions/Text"} @@ -46048,10 +40035,7 @@ def __init__(self, *args, **kwds): class TextBaseline(VegaLiteSchema): - """TextBaseline schema wrapper - - :class:`Baseline`, Literal['top', 'middle', 'bottom'], :class:`TextBaseline`, str - """ + """TextBaseline schema wrapper""" _schema = {"$ref": "#/definitions/TextBaseline"} @@ -46060,10 +40044,7 @@ def __init__(self, *args, **kwds): class Baseline(TextBaseline): - """Baseline schema wrapper - - :class:`Baseline`, Literal['top', 'middle', 'bottom'] - """ + """Baseline schema wrapper""" _schema = {"$ref": "#/definitions/Baseline"} @@ -46072,12 +40053,7 @@ def __init__(self, *args): class TextDef(VegaLiteSchema): - """TextDef schema wrapper - - :class:`FieldOrDatumDefWithConditionStringDatumDefText`, Dict, - :class:`FieldOrDatumDefWithConditionStringFieldDefText`, Dict[required=[shorthand]], - :class:`TextDef`, :class:`ValueDefWithConditionStringFieldDefText`, Dict - """ + """TextDef schema wrapper""" _schema = {"$ref": "#/definitions/TextDef"} @@ -46088,8 +40064,6 @@ def __init__(self, *args, **kwds): class FieldOrDatumDefWithConditionStringDatumDefText(TextDef): """FieldOrDatumDefWithConditionStringDatumDefText schema wrapper - :class:`FieldOrDatumDefWithConditionStringDatumDefText`, Dict - Parameters ---------- @@ -46097,16 +40071,16 @@ class FieldOrDatumDefWithConditionStringDatumDefText(TextDef): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - condition : :class:`ConditionalParameterValueDefTextExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefTextExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefTextExprRef`, Sequence[:class:`ConditionalParameterValueDefTextExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefTextExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefTextExprRef`] + condition : dict, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`, Sequence[dict, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - datum : :class:`DateTime`, Dict, :class:`ExprRef`, Dict[required=[expr]], :class:`PrimitiveValue`, None, bool, float, str, :class:`RepeatRef`, Dict[required=[repeat]] + datum : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - format : :class:`Dict`, Dict, str + format : str, dict, :class:`Dict` When used with the default ``"number"`` and ``"time"`` format type, the text formatting pattern for labels of guides (axes, legends, headers) and text marks. @@ -46140,7 +40114,7 @@ class FieldOrDatumDefWithConditionStringDatumDefText(TextDef): * ``"time"`` for temporal fields and ordinal and nominal fields with ``timeUnit``. * ``"number"`` for quantitative fields as well as ordinal and nominal fields without ``timeUnit``. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -46239,41 +40213,17 @@ def __init__( self, bandPosition: Union[float, UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - "ConditionalValueDefTextExprRef", - Union["ConditionalParameterValueDefTextExprRef", dict], - Union["ConditionalPredicateValueDefTextExprRef", dict], - ] - ], - Union[ - "ConditionalValueDefTextExprRef", - Union["ConditionalParameterValueDefTextExprRef", dict], - Union["ConditionalPredicateValueDefTextExprRef", dict], - ], - ], - UndefinedType, + dict, "SchemaBase", Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, datum: Union[ - Union[ - Union["DateTime", dict], - Union["ExprRef", "_Parameter", dict], - Union["PrimitiveValue", None, bool, float, str], - Union["RepeatRef", dict], - ], - UndefinedType, + str, bool, dict, None, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, - format: Union[Union[Union["Dict", dict], str], UndefinedType] = Undefined, + format: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType - ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, type: Union[ - Union[ - "Type", - Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], - ], + "SchemaBase", + Literal["quantitative", "ordinal", "temporal", "nominal", "geojson"], UndefinedType, ] = Undefined, **kwds, @@ -46293,14 +40243,12 @@ def __init__( class FieldOrDatumDefWithConditionStringFieldDefText(TextDef): """FieldOrDatumDefWithConditionStringFieldDefText schema wrapper - :class:`FieldOrDatumDefWithConditionStringFieldDefText`, Dict[required=[shorthand]] - Parameters ---------- - shorthand : :class:`RepeatRef`, Dict[required=[repeat]], Sequence[str], str + shorthand : str, dict, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -46312,7 +40260,7 @@ class FieldOrDatumDefWithConditionStringFieldDefText(TextDef): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool, str + bin : str, bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -46333,14 +40281,14 @@ class FieldOrDatumDefWithConditionStringFieldDefText(TextDef): **See also:** `bin `__ documentation. - condition : :class:`ConditionalParameterValueDefTextExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefTextExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefTextExprRef`, Sequence[:class:`ConditionalParameterValueDefTextExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefTextExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefTextExprRef`] + condition : dict, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`, Sequence[dict, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`] One or more value definition(s) with `a parameter or a test predicate `__. **Note:** A field definition's ``condition`` property can only contain `conditional value definitions `__ since Vega-Lite only allows at most one encoded field per encoding channel. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -46355,7 +40303,7 @@ class FieldOrDatumDefWithConditionStringFieldDefText(TextDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - format : :class:`Dict`, Dict, str + format : str, dict, :class:`Dict` When used with the default ``"number"`` and ``"time"`` format type, the text formatting pattern for labels of guides (axes, legends, headers) and text marks. @@ -46389,7 +40337,7 @@ class FieldOrDatumDefWithConditionStringFieldDefText(TextDef): * ``"time"`` for temporal fields and ordinal and nominal fields with ``timeUnit``. * ``"number"`` for quantitative fields as well as ordinal and nominal fields without ``timeUnit``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -46398,7 +40346,7 @@ class FieldOrDatumDefWithConditionStringFieldDefText(TextDef): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -46496,227 +40444,173 @@ class FieldOrDatumDefWithConditionStringFieldDefText(TextDef): def __init__( self, shorthand: Union[ - Union[Sequence[str], Union["RepeatRef", dict], str], UndefinedType + str, dict, "SchemaBase", Sequence[str], UndefinedType ] = Undefined, aggregate: Union[ - Union[ - "Aggregate", - Union["ArgmaxDef", dict], - Union["ArgminDef", dict], - Union[ - "NonArgAggregateOp", - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - ], + dict, + "SchemaBase", + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union["BinParams", dict], bool, str], UndefinedType - ] = Undefined, + bin: Union[str, bool, dict, None, "SchemaBase", UndefinedType] = Undefined, condition: Union[ - Union[ - Sequence[ - Union[ - "ConditionalValueDefTextExprRef", - Union["ConditionalParameterValueDefTextExprRef", dict], - Union["ConditionalPredicateValueDefTextExprRef", dict], - ] - ], - Union[ - "ConditionalValueDefTextExprRef", - Union["ConditionalParameterValueDefTextExprRef", dict], - Union["ConditionalPredicateValueDefTextExprRef", dict], - ], - ], - UndefinedType, - ] = Undefined, - field: Union[ - Union["Field", Union["FieldName", str], Union["RepeatRef", dict]], - UndefinedType, + dict, "SchemaBase", Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, - format: Union[Union[Union["Dict", dict], str], UndefinedType] = Undefined, + field: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, + format: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, formatType: Union[str, UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - "BinnedTimeUnit", - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - ], - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], - ], - Union["TimeUnitParams", dict], - ], - UndefinedType, - ] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType - ] = Undefined, + dict, + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", + ], + UndefinedType, + ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, type: Union[ - Union[ - "StandardType", - Literal["quantitative", "ordinal", "temporal", "nominal"], - ], + "SchemaBase", + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -46738,10 +40632,7 @@ def __init__( class TextDirection(VegaLiteSchema): - """TextDirection schema wrapper - - :class:`TextDirection`, Literal['ltr', 'rtl'] - """ + """TextDirection schema wrapper""" _schema = {"$ref": "#/definitions/TextDirection"} @@ -46752,42 +40643,40 @@ def __init__(self, *args): class TickConfig(AnyMarkConfig): """TickConfig schema wrapper - :class:`TickConfig`, Dict - Parameters ---------- - align : :class:`Align`, Literal['left', 'center', 'right'], :class:`ExprRef`, Dict[required=[expr]] + align : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] The horizontal alignment of the text or ranged marks (area, bar, image, rect, rule). One of ``"left"``, ``"right"``, ``"center"``. **Note:** Expression reference is *not* supported for range marks. - angle : :class:`ExprRef`, Dict[required=[expr]], float + angle : dict, float, :class:`ExprRef` The rotation angle of the text, in degrees. - aria : :class:`ExprRef`, Dict[required=[expr]], bool + aria : bool, dict, :class:`ExprRef` A boolean flag indicating if `ARIA attributes `__ should be included (SVG output only). If ``false``, the "aria-hidden" attribute will be set on the output SVG element, removing the mark item from the ARIA accessibility tree. - ariaRole : :class:`ExprRef`, Dict[required=[expr]], str + ariaRole : str, dict, :class:`ExprRef` Sets the type of user interface element of the mark item for `ARIA accessibility `__ (SVG output only). If specified, this property determines the "role" attribute. Warning: this property is experimental and may be changed in the future. - ariaRoleDescription : :class:`ExprRef`, Dict[required=[expr]], str + ariaRoleDescription : str, dict, :class:`ExprRef` A human-readable, author-localized description for the role of the mark item for `ARIA accessibility `__ (SVG output only). If specified, this property determines the "aria-roledescription" attribute. Warning: this property is experimental and may be changed in the future. - aspect : :class:`ExprRef`, Dict[required=[expr]], bool + aspect : bool, dict, :class:`ExprRef` Whether to keep aspect ratio of image marks. bandSize : float The width of the ticks. **Default value:** 3/4 of step (width step for horizontal ticks and height step for vertical ticks). - baseline : :class:`Baseline`, Literal['top', 'middle', 'bottom'], :class:`TextBaseline`, str, :class:`ExprRef`, Dict[required=[expr]] + baseline : str, dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['top', 'middle', 'bottom'] For text marks, the vertical text baseline. One of ``"alphabetic"`` (default), ``"top"``, ``"middle"``, ``"bottom"``, ``"line-top"``, ``"line-bottom"``, or an expression reference that provides one of the valid values. The ``"line-top"`` and @@ -46798,13 +40687,13 @@ class TickConfig(AnyMarkConfig): ``"middle"``, ``"bottom"``. **Note:** Expression reference is *not* supported for range marks. - blend : :class:`Blend`, Literal[None, 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'], :class:`ExprRef`, Dict[required=[expr]] + blend : dict, :class:`Blend`, :class:`ExprRef`, Literal[None, 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'] The color blend mode for drawing an item on its current background. Any valid `CSS mix-blend-mode `__ value can be used. __Default value:__ ``"source-over"`` - color : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]] + color : str, dict, :class:`Color`, :class:`ExprRef`, :class:`Gradient`, :class:`HexColor`, :class:`ColorName`, :class:`LinearGradient`, :class:`RadialGradient`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Default color. **Default value:** :raw-html:`` @@ -46817,59 +40706,59 @@ class TickConfig(AnyMarkConfig): `__. * The ``fill`` and ``stroke`` properties have higher precedence than ``color`` and will override ``color``. - cornerRadius : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadius : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles or arcs' corners. **Default value:** ``0`` - cornerRadiusBottomLeft : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusBottomLeft : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom left corner. **Default value:** ``0`` - cornerRadiusBottomRight : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusBottomRight : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom right corner. **Default value:** ``0`` - cornerRadiusTopLeft : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusTopLeft : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top right corner. **Default value:** ``0`` - cornerRadiusTopRight : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadiusTopRight : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top left corner. **Default value:** ``0`` - cursor : :class:`Cursor`, Literal['auto', 'default', 'none', 'context-menu', 'help', 'pointer', 'progress', 'wait', 'cell', 'crosshair', 'text', 'vertical-text', 'alias', 'copy', 'move', 'no-drop', 'not-allowed', 'e-resize', 'n-resize', 'ne-resize', 'nw-resize', 's-resize', 'se-resize', 'sw-resize', 'w-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'col-resize', 'row-resize', 'all-scroll', 'zoom-in', 'zoom-out', 'grab', 'grabbing'], :class:`ExprRef`, Dict[required=[expr]] + cursor : dict, :class:`Cursor`, :class:`ExprRef`, Literal['auto', 'default', 'none', 'context-menu', 'help', 'pointer', 'progress', 'wait', 'cell', 'crosshair', 'text', 'vertical-text', 'alias', 'copy', 'move', 'no-drop', 'not-allowed', 'e-resize', 'n-resize', 'ne-resize', 'nw-resize', 's-resize', 'se-resize', 'sw-resize', 'w-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'col-resize', 'row-resize', 'all-scroll', 'zoom-in', 'zoom-out', 'grab', 'grabbing'] The mouse cursor used over the mark. Any valid `CSS cursor type `__ can be used. - description : :class:`ExprRef`, Dict[required=[expr]], str + description : str, dict, :class:`ExprRef` A text description of the mark item for `ARIA accessibility `__ (SVG output only). If specified, this property determines the `"aria-label" attribute `__. - dir : :class:`ExprRef`, Dict[required=[expr]], :class:`TextDirection`, Literal['ltr', 'rtl'] + dir : dict, :class:`ExprRef`, Literal['ltr', 'rtl'], :class:`TextDirection` The direction of the text. One of ``"ltr"`` (left-to-right) or ``"rtl"`` (right-to-left). This property determines on which side is truncated in response to the limit parameter. **Default value:** ``"ltr"`` - dx : :class:`ExprRef`, Dict[required=[expr]], float + dx : dict, float, :class:`ExprRef` The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the *angle* property. - dy : :class:`ExprRef`, Dict[required=[expr]], float + dy : dict, float, :class:`ExprRef` The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the *angle* property. - ellipsis : :class:`ExprRef`, Dict[required=[expr]], str + ellipsis : str, dict, :class:`ExprRef` The ellipsis string for text truncated in response to the limit parameter. **Default value:** ``"…"`` - endAngle : :class:`ExprRef`, Dict[required=[expr]], float + endAngle : dict, float, :class:`ExprRef` The end angle in radians for arc marks. A value of ``0`` indicates up (north), increasing values proceed clockwise. - fill : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]], None + fill : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`Gradient`, :class:`HexColor`, :class:`ColorName`, :class:`LinearGradient`, :class:`RadialGradient`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Default fill color. This property has higher precedence than ``config.color``. Set to ``null`` to remove fill. **Default value:** (None) - fillOpacity : :class:`ExprRef`, Dict[required=[expr]], float + fillOpacity : dict, float, :class:`ExprRef` The fill opacity (value between [0,1]). **Default value:** ``1`` @@ -46883,28 +40772,28 @@ class TickConfig(AnyMarkConfig): **Note:** This property cannot be used in a `style config `__. - font : :class:`ExprRef`, Dict[required=[expr]], str + font : str, dict, :class:`ExprRef` The typeface to set the text in (e.g., ``"Helvetica Neue"`` ). - fontSize : :class:`ExprRef`, Dict[required=[expr]], float + fontSize : dict, float, :class:`ExprRef` The font size, in pixels. **Default value:** ``11`` - fontStyle : :class:`ExprRef`, Dict[required=[expr]], :class:`FontStyle`, str + fontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` The font style (e.g., ``"italic"`` ). - fontWeight : :class:`ExprRef`, Dict[required=[expr]], :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + fontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] The font weight. This can be either a string (e.g ``"bold"``, ``"normal"`` ) or a number ( ``100``, ``200``, ``300``, ..., ``900`` where ``"normal"`` = ``400`` and ``"bold"`` = ``700`` ). - height : :class:`ExprRef`, Dict[required=[expr]], float + height : dict, float, :class:`ExprRef` Height of the marks. - href : :class:`ExprRef`, Dict[required=[expr]], :class:`URI`, str + href : str, dict, :class:`URI`, :class:`ExprRef` A URL to load upon mouse click. If defined, the mark acts as a hyperlink. - innerRadius : :class:`ExprRef`, Dict[required=[expr]], float + innerRadius : dict, float, :class:`ExprRef` The inner radius in pixels of arc marks. ``innerRadius`` is an alias for ``radius2``. **Default value:** ``0`` - interpolate : :class:`ExprRef`, Dict[required=[expr]], :class:`Interpolate`, Literal['basis', 'basis-open', 'basis-closed', 'bundle', 'cardinal', 'cardinal-open', 'cardinal-closed', 'catmull-rom', 'linear', 'linear-closed', 'monotone', 'natural', 'step', 'step-before', 'step-after'] + interpolate : dict, :class:`ExprRef`, :class:`Interpolate`, Literal['basis', 'basis-open', 'basis-closed', 'bundle', 'cardinal', 'cardinal-open', 'cardinal-closed', 'catmull-rom', 'linear', 'linear-closed', 'monotone', 'natural', 'step', 'step-before', 'step-after'] The line interpolation method to use for line and area marks. One of the following: @@ -46935,23 +40824,23 @@ class TickConfig(AnyMarkConfig): (for line, trail, and area marks) or filtered (for other marks). * If ``null``, all data items are included. In this case, invalid values will be interpreted as zeroes. - limit : :class:`ExprRef`, Dict[required=[expr]], float + limit : dict, float, :class:`ExprRef` The maximum length of the text mark in pixels. The text value will be automatically truncated if the rendered size exceeds the limit. **Default value:** ``0`` -- indicating no limit - lineBreak : :class:`ExprRef`, Dict[required=[expr]], str + lineBreak : str, dict, :class:`ExprRef` A delimiter, such as a newline character, upon which to break text strings into multiple lines. This property is ignored if the text is array-valued. - lineHeight : :class:`ExprRef`, Dict[required=[expr]], float + lineHeight : dict, float, :class:`ExprRef` The line height in pixels (the spacing between subsequent lines of text) for multi-line text marks. - opacity : :class:`ExprRef`, Dict[required=[expr]], float + opacity : dict, float, :class:`ExprRef` The overall opacity (value between [0,1]). **Default value:** ``0.7`` for non-aggregate plots with ``point``, ``tick``, ``circle``, or ``square`` marks or layered ``bar`` charts and ``1`` otherwise. - order : None, bool + order : bool, None For line and trail marks, this ``order`` property can be set to ``null`` or ``false`` to make the lines use the original order in the data sources. orient : :class:`Orientation`, Literal['horizontal', 'vertical'] @@ -46966,24 +40855,24 @@ class TickConfig(AnyMarkConfig): the line if ``config.sortLineBy`` is not specified. For stacked charts, this is always determined by the orientation of the stack; therefore explicitly specified value will be ignored. - outerRadius : :class:`ExprRef`, Dict[required=[expr]], float + outerRadius : dict, float, :class:`ExprRef` The outer radius in pixels of arc marks. ``outerRadius`` is an alias for ``radius``. **Default value:** ``0`` - padAngle : :class:`ExprRef`, Dict[required=[expr]], float + padAngle : dict, float, :class:`ExprRef` The angular padding applied to sides of the arc, in radians. - radius : :class:`ExprRef`, Dict[required=[expr]], float + radius : dict, float, :class:`ExprRef` For arc mark, the primary (outer) radius in pixels. For text marks, polar coordinate radial offset, in pixels, of the text from the origin determined by the ``x`` and ``y`` properties. **Default value:** ``min(plot_width, plot_height)/2`` - radius2 : :class:`ExprRef`, Dict[required=[expr]], float + radius2 : dict, float, :class:`ExprRef` The secondary (inner) radius in pixels of arc marks. **Default value:** ``0`` - shape : :class:`ExprRef`, Dict[required=[expr]], :class:`SymbolShape`, str, str + shape : str, dict, :class:`ExprRef`, :class:`SymbolShape` Shape of the point marks. Supported values include: @@ -46998,7 +40887,7 @@ class TickConfig(AnyMarkConfig): coordinates ranging from -1 to 1 along both the x and y dimensions.) **Default value:** ``"circle"`` - size : :class:`ExprRef`, Dict[required=[expr]], float + size : dict, float, :class:`ExprRef` Default size for marks. @@ -47015,56 +40904,56 @@ class TickConfig(AnyMarkConfig): * ``2`` for bar marks with discrete dimensions; * ``5`` for bar marks with continuous dimensions; * ``11`` for text marks. - smooth : :class:`ExprRef`, Dict[required=[expr]], bool + smooth : bool, dict, :class:`ExprRef` A boolean flag (default true) indicating if the image should be smoothed when resized. If false, individual pixels should be scaled directly rather than interpolated with smoothing. For SVG rendering, this option may not work in some browsers due to lack of standardization. - startAngle : :class:`ExprRef`, Dict[required=[expr]], float + startAngle : dict, float, :class:`ExprRef` The start angle in radians for arc marks. A value of ``0`` indicates up (north), increasing values proceed clockwise. - stroke : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]], None + stroke : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`Gradient`, :class:`HexColor`, :class:`ColorName`, :class:`LinearGradient`, :class:`RadialGradient`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Default stroke color. This property has higher precedence than ``config.color``. Set to ``null`` to remove stroke. **Default value:** (None) - strokeCap : :class:`ExprRef`, Dict[required=[expr]], :class:`StrokeCap`, Literal['butt', 'round', 'square'] + strokeCap : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] The stroke cap for line ending style. One of ``"butt"``, ``"round"``, or ``"square"``. **Default value:** ``"butt"`` - strokeDash : :class:`ExprRef`, Dict[required=[expr]], Sequence[float] + strokeDash : dict, Sequence[float], :class:`ExprRef` An array of alternating stroke, space lengths for creating dashed or dotted lines. - strokeDashOffset : :class:`ExprRef`, Dict[required=[expr]], float + strokeDashOffset : dict, float, :class:`ExprRef` The offset (in pixels) into which to begin drawing with the stroke dash array. - strokeJoin : :class:`ExprRef`, Dict[required=[expr]], :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] + strokeJoin : dict, :class:`ExprRef`, :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] The stroke line join method. One of ``"miter"``, ``"round"`` or ``"bevel"``. **Default value:** ``"miter"`` - strokeMiterLimit : :class:`ExprRef`, Dict[required=[expr]], float + strokeMiterLimit : dict, float, :class:`ExprRef` The miter limit at which to bevel a line join. - strokeOffset : :class:`ExprRef`, Dict[required=[expr]], float + strokeOffset : dict, float, :class:`ExprRef` The offset in pixels at which to draw the group stroke and fill. If unspecified, the default behavior is to dynamically offset stroked groups such that 1 pixel stroke widths align with the pixel grid. - strokeOpacity : :class:`ExprRef`, Dict[required=[expr]], float + strokeOpacity : dict, float, :class:`ExprRef` The stroke opacity (value between [0,1]). **Default value:** ``1`` - strokeWidth : :class:`ExprRef`, Dict[required=[expr]], float + strokeWidth : dict, float, :class:`ExprRef` The stroke width, in pixels. - tension : :class:`ExprRef`, Dict[required=[expr]], float + tension : dict, float, :class:`ExprRef` Depending on the interpolation type, sets the tension parameter (for line and area marks). - text : :class:`ExprRef`, Dict[required=[expr]], :class:`Text`, Sequence[str], str + text : str, dict, :class:`Text`, Sequence[str], :class:`ExprRef` Placeholder text if the ``text`` channel is not specified - theta : :class:`ExprRef`, Dict[required=[expr]], float + theta : dict, float, :class:`ExprRef` For arc marks, the arc length in radians if theta2 is not specified, otherwise the start arc angle. (A value of 0 indicates up or “north”, increasing values proceed clockwise.) For text marks, polar coordinate angle in radians. - theta2 : :class:`ExprRef`, Dict[required=[expr]], float + theta2 : dict, float, :class:`ExprRef` The end angle of arc marks in radians. A value of 0 indicates up or “north”, increasing values proceed clockwise. thickness : float @@ -47079,7 +40968,7 @@ class TickConfig(AnyMarkConfig): Default relative band size for a time unit. If set to ``1``, the bandwidth of the marks will be equal to the time unit band step. If set to ``0.5``, bandwidth of the marks will be half of the time unit band step. - tooltip : :class:`ExprRef`, Dict[required=[expr]], :class:`TooltipContent`, Dict[required=[content]], None, bool, float, str + tooltip : str, bool, dict, None, float, :class:`ExprRef`, :class:`TooltipContent` The tooltip text string to show upon mouse hover or an object defining which fields should the tooltip be derived from. @@ -47094,28 +40983,28 @@ class TickConfig(AnyMarkConfig): documentation for a detailed discussion about tooltip in Vega-Lite. **Default value:** ``null`` - url : :class:`ExprRef`, Dict[required=[expr]], :class:`URI`, str + url : str, dict, :class:`URI`, :class:`ExprRef` The URL of the image file for image marks. - width : :class:`ExprRef`, Dict[required=[expr]], float + width : dict, float, :class:`ExprRef` Width of the marks. - x : :class:`ExprRef`, Dict[required=[expr]], float, str + x : str, dict, float, :class:`ExprRef` X coordinates of the marks, or width of horizontal ``"bar"`` and ``"area"`` without specified ``x2`` or ``width``. The ``value`` of this channel can be a number or a string ``"width"`` for the width of the plot. - x2 : :class:`ExprRef`, Dict[required=[expr]], float, str + x2 : str, dict, float, :class:`ExprRef` X2 coordinates for ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. The ``value`` of this channel can be a number or a string ``"width"`` for the width of the plot. - y : :class:`ExprRef`, Dict[required=[expr]], float, str + y : str, dict, float, :class:`ExprRef` Y coordinates of the marks, or height of vertical ``"bar"`` and ``"area"`` without specified ``y2`` or ``height``. The ``value`` of this channel can be a number or a string ``"height"`` for the height of the plot. - y2 : :class:`ExprRef`, Dict[required=[expr]], float, str + y2 : str, dict, float, :class:`ExprRef` Y2 coordinates for ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. The ``value`` of this channel can be a number or a string ``"height"`` for the @@ -47127,857 +41016,768 @@ class TickConfig(AnyMarkConfig): def __init__( self, align: Union[ - Union[ - Union["Align", Literal["left", "center", "right"]], - Union["ExprRef", "_Parameter", dict], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["left", "center", "right"], UndefinedType, ] = Undefined, angle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - aria: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + aria: Union[bool, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, ariaRole: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, ariaRoleDescription: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, aspect: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + bool, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, bandSize: Union[float, UndefinedType] = Undefined, baseline: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "TextBaseline", - Union["Baseline", Literal["top", "middle", "bottom"]], - str, - ], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, blend: Union[ - Union[ - Union[ - "Blend", - Literal[ - None, - "multiply", - "screen", - "overlay", - "darken", - "lighten", - "color-dodge", - "color-burn", - "hard-light", - "soft-light", - "difference", - "exclusion", - "hue", - "saturation", - "color", - "luminosity", - ], - ], - Union["ExprRef", "_Parameter", dict], + dict, + "_Parameter", + "SchemaBase", + Literal[ + None, + "multiply", + "screen", + "overlay", + "darken", + "lighten", + "color-dodge", + "color-burn", + "hard-light", + "soft-light", + "difference", + "exclusion", + "hue", + "saturation", + "color", + "luminosity", ], UndefinedType, ] = Undefined, color: Union[ - Union[ - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], - Union[ - "Gradient", - Union["LinearGradient", dict], - Union["RadialGradient", dict], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, cornerRadius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusBottomLeft: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusBottomRight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusTopLeft: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cornerRadiusTopRight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cursor: Union[ - Union[ - Union[ - "Cursor", - Literal[ - "auto", - "default", - "none", - "context-menu", - "help", - "pointer", - "progress", - "wait", - "cell", - "crosshair", - "text", - "vertical-text", - "alias", - "copy", - "move", - "no-drop", - "not-allowed", - "e-resize", - "n-resize", - "ne-resize", - "nw-resize", - "s-resize", - "se-resize", - "sw-resize", - "w-resize", - "ew-resize", - "ns-resize", - "nesw-resize", - "nwse-resize", - "col-resize", - "row-resize", - "all-scroll", - "zoom-in", - "zoom-out", - "grab", - "grabbing", - ], - ], - Union["ExprRef", "_Parameter", dict], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "auto", + "default", + "none", + "context-menu", + "help", + "pointer", + "progress", + "wait", + "cell", + "crosshair", + "text", + "vertical-text", + "alias", + "copy", + "move", + "no-drop", + "not-allowed", + "e-resize", + "n-resize", + "ne-resize", + "nw-resize", + "s-resize", + "se-resize", + "sw-resize", + "w-resize", + "ew-resize", + "ns-resize", + "nesw-resize", + "nwse-resize", + "col-resize", + "row-resize", + "all-scroll", + "zoom-in", + "zoom-out", + "grab", + "grabbing", ], UndefinedType, ] = Undefined, description: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, dir: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["TextDirection", Literal["ltr", "rtl"]], - ], - UndefinedType, - ] = Undefined, - dx: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - dy: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, "_Parameter", "SchemaBase", Literal["ltr", "rtl"], UndefinedType ] = Undefined, + dx: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, + dy: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, ellipsis: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, endAngle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, fill: Union[ - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], - Union[ - "Gradient", - Union["LinearGradient", dict], - Union["RadialGradient", dict], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, fillOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, filled: Union[bool, UndefinedType] = Undefined, - font: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType - ] = Undefined, + font: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, fontSize: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, fontStyle: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["FontStyle", str]], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, fontWeight: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "FontWeight", - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, height: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - href: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["URI", str]], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + href: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, innerRadius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "Interpolate", - Literal[ - "basis", - "basis-open", - "basis-closed", - "bundle", - "cardinal", - "cardinal-open", - "cardinal-closed", - "catmull-rom", - "linear", - "linear-closed", - "monotone", - "natural", - "step", - "step-before", - "step-after", - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "basis", + "basis-open", + "basis-closed", + "bundle", + "cardinal", + "cardinal-open", + "cardinal-closed", + "catmull-rom", + "linear", + "linear-closed", + "monotone", + "natural", + "step", + "step-before", + "step-after", ], UndefinedType, ] = Undefined, invalid: Union[Literal["filter", None], UndefinedType] = Undefined, limit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, lineBreak: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, lineHeight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, opacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, - order: Union[Union[None, bool], UndefinedType] = Undefined, + order: Union[bool, None, UndefinedType] = Undefined, orient: Union[ - Union["Orientation", Literal["horizontal", "vertical"]], UndefinedType + "SchemaBase", Literal["horizontal", "vertical"], UndefinedType ] = Undefined, outerRadius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, padAngle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, radius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, radius2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - shape: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[Union["SymbolShape", str], str], - ], - UndefinedType, - ] = Undefined, - size: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + shape: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, + size: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, smooth: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + bool, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, startAngle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, stroke: Union[ - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], - Union[ - "Gradient", - Union["LinearGradient", dict], - Union["RadialGradient", dict], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, strokeCap: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["StrokeCap", Literal["butt", "round", "square"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, strokeDash: Union[ - Union[Sequence[float], Union["ExprRef", "_Parameter", dict]], UndefinedType + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, strokeDashOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeJoin: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["StrokeJoin", Literal["miter", "round", "bevel"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["miter", "round", "bevel"], UndefinedType, ] = Undefined, strokeMiterLimit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeWidth: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, tension: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, text: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], Union["Text", Sequence[str], str] - ], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", Sequence[str], UndefinedType ] = Undefined, theta: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, theta2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, thickness: Union[float, UndefinedType] = Undefined, timeUnitBandPosition: Union[float, UndefinedType] = Undefined, timeUnitBandSize: Union[float, UndefinedType] = Undefined, tooltip: Union[ - Union[ - None, - Union["ExprRef", "_Parameter", dict], - Union["TooltipContent", dict], - bool, - float, - str, - ], - UndefinedType, - ] = Undefined, - url: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["URI", str]], - UndefinedType, + str, bool, dict, None, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + url: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, width: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, x: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, x2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, y: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, y2: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, **kwds, ): @@ -48058,12 +41858,7 @@ def __init__( class TickCount(VegaLiteSchema): - """TickCount schema wrapper - - :class:`TickCount`, :class:`TimeIntervalStep`, Dict[required=[interval, step]], - :class:`TimeInterval`, Literal['millisecond', 'second', 'minute', 'hour', 'day', 'week', - 'month', 'year'], float - """ + """TickCount schema wrapper""" _schema = {"$ref": "#/definitions/TickCount"} @@ -48072,11 +41867,7 @@ def __init__(self, *args, **kwds): class TimeInterval(TickCount): - """TimeInterval schema wrapper - - :class:`TimeInterval`, Literal['millisecond', 'second', 'minute', 'hour', 'day', 'week', - 'month', 'year'] - """ + """TimeInterval schema wrapper""" _schema = {"$ref": "#/definitions/TimeInterval"} @@ -48087,8 +41878,6 @@ def __init__(self, *args): class TimeIntervalStep(TickCount): """TimeIntervalStep schema wrapper - :class:`TimeIntervalStep`, Dict[required=[interval, step]] - Parameters ---------- @@ -48103,18 +41892,16 @@ class TimeIntervalStep(TickCount): def __init__( self, interval: Union[ - Union[ - "TimeInterval", - Literal[ - "millisecond", - "second", - "minute", - "hour", - "day", - "week", - "month", - "year", - ], + "SchemaBase", + Literal[ + "millisecond", + "second", + "minute", + "hour", + "day", + "week", + "month", + "year", ], UndefinedType, ] = Undefined, @@ -48126,9 +41913,6 @@ def __init__( class TimeLocale(VegaLiteSchema): """TimeLocale schema wrapper - - :class:`TimeLocale`, Dict[required=[dateTime, date, time, periods, days, shortDays, months, - shortMonths]] Locale definition for formatting dates and times. Parameters @@ -48138,15 +41922,15 @@ class TimeLocale(VegaLiteSchema): The date (%x) format specifier (e.g., "%m/%d/%Y"). dateTime : str The date and time (%c) format specifier (e.g., "%a %b %e %X %Y"). - days : :class:`Vector7string`, Sequence[str] + days : Sequence[str], :class:`Vector7string` The full names of the weekdays, starting with Sunday. - months : :class:`Vector12string`, Sequence[str] + months : Sequence[str], :class:`Vector12string` The full names of the months (starting with January). - periods : :class:`Vector2string`, Sequence[str] + periods : Sequence[str], :class:`Vector2string` The A.M. and P.M. equivalents (e.g., ["AM", "PM"]). - shortDays : :class:`Vector7string`, Sequence[str] + shortDays : Sequence[str], :class:`Vector7string` The abbreviated names of the weekdays, starting with Sunday. - shortMonths : :class:`Vector12string`, Sequence[str] + shortMonths : Sequence[str], :class:`Vector12string` The abbreviated names of the months (starting with January). time : str The time (%X) format specifier (e.g., "%H:%M:%S"). @@ -48158,19 +41942,11 @@ def __init__( self, date: Union[str, UndefinedType] = Undefined, dateTime: Union[str, UndefinedType] = Undefined, - days: Union[Union["Vector7string", Sequence[str]], UndefinedType] = Undefined, - months: Union[ - Union["Vector12string", Sequence[str]], UndefinedType - ] = Undefined, - periods: Union[ - Union["Vector2string", Sequence[str]], UndefinedType - ] = Undefined, - shortDays: Union[ - Union["Vector7string", Sequence[str]], UndefinedType - ] = Undefined, - shortMonths: Union[ - Union["Vector12string", Sequence[str]], UndefinedType - ] = Undefined, + days: Union["SchemaBase", Sequence[str], UndefinedType] = Undefined, + months: Union["SchemaBase", Sequence[str], UndefinedType] = Undefined, + periods: Union["SchemaBase", Sequence[str], UndefinedType] = Undefined, + shortDays: Union["SchemaBase", Sequence[str], UndefinedType] = Undefined, + shortMonths: Union["SchemaBase", Sequence[str], UndefinedType] = Undefined, time: Union[str, UndefinedType] = Undefined, **kwds, ): @@ -48188,31 +41964,7 @@ def __init__( class TimeUnit(VegaLiteSchema): - """TimeUnit schema wrapper - - :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', - 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', - 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', - 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', - 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', - 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', - 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', - 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], - :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', - 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', - 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', - 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', - 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', - 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', - 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', - 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', - 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], - :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', - 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], - :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', - 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', - 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit` - """ + """TimeUnit schema wrapper""" _schema = {"$ref": "#/definitions/TimeUnit"} @@ -48221,26 +41973,7 @@ def __init__(self, *args, **kwds): class MultiTimeUnit(TimeUnit): - """MultiTimeUnit schema wrapper - - :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', - 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', - 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', - 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', - 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', - 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', - 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', - 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], - :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', - 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', - 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', - 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', - 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', - 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', - 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', - 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', - 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] - """ + """MultiTimeUnit schema wrapper""" _schema = {"$ref": "#/definitions/MultiTimeUnit"} @@ -48249,17 +41982,7 @@ def __init__(self, *args, **kwds): class LocalMultiTimeUnit(MultiTimeUnit): - """LocalMultiTimeUnit schema wrapper - - :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', - 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', - 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', - 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', - 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', - 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', - 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', - 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] - """ + """LocalMultiTimeUnit schema wrapper""" _schema = {"$ref": "#/definitions/LocalMultiTimeUnit"} @@ -48268,14 +41991,7 @@ def __init__(self, *args): class SingleTimeUnit(TimeUnit): - """SingleTimeUnit schema wrapper - - :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', - 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], - :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', - 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', - 'utcseconds', 'utcmilliseconds'] - """ + """SingleTimeUnit schema wrapper""" _schema = {"$ref": "#/definitions/SingleTimeUnit"} @@ -48284,11 +42000,7 @@ def __init__(self, *args, **kwds): class LocalSingleTimeUnit(SingleTimeUnit): - """LocalSingleTimeUnit schema wrapper - - :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', - 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'] - """ + """LocalSingleTimeUnit schema wrapper""" _schema = {"$ref": "#/definitions/LocalSingleTimeUnit"} @@ -48298,8 +42010,6 @@ def __init__(self, *args): class TimeUnitParams(VegaLiteSchema): """TimeUnitParams schema wrapper - - :class:`TimeUnitParams`, Dict Time Unit Params for encoding predicate, which can specified if the data is already "binned". @@ -48314,7 +42024,7 @@ class TimeUnitParams(VegaLiteSchema): If no ``unit`` is specified, maxbins is used to infer time units. step : float The number of steps between bins, in terms of the least significant unit provided. - unit : :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit` + unit : :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`SingleTimeUnit`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Defines how date-time values should be binned. utc : bool True to use UTC timezone. Equivalent to using a ``utc`` prefixed ``TimeUnit``. @@ -48328,114 +42038,94 @@ def __init__( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -48450,8 +42140,6 @@ def __init__( class TimeUnitTransformParams(VegaLiteSchema): """TimeUnitTransformParams schema wrapper - :class:`TimeUnitTransformParams`, Dict - Parameters ---------- @@ -48459,7 +42147,7 @@ class TimeUnitTransformParams(VegaLiteSchema): If no ``unit`` is specified, maxbins is used to infer time units. step : float The number of steps between bins, in terms of the least significant unit provided. - unit : :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit` + unit : :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`SingleTimeUnit`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Defines how date-time values should be binned. utc : bool True to use UTC timezone. Equivalent to using a ``utc`` prefixed ``TimeUnit``. @@ -48472,114 +42160,94 @@ def __init__( maxbins: Union[float, UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, unit: Union[ - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -48592,10 +42260,7 @@ def __init__( class TitleAnchor(VegaLiteSchema): - """TitleAnchor schema wrapper - - :class:`TitleAnchor`, Literal[None, 'start', 'middle', 'end'] - """ + """TitleAnchor schema wrapper""" _schema = {"$ref": "#/definitions/TitleAnchor"} @@ -48606,80 +42271,78 @@ def __init__(self, *args): class TitleConfig(VegaLiteSchema): """TitleConfig schema wrapper - :class:`TitleConfig`, Dict - Parameters ---------- align : :class:`Align`, Literal['left', 'center', 'right'] Horizontal text alignment for title text. One of ``"left"``, ``"center"``, or ``"right"``. - anchor : :class:`ExprRef`, Dict[required=[expr]], :class:`TitleAnchor`, Literal[None, 'start', 'middle', 'end'] + anchor : dict, :class:`ExprRef`, :class:`TitleAnchor`, Literal[None, 'start', 'middle', 'end'] The anchor position for placing the title and subtitle text. One of ``"start"``, ``"middle"``, or ``"end"``. For example, with an orientation of top these anchor positions map to a left-, center-, or right-aligned title. - angle : :class:`ExprRef`, Dict[required=[expr]], float + angle : dict, float, :class:`ExprRef` Angle in degrees of title and subtitle text. - aria : :class:`ExprRef`, Dict[required=[expr]], bool + aria : bool, dict, :class:`ExprRef` A boolean flag indicating if `ARIA attributes `__ should be included (SVG output only). If ``false``, the "aria-hidden" attribute will be set on the output SVG group, removing the title from the ARIA accessibility tree. **Default value:** ``true`` - baseline : :class:`Baseline`, Literal['top', 'middle', 'bottom'], :class:`TextBaseline`, str + baseline : str, :class:`Baseline`, :class:`TextBaseline`, Literal['top', 'middle', 'bottom'] Vertical text baseline for title and subtitle text. One of ``"alphabetic"`` (default), ``"top"``, ``"middle"``, ``"bottom"``, ``"line-top"``, or ``"line-bottom"``. The ``"line-top"`` and ``"line-bottom"`` values operate similarly to ``"top"`` and ``"bottom"``, but are calculated relative to the *lineHeight* rather than *fontSize* alone. - color : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ExprRef`, Dict[required=[expr]] + color : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Text color for title text. - dx : :class:`ExprRef`, Dict[required=[expr]], float + dx : dict, float, :class:`ExprRef` Delta offset for title and subtitle text x-coordinate. - dy : :class:`ExprRef`, Dict[required=[expr]], float + dy : dict, float, :class:`ExprRef` Delta offset for title and subtitle text y-coordinate. - font : :class:`ExprRef`, Dict[required=[expr]], str + font : str, dict, :class:`ExprRef` Font name for title text. - fontSize : :class:`ExprRef`, Dict[required=[expr]], float + fontSize : dict, float, :class:`ExprRef` Font size in pixels for title text. - fontStyle : :class:`ExprRef`, Dict[required=[expr]], :class:`FontStyle`, str + fontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` Font style for title text. - fontWeight : :class:`ExprRef`, Dict[required=[expr]], :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + fontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] Font weight for title text. This can be either a string (e.g ``"bold"``, ``"normal"`` ) or a number ( ``100``, ``200``, ``300``, ..., ``900`` where ``"normal"`` = ``400`` and ``"bold"`` = ``700`` ). - frame : :class:`ExprRef`, Dict[required=[expr]], :class:`TitleFrame`, Literal['bounds', 'group'], str + frame : str, dict, :class:`ExprRef`, :class:`TitleFrame`, Literal['bounds', 'group'] The reference frame for the anchor position, one of ``"bounds"`` (to anchor relative to the full bounding box) or ``"group"`` (to anchor relative to the group width or height). - limit : :class:`ExprRef`, Dict[required=[expr]], float + limit : dict, float, :class:`ExprRef` The maximum allowed length in pixels of title and subtitle text. - lineHeight : :class:`ExprRef`, Dict[required=[expr]], float + lineHeight : dict, float, :class:`ExprRef` Line height in pixels for multi-line title text or title text with ``"line-top"`` or ``"line-bottom"`` baseline. - offset : :class:`ExprRef`, Dict[required=[expr]], float + offset : dict, float, :class:`ExprRef` The orthogonal offset in pixels by which to displace the title group from its position along the edge of the chart. - orient : :class:`ExprRef`, Dict[required=[expr]], :class:`TitleOrient`, Literal['none', 'left', 'right', 'top', 'bottom'] + orient : dict, :class:`ExprRef`, :class:`TitleOrient`, Literal['none', 'left', 'right', 'top', 'bottom'] Default title orientation ( ``"top"``, ``"bottom"``, ``"left"``, or ``"right"`` ) - subtitleColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ExprRef`, Dict[required=[expr]] + subtitleColor : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Text color for subtitle text. - subtitleFont : :class:`ExprRef`, Dict[required=[expr]], str + subtitleFont : str, dict, :class:`ExprRef` Font name for subtitle text. - subtitleFontSize : :class:`ExprRef`, Dict[required=[expr]], float + subtitleFontSize : dict, float, :class:`ExprRef` Font size in pixels for subtitle text. - subtitleFontStyle : :class:`ExprRef`, Dict[required=[expr]], :class:`FontStyle`, str + subtitleFontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` Font style for subtitle text. - subtitleFontWeight : :class:`ExprRef`, Dict[required=[expr]], :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + subtitleFontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] Font weight for subtitle text. This can be either a string (e.g ``"bold"``, ``"normal"`` ) or a number ( ``100``, ``200``, ``300``, ..., ``900`` where ``"normal"`` = ``400`` and ``"bold"`` = ``700`` ). - subtitleLineHeight : :class:`ExprRef`, Dict[required=[expr]], float + subtitleLineHeight : dict, float, :class:`ExprRef` Line height in pixels for multi-line subtitle text. - subtitlePadding : :class:`ExprRef`, Dict[required=[expr]], float + subtitlePadding : dict, float, :class:`ExprRef` The padding in pixels between title and subtitle text. - zindex : :class:`ExprRef`, Dict[required=[expr]], float + zindex : dict, float, :class:`ExprRef` The integer z-index indicating the layering of the title group relative to other axis, mark, and legend groups. @@ -48691,468 +42354,430 @@ class TitleConfig(VegaLiteSchema): def __init__( self, align: Union[ - Union["Align", Literal["left", "center", "right"]], UndefinedType + "SchemaBase", Literal["left", "center", "right"], UndefinedType ] = Undefined, anchor: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["TitleAnchor", Literal[None, "start", "middle", "end"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[None, "start", "middle", "end"], UndefinedType, ] = Undefined, angle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - aria: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + aria: Union[bool, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, baseline: Union[ - Union[ - "TextBaseline", - Union["Baseline", Literal["top", "middle", "bottom"]], - str, - ], - UndefinedType, + str, "SchemaBase", Literal["top", "middle", "bottom"], UndefinedType ] = Undefined, color: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], - ], - UndefinedType, - ] = Undefined, - dx: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - dy: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - font: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType - ] = Undefined, + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", + ], + UndefinedType, + ] = Undefined, + dx: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, + dy: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, + font: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, fontSize: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, fontStyle: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["FontStyle", str]], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, fontWeight: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "FontWeight", - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, frame: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[Union["TitleFrame", Literal["bounds", "group"]], str], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal["bounds", "group"], UndefinedType, ] = Undefined, limit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, lineHeight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, offset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, orient: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["TitleOrient", Literal["none", "left", "right", "top", "bottom"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["none", "left", "right", "top", "bottom"], UndefinedType, ] = Undefined, subtitleColor: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, subtitleFont: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, subtitleFontSize: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, subtitleFontStyle: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["FontStyle", str]], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, subtitleFontWeight: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "FontWeight", - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, subtitleLineHeight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, subtitlePadding: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, zindex: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, **kwds, ): @@ -49187,10 +42812,7 @@ def __init__( class TitleFrame(VegaLiteSchema): - """TitleFrame schema wrapper - - :class:`TitleFrame`, Literal['bounds', 'group'] - """ + """TitleFrame schema wrapper""" _schema = {"$ref": "#/definitions/TitleFrame"} @@ -49199,10 +42821,7 @@ def __init__(self, *args): class TitleOrient(VegaLiteSchema): - """TitleOrient schema wrapper - - :class:`TitleOrient`, Literal['none', 'left', 'right', 'top', 'bottom'] - """ + """TitleOrient schema wrapper""" _schema = {"$ref": "#/definitions/TitleOrient"} @@ -49213,12 +42832,10 @@ def __init__(self, *args): class TitleParams(VegaLiteSchema): """TitleParams schema wrapper - :class:`TitleParams`, Dict[required=[text]] - Parameters ---------- - text : :class:`ExprRef`, Dict[required=[expr]], :class:`Text`, Sequence[str], str + text : str, dict, :class:`Text`, Sequence[str], :class:`ExprRef` The title text. align : :class:`Align`, Literal['left', 'center', 'right'] Horizontal text alignment for title text. One of ``"left"``, ``"center"``, or @@ -49238,73 +42855,73 @@ class TitleParams(VegaLiteSchema): `__ and `layered `__ views. For other composite views, ``anchor`` is always ``"start"``. - angle : :class:`ExprRef`, Dict[required=[expr]], float + angle : dict, float, :class:`ExprRef` Angle in degrees of title and subtitle text. - aria : :class:`ExprRef`, Dict[required=[expr]], bool + aria : bool, dict, :class:`ExprRef` A boolean flag indicating if `ARIA attributes `__ should be included (SVG output only). If ``false``, the "aria-hidden" attribute will be set on the output SVG group, removing the title from the ARIA accessibility tree. **Default value:** ``true`` - baseline : :class:`Baseline`, Literal['top', 'middle', 'bottom'], :class:`TextBaseline`, str + baseline : str, :class:`Baseline`, :class:`TextBaseline`, Literal['top', 'middle', 'bottom'] Vertical text baseline for title and subtitle text. One of ``"alphabetic"`` (default), ``"top"``, ``"middle"``, ``"bottom"``, ``"line-top"``, or ``"line-bottom"``. The ``"line-top"`` and ``"line-bottom"`` values operate similarly to ``"top"`` and ``"bottom"``, but are calculated relative to the *lineHeight* rather than *fontSize* alone. - color : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ExprRef`, Dict[required=[expr]] + color : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Text color for title text. - dx : :class:`ExprRef`, Dict[required=[expr]], float + dx : dict, float, :class:`ExprRef` Delta offset for title and subtitle text x-coordinate. - dy : :class:`ExprRef`, Dict[required=[expr]], float + dy : dict, float, :class:`ExprRef` Delta offset for title and subtitle text y-coordinate. - font : :class:`ExprRef`, Dict[required=[expr]], str + font : str, dict, :class:`ExprRef` Font name for title text. - fontSize : :class:`ExprRef`, Dict[required=[expr]], float + fontSize : dict, float, :class:`ExprRef` Font size in pixels for title text. - fontStyle : :class:`ExprRef`, Dict[required=[expr]], :class:`FontStyle`, str + fontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` Font style for title text. - fontWeight : :class:`ExprRef`, Dict[required=[expr]], :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + fontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] Font weight for title text. This can be either a string (e.g ``"bold"``, ``"normal"`` ) or a number ( ``100``, ``200``, ``300``, ..., ``900`` where ``"normal"`` = ``400`` and ``"bold"`` = ``700`` ). - frame : :class:`ExprRef`, Dict[required=[expr]], :class:`TitleFrame`, Literal['bounds', 'group'], str + frame : str, dict, :class:`ExprRef`, :class:`TitleFrame`, Literal['bounds', 'group'] The reference frame for the anchor position, one of ``"bounds"`` (to anchor relative to the full bounding box) or ``"group"`` (to anchor relative to the group width or height). - limit : :class:`ExprRef`, Dict[required=[expr]], float + limit : dict, float, :class:`ExprRef` The maximum allowed length in pixels of title and subtitle text. - lineHeight : :class:`ExprRef`, Dict[required=[expr]], float + lineHeight : dict, float, :class:`ExprRef` Line height in pixels for multi-line title text or title text with ``"line-top"`` or ``"line-bottom"`` baseline. - offset : :class:`ExprRef`, Dict[required=[expr]], float + offset : dict, float, :class:`ExprRef` The orthogonal offset in pixels by which to displace the title group from its position along the edge of the chart. - orient : :class:`ExprRef`, Dict[required=[expr]], :class:`TitleOrient`, Literal['none', 'left', 'right', 'top', 'bottom'] + orient : dict, :class:`ExprRef`, :class:`TitleOrient`, Literal['none', 'left', 'right', 'top', 'bottom'] Default title orientation ( ``"top"``, ``"bottom"``, ``"left"``, or ``"right"`` ) - style : Sequence[str], str + style : str, Sequence[str] A `mark style property `__ to apply to the title text mark. **Default value:** ``"group-title"``. - subtitle : :class:`Text`, Sequence[str], str + subtitle : str, :class:`Text`, Sequence[str] The subtitle Text. - subtitleColor : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, None, :class:`ExprRef`, Dict[required=[expr]] + subtitleColor : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] Text color for subtitle text. - subtitleFont : :class:`ExprRef`, Dict[required=[expr]], str + subtitleFont : str, dict, :class:`ExprRef` Font name for subtitle text. - subtitleFontSize : :class:`ExprRef`, Dict[required=[expr]], float + subtitleFontSize : dict, float, :class:`ExprRef` Font size in pixels for subtitle text. - subtitleFontStyle : :class:`ExprRef`, Dict[required=[expr]], :class:`FontStyle`, str + subtitleFontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` Font style for subtitle text. - subtitleFontWeight : :class:`ExprRef`, Dict[required=[expr]], :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + subtitleFontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] Font weight for subtitle text. This can be either a string (e.g ``"bold"``, ``"normal"`` ) or a number ( ``100``, ``200``, ``300``, ..., ``900`` where ``"normal"`` = ``400`` and ``"bold"`` = ``700`` ). - subtitleLineHeight : :class:`ExprRef`, Dict[required=[expr]], float + subtitleLineHeight : dict, float, :class:`ExprRef` Line height in pixels for multi-line subtitle text. - subtitlePadding : :class:`ExprRef`, Dict[required=[expr]], float + subtitlePadding : dict, float, :class:`ExprRef` The padding in pixels between title and subtitle text. zindex : float The integer z-index indicating the layering of the title group relative to other @@ -49318,469 +42935,428 @@ class TitleParams(VegaLiteSchema): def __init__( self, text: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], Union["Text", Sequence[str], str] - ], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", Sequence[str], UndefinedType ] = Undefined, align: Union[ - Union["Align", Literal["left", "center", "right"]], UndefinedType + "SchemaBase", Literal["left", "center", "right"], UndefinedType ] = Undefined, anchor: Union[ - Union["TitleAnchor", Literal[None, "start", "middle", "end"]], UndefinedType + "SchemaBase", Literal[None, "start", "middle", "end"], UndefinedType ] = Undefined, angle: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - aria: Union[ - Union[Union["ExprRef", "_Parameter", dict], bool], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + aria: Union[bool, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, baseline: Union[ - Union[ - "TextBaseline", - Union["Baseline", Literal["top", "middle", "bottom"]], - str, - ], - UndefinedType, + str, "SchemaBase", Literal["top", "middle", "bottom"], UndefinedType ] = Undefined, color: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], - ], - UndefinedType, - ] = Undefined, - dx: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - dy: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType - ] = Undefined, - font: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType - ] = Undefined, + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", + ], + UndefinedType, + ] = Undefined, + dx: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, + dy: Union[dict, float, "_Parameter", "SchemaBase", UndefinedType] = Undefined, + font: Union[str, dict, "_Parameter", "SchemaBase", UndefinedType] = Undefined, fontSize: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, fontStyle: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["FontStyle", str]], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, fontWeight: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "FontWeight", - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, frame: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[Union["TitleFrame", Literal["bounds", "group"]], str], - ], + str, + dict, + "_Parameter", + "SchemaBase", + Literal["bounds", "group"], UndefinedType, ] = Undefined, limit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, lineHeight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, offset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, orient: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["TitleOrient", Literal["none", "left", "right", "top", "bottom"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["none", "left", "right", "top", "bottom"], UndefinedType, ] = Undefined, - style: Union[Union[Sequence[str], str], UndefinedType] = Undefined, - subtitle: Union[Union["Text", Sequence[str], str], UndefinedType] = Undefined, + style: Union[str, Sequence[str], UndefinedType] = Undefined, + subtitle: Union[str, "SchemaBase", Sequence[str], UndefinedType] = Undefined, subtitleColor: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - ], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, subtitleFont: Union[ - Union[Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, subtitleFontSize: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, subtitleFontStyle: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["FontStyle", str]], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, subtitleFontWeight: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union[ - "FontWeight", - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - ], + dict, + "_Parameter", + "SchemaBase", + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, subtitleLineHeight: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, subtitlePadding: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, zindex: Union[float, UndefinedType] = Undefined, **kwds, @@ -49821,8 +43397,6 @@ def __init__( class TooltipContent(VegaLiteSchema): """TooltipContent schema wrapper - :class:`TooltipContent`, Dict[required=[content]] - Parameters ---------- @@ -49841,11 +43415,7 @@ def __init__( class TopLevelParameter(VegaLiteSchema): - """TopLevelParameter schema wrapper - - :class:`TopLevelParameter`, :class:`TopLevelSelectionParameter`, Dict[required=[name, - select]], :class:`VariableParameter`, Dict[required=[name]] - """ + """TopLevelParameter schema wrapper""" _schema = {"$ref": "#/definitions/TopLevelParameter"} @@ -49856,17 +43426,15 @@ def __init__(self, *args, **kwds): class TopLevelSelectionParameter(TopLevelParameter): """TopLevelSelectionParameter schema wrapper - :class:`TopLevelSelectionParameter`, Dict[required=[name, select]] - Parameters ---------- - name : :class:`ParameterName`, str + name : str, :class:`ParameterName` Required. A unique name for the selection parameter. Selection names should be valid JavaScript identifiers: they should contain only alphanumeric characters (or "$", or "_") and may not start with a digit. Reserved keywords that may not be used as parameter names are "datum", "event", "item", and "parent". - select : :class:`IntervalSelectionConfig`, Dict[required=[type]], :class:`PointSelectionConfig`, Dict[required=[type]], :class:`SelectionType`, Literal['point', 'interval'] + select : dict, :class:`SelectionType`, Literal['point', 'interval'], :class:`PointSelectionConfig`, :class:`IntervalSelectionConfig` Determines the default event processing and data query for the selection. Vega-Lite currently supports two selection types: @@ -49874,7 +43442,7 @@ class TopLevelSelectionParameter(TopLevelParameter): * ``"point"`` -- to select multiple discrete data values; the first value is selected on ``click`` and additional values toggled on shift-click. * ``"interval"`` -- to select a continuous range of data values on ``drag``. - bind : :class:`BindCheckbox`, Dict[required=[input]], :class:`BindDirect`, Dict[required=[element]], :class:`BindInput`, Dict, :class:`BindRadioSelect`, Dict[required=[input, options]], :class:`BindRange`, Dict[required=[input]], :class:`Binding`, :class:`LegendBinding`, :class:`LegendStreamBinding`, Dict[required=[legend]], str, Dict, str + bind : str, dict, :class:`Binding`, :class:`BindInput`, :class:`BindRange`, :class:`BindDirect`, :class:`BindCheckbox`, :class:`LegendBinding`, :class:`BindRadioSelect`, :class:`LegendStreamBinding` When set, a selection is populated by input elements (also known as dynamic query widgets) or by interacting with the corresponding legend. Direct manipulation interaction is disabled by default; to re-enable it, set the selection's `on @@ -49890,7 +43458,7 @@ class TopLevelSelectionParameter(TopLevelParameter): **See also:** `bind `__ documentation. - value : :class:`DateTime`, Dict, :class:`PrimitiveValue`, None, bool, float, str, :class:`SelectionInit`, :class:`SelectionInitIntervalMapping`, Dict, Sequence[:class:`SelectionInitMapping`, Dict] + value : str, bool, dict, None, float, :class:`DateTime`, :class:`SelectionInit`, :class:`PrimitiveValue`, :class:`SelectionInitIntervalMapping`, Sequence[dict, :class:`SelectionInitMapping`] Initialize the selection with a mapping between `projected channels or field names `__ and initial values. @@ -49907,41 +43475,19 @@ class TopLevelSelectionParameter(TopLevelParameter): def __init__( self, - name: Union[Union["ParameterName", str], UndefinedType] = Undefined, + name: Union[str, "SchemaBase", UndefinedType] = Undefined, select: Union[ - Union[ - Union["IntervalSelectionConfig", dict], - Union["PointSelectionConfig", dict], - Union["SelectionType", Literal["point", "interval"]], - ], - UndefinedType, - ] = Undefined, - bind: Union[ - Union[ - Union[ - "Binding", - Union["BindCheckbox", dict], - Union["BindDirect", dict], - Union["BindInput", dict], - Union["BindRadioSelect", dict], - Union["BindRange", dict], - ], - Union["LegendBinding", Union["LegendStreamBinding", dict], str], - dict, - str, - ], - UndefinedType, + dict, "SchemaBase", Literal["point", "interval"], UndefinedType ] = Undefined, + bind: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, value: Union[ - Union[ - Sequence[Union["SelectionInitMapping", dict]], - Union[ - "SelectionInit", - Union["DateTime", dict], - Union["PrimitiveValue", None, bool, float, str], - ], - Union["SelectionInitIntervalMapping", dict], - ], + str, + bool, + dict, + None, + float, + "SchemaBase", + Sequence[Union[dict, "SchemaBase"]], UndefinedType, ] = Undefined, views: Union[Sequence[str], UndefinedType] = Undefined, @@ -49954,12 +43500,6 @@ def __init__( class TopLevelSpec(VegaLiteSchema): """TopLevelSpec schema wrapper - - :class:`TopLevelConcatSpec`, Dict[required=[concat]], :class:`TopLevelFacetSpec`, - Dict[required=[data, facet, spec]], :class:`TopLevelHConcatSpec`, Dict[required=[hconcat]], - :class:`TopLevelLayerSpec`, Dict[required=[layer]], :class:`TopLevelRepeatSpec`, - Dict[required=[repeat, spec]], :class:`TopLevelSpec`, :class:`TopLevelUnitSpec`, - Dict[required=[data, mark]], :class:`TopLevelVConcatSpec`, Dict[required=[vconcat]] A Vega-Lite top-level specification. This is the root class for all Vega-Lite specifications. (The json schema is generated from this type.) """ @@ -49973,14 +43513,12 @@ def __init__(self, *args, **kwds): class TopLevelConcatSpec(TopLevelSpec): """TopLevelConcatSpec schema wrapper - :class:`TopLevelConcatSpec`, Dict[required=[concat]] - Parameters ---------- - concat : Sequence[:class:`ConcatSpecGenericSpec`, Dict[required=[concat]], :class:`FacetSpec`, Dict[required=[facet, spec]], :class:`FacetedUnitSpec`, Dict[required=[mark]], :class:`HConcatSpecGenericSpec`, Dict[required=[hconcat]], :class:`LayerRepeatSpec`, Dict[required=[repeat, spec]], :class:`NonLayerRepeatSpec`, Dict[required=[repeat, spec]], :class:`RepeatSpec`, :class:`LayerSpec`, Dict[required=[layer]], :class:`NonNormalizedSpec`, :class:`VConcatSpecGenericSpec`, Dict[required=[vconcat]]] + concat : Sequence[dict, :class:`FacetSpec`, :class:`LayerSpec`, :class:`RepeatSpec`, :class:`FacetedUnitSpec`, :class:`LayerRepeatSpec`, :class:`NonNormalizedSpec`, :class:`NonLayerRepeatSpec`, :class:`ConcatSpecGenericSpec`, :class:`HConcatSpecGenericSpec`, :class:`VConcatSpecGenericSpec`] A list of views to be concatenated. - align : :class:`LayoutAlign`, Literal['all', 'each', 'none'], :class:`RowColLayoutAlign`, Dict + align : dict, :class:`LayoutAlign`, :class:`RowColLayoutAlign`, Literal['all', 'each', 'none'] The alignment to apply to grid rows and columns. The supported string values are ``"all"``, ``"each"``, and ``"none"``. @@ -49997,13 +43535,13 @@ class TopLevelConcatSpec(TopLevelSpec): be used to supply different alignments for rows and columns. **Default value:** ``"all"``. - autosize : :class:`AutoSizeParams`, Dict, :class:`AutosizeType`, Literal['pad', 'none', 'fit', 'fit-x', 'fit-y'] + autosize : dict, :class:`AutosizeType`, :class:`AutoSizeParams`, Literal['pad', 'none', 'fit', 'fit-x', 'fit-y'] How the visualization size should be determined. If a string, should be one of ``"pad"``, ``"fit"`` or ``"none"``. Object values can additionally specify parameters for content sizing and automatic resizing. **Default value** : ``pad`` - background : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]] + background : str, dict, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] CSS color property to use as the background of the entire view. **Default value:** ``"white"`` @@ -50019,7 +43557,7 @@ class TopLevelConcatSpec(TopLevelSpec): sub-plots without axes or legends into a uniform grid structure. **Default value:** ``"full"`` - center : :class:`RowColboolean`, Dict, bool + center : bool, dict, :class:`RowColboolean` Boolean flag indicating if subviews should be centered relative to their respective rows or columns. @@ -50045,13 +43583,13 @@ class TopLevelConcatSpec(TopLevelSpec): 2) Setting the ``columns`` to ``1`` is equivalent to ``vconcat`` (for ``concat`` ) and to using the ``row`` channel (for ``facet`` and ``repeat`` ). - config : :class:`Config`, Dict + config : dict, :class:`Config` Vega-Lite configuration object. This property can only be defined at the top-level of a specification. - data : :class:`DataSource`, :class:`InlineData`, Dict[required=[values]], :class:`NamedData`, Dict[required=[name]], :class:`UrlData`, Dict[required=[url]], :class:`Data`, :class:`Generator`, :class:`GraticuleGenerator`, Dict[required=[graticule]], :class:`SequenceGenerator`, Dict[required=[sequence]], :class:`SphereGenerator`, Dict[required=[sphere]], None + data : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` An object describing the data source. Set to ``null`` to ignore the parent's data source. If no data is set, it is derived from the parent. - datasets : :class:`Datasets`, Dict + datasets : dict, :class:`Datasets` A global data store for named datasets. This is a mapping from names to inline datasets. This can be an array of objects or primitive values or a string. Arrays of primitive values are ingested as objects with a ``data`` property. @@ -50059,18 +43597,18 @@ class TopLevelConcatSpec(TopLevelSpec): Description of this mark for commenting purpose. name : str Name of the visualization for later reference. - padding : :class:`ExprRef`, Dict[required=[expr]], :class:`Padding`, Dict, float + padding : dict, float, :class:`ExprRef`, :class:`Padding` The default visualization padding, in pixels, from the edge of the visualization canvas to the data rectangle. If a number, specifies padding for all sides. If an object, the value should have the format ``{"left": 5, "top": 5, "right": 5, "bottom": 5}`` to specify padding for each side of the visualization. **Default value** : ``5`` - params : Sequence[:class:`TopLevelParameter`, :class:`TopLevelSelectionParameter`, Dict[required=[name, select]], :class:`VariableParameter`, Dict[required=[name]]] + params : Sequence[dict, :class:`TopLevelParameter`, :class:`VariableParameter`, :class:`TopLevelSelectionParameter`] Dynamic variables or selections that parameterize a visualization. - resolve : :class:`Resolve`, Dict + resolve : dict, :class:`Resolve` Scale, axis, and legend resolutions for view composition specifications. - spacing : :class:`RowColnumber`, Dict, float + spacing : dict, float, :class:`RowColnumber` The spacing in pixels between sub-views of the composition operator. An object of the form ``{"row": number, "column": number}`` can be used to set different spacing values for rows and columns. @@ -50078,11 +43616,11 @@ class TopLevelConcatSpec(TopLevelSpec): **Default value** : Depends on ``"spacing"`` property of `the view composition configuration `__ ( ``20`` by default) - title : :class:`Text`, Sequence[str], str, :class:`TitleParams`, Dict[required=[text]] + title : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - transform : Sequence[:class:`AggregateTransform`, Dict[required=[aggregate]], :class:`BinTransform`, Dict[required=[bin, field, as]], :class:`CalculateTransform`, Dict[required=[calculate, as]], :class:`DensityTransform`, Dict[required=[density]], :class:`ExtentTransform`, Dict[required=[extent, param]], :class:`FilterTransform`, Dict[required=[filter]], :class:`FlattenTransform`, Dict[required=[flatten]], :class:`FoldTransform`, Dict[required=[fold]], :class:`ImputeTransform`, Dict[required=[impute, key]], :class:`JoinAggregateTransform`, Dict[required=[joinaggregate]], :class:`LoessTransform`, Dict[required=[loess, on]], :class:`LookupTransform`, Dict[required=[lookup, from]], :class:`PivotTransform`, Dict[required=[pivot, value]], :class:`QuantileTransform`, Dict[required=[quantile]], :class:`RegressionTransform`, Dict[required=[regression, on]], :class:`SampleTransform`, Dict[required=[sample]], :class:`StackTransform`, Dict[required=[stack, groupby, as]], :class:`TimeUnitTransform`, Dict[required=[timeUnit, field, as]], :class:`Transform`, :class:`WindowTransform`, Dict[required=[window]]] + transform : Sequence[dict, :class:`Transform`, :class:`BinTransform`, :class:`FoldTransform`, :class:`LoessTransform`, :class:`PivotTransform`, :class:`StackTransform`, :class:`ExtentTransform`, :class:`FilterTransform`, :class:`ImputeTransform`, :class:`LookupTransform`, :class:`SampleTransform`, :class:`WindowTransform`, :class:`DensityTransform`, :class:`FlattenTransform`, :class:`QuantileTransform`, :class:`TimeUnitTransform`, :class:`AggregateTransform`, :class:`CalculateTransform`, :class:`RegressionTransform`, :class:`JoinAggregateTransform`] An array of data transformations such as filter and new field calculation. - usermeta : :class:`Dict`, Dict + usermeta : dict, :class:`Dict` Optional metadata that will be passed to Vega. This object is completely ignored by Vega and Vega-Lite and can be used for custom metadata. $schema : str @@ -50097,283 +43635,192 @@ class TopLevelConcatSpec(TopLevelSpec): def __init__( self, - concat: Union[ - Sequence[ - Union[ - "NonNormalizedSpec", - Union["ConcatSpecGenericSpec", dict], - Union["FacetSpec", dict], - Union["FacetedUnitSpec", dict], - Union["HConcatSpecGenericSpec", dict], - Union["LayerSpec", dict], - Union[ - "RepeatSpec", - Union["LayerRepeatSpec", dict], - Union["NonLayerRepeatSpec", dict], - ], - Union["VConcatSpecGenericSpec", dict], - ] - ], - UndefinedType, - ] = Undefined, + concat: Union[Sequence[Union[dict, "SchemaBase"]], UndefinedType] = Undefined, align: Union[ - Union[ - Union["LayoutAlign", Literal["all", "each", "none"]], - Union["RowColLayoutAlign", dict], - ], - UndefinedType, + dict, "SchemaBase", Literal["all", "each", "none"], UndefinedType ] = Undefined, autosize: Union[ - Union[ - Union["AutoSizeParams", dict], - Union["AutosizeType", Literal["pad", "none", "fit", "fit-x", "fit-y"]], - ], + dict, + "SchemaBase", + Literal["pad", "none", "fit", "fit-x", "fit-y"], UndefinedType, ] = Undefined, background: Union[ - Union[ - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], + str, + dict, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, bounds: Union[Literal["full", "flush"], UndefinedType] = Undefined, - center: Union[ - Union[Union["RowColboolean", dict], bool], UndefinedType - ] = Undefined, + center: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, columns: Union[float, UndefinedType] = Undefined, - config: Union[Union["Config", dict], UndefinedType] = Undefined, - data: Union[ - Union[ - None, - Union[ - "Data", - Union[ - "DataSource", - Union["InlineData", dict], - Union["NamedData", dict], - Union["UrlData", dict], - ], - Union[ - "Generator", - Union["GraticuleGenerator", dict], - Union["SequenceGenerator", dict], - Union["SphereGenerator", dict], - ], - ], - ], - UndefinedType, - ] = Undefined, - datasets: Union[Union["Datasets", dict], UndefinedType] = Undefined, + config: Union[dict, "SchemaBase", UndefinedType] = Undefined, + data: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, + datasets: Union[dict, "SchemaBase", UndefinedType] = Undefined, description: Union[str, UndefinedType] = Undefined, name: Union[str, UndefinedType] = Undefined, padding: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["Padding", dict, float]], - UndefinedType, - ] = Undefined, - params: Union[ - Sequence[ - Union[ - "TopLevelParameter", - Union["TopLevelSelectionParameter", dict], - Union["VariableParameter", dict], - ] - ], - UndefinedType, - ] = Undefined, - resolve: Union[Union["Resolve", dict], UndefinedType] = Undefined, - spacing: Union[ - Union[Union["RowColnumber", dict], float], UndefinedType - ] = Undefined, - title: Union[ - Union[Union["Text", Sequence[str], str], Union["TitleParams", dict]], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + params: Union[Sequence[Union[dict, "SchemaBase"]], UndefinedType] = Undefined, + resolve: Union[dict, "SchemaBase", UndefinedType] = Undefined, + spacing: Union[dict, float, "SchemaBase", UndefinedType] = Undefined, + title: Union[str, dict, "SchemaBase", Sequence[str], UndefinedType] = Undefined, transform: Union[ - Sequence[ - Union[ - "Transform", - Union["AggregateTransform", dict], - Union["BinTransform", dict], - Union["CalculateTransform", dict], - Union["DensityTransform", dict], - Union["ExtentTransform", dict], - Union["FilterTransform", dict], - Union["FlattenTransform", dict], - Union["FoldTransform", dict], - Union["ImputeTransform", dict], - Union["JoinAggregateTransform", dict], - Union["LoessTransform", dict], - Union["LookupTransform", dict], - Union["PivotTransform", dict], - Union["QuantileTransform", dict], - Union["RegressionTransform", dict], - Union["SampleTransform", dict], - Union["StackTransform", dict], - Union["TimeUnitTransform", dict], - Union["WindowTransform", dict], - ] - ], - UndefinedType, + Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, - usermeta: Union[Union["Dict", dict], UndefinedType] = Undefined, + usermeta: Union[dict, "SchemaBase", UndefinedType] = Undefined, **kwds, ): super(TopLevelConcatSpec, self).__init__( @@ -50403,23 +43850,21 @@ def __init__( class TopLevelFacetSpec(TopLevelSpec): """TopLevelFacetSpec schema wrapper - :class:`TopLevelFacetSpec`, Dict[required=[data, facet, spec]] - Parameters ---------- - data : :class:`DataSource`, :class:`InlineData`, Dict[required=[values]], :class:`NamedData`, Dict[required=[name]], :class:`UrlData`, Dict[required=[url]], :class:`Data`, :class:`Generator`, :class:`GraticuleGenerator`, Dict[required=[graticule]], :class:`SequenceGenerator`, Dict[required=[sequence]], :class:`SphereGenerator`, Dict[required=[sphere]], None + data : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` An object describing the data source. Set to ``null`` to ignore the parent's data source. If no data is set, it is derived from the parent. - facet : :class:`FacetFieldDef`, Dict, :class:`FacetMapping`, Dict + facet : dict, :class:`FacetMapping`, :class:`FacetFieldDef` Definition for how to facet the data. One of: 1) `a field definition for faceting the plot by one field `__ 2) `An object that maps row and column channels to their field definitions `__ - spec : :class:`LayerSpec`, Dict[required=[layer]], :class:`UnitSpecWithFrame`, Dict[required=[mark]] + spec : dict, :class:`LayerSpec`, :class:`UnitSpecWithFrame` A specification of the view that gets faceted. - align : :class:`LayoutAlign`, Literal['all', 'each', 'none'], :class:`RowColLayoutAlign`, Dict + align : dict, :class:`LayoutAlign`, :class:`RowColLayoutAlign`, Literal['all', 'each', 'none'] The alignment to apply to grid rows and columns. The supported string values are ``"all"``, ``"each"``, and ``"none"``. @@ -50436,13 +43881,13 @@ class TopLevelFacetSpec(TopLevelSpec): be used to supply different alignments for rows and columns. **Default value:** ``"all"``. - autosize : :class:`AutoSizeParams`, Dict, :class:`AutosizeType`, Literal['pad', 'none', 'fit', 'fit-x', 'fit-y'] + autosize : dict, :class:`AutosizeType`, :class:`AutoSizeParams`, Literal['pad', 'none', 'fit', 'fit-x', 'fit-y'] How the visualization size should be determined. If a string, should be one of ``"pad"``, ``"fit"`` or ``"none"``. Object values can additionally specify parameters for content sizing and automatic resizing. **Default value** : ``pad`` - background : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]] + background : str, dict, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] CSS color property to use as the background of the entire view. **Default value:** ``"white"`` @@ -50458,7 +43903,7 @@ class TopLevelFacetSpec(TopLevelSpec): sub-plots without axes or legends into a uniform grid structure. **Default value:** ``"full"`` - center : :class:`RowColboolean`, Dict, bool + center : bool, dict, :class:`RowColboolean` Boolean flag indicating if subviews should be centered relative to their respective rows or columns. @@ -50484,10 +43929,10 @@ class TopLevelFacetSpec(TopLevelSpec): 2) Setting the ``columns`` to ``1`` is equivalent to ``vconcat`` (for ``concat`` ) and to using the ``row`` channel (for ``facet`` and ``repeat`` ). - config : :class:`Config`, Dict + config : dict, :class:`Config` Vega-Lite configuration object. This property can only be defined at the top-level of a specification. - datasets : :class:`Datasets`, Dict + datasets : dict, :class:`Datasets` A global data store for named datasets. This is a mapping from names to inline datasets. This can be an array of objects or primitive values or a string. Arrays of primitive values are ingested as objects with a ``data`` property. @@ -50495,18 +43940,18 @@ class TopLevelFacetSpec(TopLevelSpec): Description of this mark for commenting purpose. name : str Name of the visualization for later reference. - padding : :class:`ExprRef`, Dict[required=[expr]], :class:`Padding`, Dict, float + padding : dict, float, :class:`ExprRef`, :class:`Padding` The default visualization padding, in pixels, from the edge of the visualization canvas to the data rectangle. If a number, specifies padding for all sides. If an object, the value should have the format ``{"left": 5, "top": 5, "right": 5, "bottom": 5}`` to specify padding for each side of the visualization. **Default value** : ``5`` - params : Sequence[:class:`TopLevelParameter`, :class:`TopLevelSelectionParameter`, Dict[required=[name, select]], :class:`VariableParameter`, Dict[required=[name]]] + params : Sequence[dict, :class:`TopLevelParameter`, :class:`VariableParameter`, :class:`TopLevelSelectionParameter`] Dynamic variables or selections that parameterize a visualization. - resolve : :class:`Resolve`, Dict + resolve : dict, :class:`Resolve` Scale, axis, and legend resolutions for view composition specifications. - spacing : :class:`RowColnumber`, Dict, float + spacing : dict, float, :class:`RowColnumber` The spacing in pixels between sub-views of the composition operator. An object of the form ``{"row": number, "column": number}`` can be used to set different spacing values for rows and columns. @@ -50514,11 +43959,11 @@ class TopLevelFacetSpec(TopLevelSpec): **Default value** : Depends on ``"spacing"`` property of `the view composition configuration `__ ( ``20`` by default) - title : :class:`Text`, Sequence[str], str, :class:`TitleParams`, Dict[required=[text]] + title : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - transform : Sequence[:class:`AggregateTransform`, Dict[required=[aggregate]], :class:`BinTransform`, Dict[required=[bin, field, as]], :class:`CalculateTransform`, Dict[required=[calculate, as]], :class:`DensityTransform`, Dict[required=[density]], :class:`ExtentTransform`, Dict[required=[extent, param]], :class:`FilterTransform`, Dict[required=[filter]], :class:`FlattenTransform`, Dict[required=[flatten]], :class:`FoldTransform`, Dict[required=[fold]], :class:`ImputeTransform`, Dict[required=[impute, key]], :class:`JoinAggregateTransform`, Dict[required=[joinaggregate]], :class:`LoessTransform`, Dict[required=[loess, on]], :class:`LookupTransform`, Dict[required=[lookup, from]], :class:`PivotTransform`, Dict[required=[pivot, value]], :class:`QuantileTransform`, Dict[required=[quantile]], :class:`RegressionTransform`, Dict[required=[regression, on]], :class:`SampleTransform`, Dict[required=[sample]], :class:`StackTransform`, Dict[required=[stack, groupby, as]], :class:`TimeUnitTransform`, Dict[required=[timeUnit, field, as]], :class:`Transform`, :class:`WindowTransform`, Dict[required=[window]]] + transform : Sequence[dict, :class:`Transform`, :class:`BinTransform`, :class:`FoldTransform`, :class:`LoessTransform`, :class:`PivotTransform`, :class:`StackTransform`, :class:`ExtentTransform`, :class:`FilterTransform`, :class:`ImputeTransform`, :class:`LookupTransform`, :class:`SampleTransform`, :class:`WindowTransform`, :class:`DensityTransform`, :class:`FlattenTransform`, :class:`QuantileTransform`, :class:`TimeUnitTransform`, :class:`AggregateTransform`, :class:`CalculateTransform`, :class:`RegressionTransform`, :class:`JoinAggregateTransform`] An array of data transformations such as filter and new field calculation. - usermeta : :class:`Dict`, Dict + usermeta : dict, :class:`Dict` Optional metadata that will be passed to Vega. This object is completely ignored by Vega and Vega-Lite and can be used for custom metadata. $schema : str @@ -50533,272 +43978,193 @@ class TopLevelFacetSpec(TopLevelSpec): def __init__( self, - data: Union[ - Union[ - None, - Union[ - "Data", - Union[ - "DataSource", - Union["InlineData", dict], - Union["NamedData", dict], - Union["UrlData", dict], - ], - Union[ - "Generator", - Union["GraticuleGenerator", dict], - Union["SequenceGenerator", dict], - Union["SphereGenerator", dict], - ], - ], - ], - UndefinedType, - ] = Undefined, - facet: Union[ - Union[Union["FacetFieldDef", dict], Union["FacetMapping", dict]], - UndefinedType, - ] = Undefined, - spec: Union[ - Union[Union["LayerSpec", dict], Union["UnitSpecWithFrame", dict]], - UndefinedType, - ] = Undefined, + data: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, + facet: Union[dict, "SchemaBase", UndefinedType] = Undefined, + spec: Union[dict, "SchemaBase", UndefinedType] = Undefined, align: Union[ - Union[ - Union["LayoutAlign", Literal["all", "each", "none"]], - Union["RowColLayoutAlign", dict], - ], - UndefinedType, + dict, "SchemaBase", Literal["all", "each", "none"], UndefinedType ] = Undefined, autosize: Union[ - Union[ - Union["AutoSizeParams", dict], - Union["AutosizeType", Literal["pad", "none", "fit", "fit-x", "fit-y"]], - ], + dict, + "SchemaBase", + Literal["pad", "none", "fit", "fit-x", "fit-y"], UndefinedType, ] = Undefined, background: Union[ - Union[ - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], + str, + dict, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, bounds: Union[Literal["full", "flush"], UndefinedType] = Undefined, - center: Union[ - Union[Union["RowColboolean", dict], bool], UndefinedType - ] = Undefined, + center: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, columns: Union[float, UndefinedType] = Undefined, - config: Union[Union["Config", dict], UndefinedType] = Undefined, - datasets: Union[Union["Datasets", dict], UndefinedType] = Undefined, + config: Union[dict, "SchemaBase", UndefinedType] = Undefined, + datasets: Union[dict, "SchemaBase", UndefinedType] = Undefined, description: Union[str, UndefinedType] = Undefined, name: Union[str, UndefinedType] = Undefined, padding: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["Padding", dict, float]], - UndefinedType, - ] = Undefined, - params: Union[ - Sequence[ - Union[ - "TopLevelParameter", - Union["TopLevelSelectionParameter", dict], - Union["VariableParameter", dict], - ] - ], - UndefinedType, - ] = Undefined, - resolve: Union[Union["Resolve", dict], UndefinedType] = Undefined, - spacing: Union[ - Union[Union["RowColnumber", dict], float], UndefinedType - ] = Undefined, - title: Union[ - Union[Union["Text", Sequence[str], str], Union["TitleParams", dict]], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + params: Union[Sequence[Union[dict, "SchemaBase"]], UndefinedType] = Undefined, + resolve: Union[dict, "SchemaBase", UndefinedType] = Undefined, + spacing: Union[dict, float, "SchemaBase", UndefinedType] = Undefined, + title: Union[str, dict, "SchemaBase", Sequence[str], UndefinedType] = Undefined, transform: Union[ - Sequence[ - Union[ - "Transform", - Union["AggregateTransform", dict], - Union["BinTransform", dict], - Union["CalculateTransform", dict], - Union["DensityTransform", dict], - Union["ExtentTransform", dict], - Union["FilterTransform", dict], - Union["FlattenTransform", dict], - Union["FoldTransform", dict], - Union["ImputeTransform", dict], - Union["JoinAggregateTransform", dict], - Union["LoessTransform", dict], - Union["LookupTransform", dict], - Union["PivotTransform", dict], - Union["QuantileTransform", dict], - Union["RegressionTransform", dict], - Union["SampleTransform", dict], - Union["StackTransform", dict], - Union["TimeUnitTransform", dict], - Union["WindowTransform", dict], - ] - ], - UndefinedType, + Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, - usermeta: Union[Union["Dict", dict], UndefinedType] = Undefined, + usermeta: Union[dict, "SchemaBase", UndefinedType] = Undefined, **kwds, ): super(TopLevelFacetSpec, self).__init__( @@ -50829,20 +44195,18 @@ def __init__( class TopLevelHConcatSpec(TopLevelSpec): """TopLevelHConcatSpec schema wrapper - :class:`TopLevelHConcatSpec`, Dict[required=[hconcat]] - Parameters ---------- - hconcat : Sequence[:class:`ConcatSpecGenericSpec`, Dict[required=[concat]], :class:`FacetSpec`, Dict[required=[facet, spec]], :class:`FacetedUnitSpec`, Dict[required=[mark]], :class:`HConcatSpecGenericSpec`, Dict[required=[hconcat]], :class:`LayerRepeatSpec`, Dict[required=[repeat, spec]], :class:`NonLayerRepeatSpec`, Dict[required=[repeat, spec]], :class:`RepeatSpec`, :class:`LayerSpec`, Dict[required=[layer]], :class:`NonNormalizedSpec`, :class:`VConcatSpecGenericSpec`, Dict[required=[vconcat]]] + hconcat : Sequence[dict, :class:`FacetSpec`, :class:`LayerSpec`, :class:`RepeatSpec`, :class:`FacetedUnitSpec`, :class:`LayerRepeatSpec`, :class:`NonNormalizedSpec`, :class:`NonLayerRepeatSpec`, :class:`ConcatSpecGenericSpec`, :class:`HConcatSpecGenericSpec`, :class:`VConcatSpecGenericSpec`] A list of views to be concatenated and put into a row. - autosize : :class:`AutoSizeParams`, Dict, :class:`AutosizeType`, Literal['pad', 'none', 'fit', 'fit-x', 'fit-y'] + autosize : dict, :class:`AutosizeType`, :class:`AutoSizeParams`, Literal['pad', 'none', 'fit', 'fit-x', 'fit-y'] How the visualization size should be determined. If a string, should be one of ``"pad"``, ``"fit"`` or ``"none"``. Object values can additionally specify parameters for content sizing and automatic resizing. **Default value** : ``pad`` - background : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]] + background : str, dict, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] CSS color property to use as the background of the entire view. **Default value:** ``"white"`` @@ -50863,13 +44227,13 @@ class TopLevelHConcatSpec(TopLevelSpec): rows or columns. **Default value:** ``false`` - config : :class:`Config`, Dict + config : dict, :class:`Config` Vega-Lite configuration object. This property can only be defined at the top-level of a specification. - data : :class:`DataSource`, :class:`InlineData`, Dict[required=[values]], :class:`NamedData`, Dict[required=[name]], :class:`UrlData`, Dict[required=[url]], :class:`Data`, :class:`Generator`, :class:`GraticuleGenerator`, Dict[required=[graticule]], :class:`SequenceGenerator`, Dict[required=[sequence]], :class:`SphereGenerator`, Dict[required=[sphere]], None + data : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` An object describing the data source. Set to ``null`` to ignore the parent's data source. If no data is set, it is derived from the parent. - datasets : :class:`Datasets`, Dict + datasets : dict, :class:`Datasets` A global data store for named datasets. This is a mapping from names to inline datasets. This can be an array of objects or primitive values or a string. Arrays of primitive values are ingested as objects with a ``data`` property. @@ -50877,26 +44241,26 @@ class TopLevelHConcatSpec(TopLevelSpec): Description of this mark for commenting purpose. name : str Name of the visualization for later reference. - padding : :class:`ExprRef`, Dict[required=[expr]], :class:`Padding`, Dict, float + padding : dict, float, :class:`ExprRef`, :class:`Padding` The default visualization padding, in pixels, from the edge of the visualization canvas to the data rectangle. If a number, specifies padding for all sides. If an object, the value should have the format ``{"left": 5, "top": 5, "right": 5, "bottom": 5}`` to specify padding for each side of the visualization. **Default value** : ``5`` - params : Sequence[:class:`TopLevelParameter`, :class:`TopLevelSelectionParameter`, Dict[required=[name, select]], :class:`VariableParameter`, Dict[required=[name]]] + params : Sequence[dict, :class:`TopLevelParameter`, :class:`VariableParameter`, :class:`TopLevelSelectionParameter`] Dynamic variables or selections that parameterize a visualization. - resolve : :class:`Resolve`, Dict + resolve : dict, :class:`Resolve` Scale, axis, and legend resolutions for view composition specifications. spacing : float The spacing in pixels between sub-views of the concat operator. **Default value** : ``10`` - title : :class:`Text`, Sequence[str], str, :class:`TitleParams`, Dict[required=[text]] + title : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - transform : Sequence[:class:`AggregateTransform`, Dict[required=[aggregate]], :class:`BinTransform`, Dict[required=[bin, field, as]], :class:`CalculateTransform`, Dict[required=[calculate, as]], :class:`DensityTransform`, Dict[required=[density]], :class:`ExtentTransform`, Dict[required=[extent, param]], :class:`FilterTransform`, Dict[required=[filter]], :class:`FlattenTransform`, Dict[required=[flatten]], :class:`FoldTransform`, Dict[required=[fold]], :class:`ImputeTransform`, Dict[required=[impute, key]], :class:`JoinAggregateTransform`, Dict[required=[joinaggregate]], :class:`LoessTransform`, Dict[required=[loess, on]], :class:`LookupTransform`, Dict[required=[lookup, from]], :class:`PivotTransform`, Dict[required=[pivot, value]], :class:`QuantileTransform`, Dict[required=[quantile]], :class:`RegressionTransform`, Dict[required=[regression, on]], :class:`SampleTransform`, Dict[required=[sample]], :class:`StackTransform`, Dict[required=[stack, groupby, as]], :class:`TimeUnitTransform`, Dict[required=[timeUnit, field, as]], :class:`Transform`, :class:`WindowTransform`, Dict[required=[window]]] + transform : Sequence[dict, :class:`Transform`, :class:`BinTransform`, :class:`FoldTransform`, :class:`LoessTransform`, :class:`PivotTransform`, :class:`StackTransform`, :class:`ExtentTransform`, :class:`FilterTransform`, :class:`ImputeTransform`, :class:`LookupTransform`, :class:`SampleTransform`, :class:`WindowTransform`, :class:`DensityTransform`, :class:`FlattenTransform`, :class:`QuantileTransform`, :class:`TimeUnitTransform`, :class:`AggregateTransform`, :class:`CalculateTransform`, :class:`RegressionTransform`, :class:`JoinAggregateTransform`] An array of data transformations such as filter and new field calculation. - usermeta : :class:`Dict`, Dict + usermeta : dict, :class:`Dict` Optional metadata that will be passed to Vega. This object is completely ignored by Vega and Vega-Lite and can be used for custom metadata. $schema : str @@ -50911,271 +44275,188 @@ class TopLevelHConcatSpec(TopLevelSpec): def __init__( self, - hconcat: Union[ - Sequence[ - Union[ - "NonNormalizedSpec", - Union["ConcatSpecGenericSpec", dict], - Union["FacetSpec", dict], - Union["FacetedUnitSpec", dict], - Union["HConcatSpecGenericSpec", dict], - Union["LayerSpec", dict], - Union[ - "RepeatSpec", - Union["LayerRepeatSpec", dict], - Union["NonLayerRepeatSpec", dict], - ], - Union["VConcatSpecGenericSpec", dict], - ] - ], - UndefinedType, - ] = Undefined, + hconcat: Union[Sequence[Union[dict, "SchemaBase"]], UndefinedType] = Undefined, autosize: Union[ - Union[ - Union["AutoSizeParams", dict], - Union["AutosizeType", Literal["pad", "none", "fit", "fit-x", "fit-y"]], - ], + dict, + "SchemaBase", + Literal["pad", "none", "fit", "fit-x", "fit-y"], UndefinedType, ] = Undefined, background: Union[ - Union[ - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], + str, + dict, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, bounds: Union[Literal["full", "flush"], UndefinedType] = Undefined, center: Union[bool, UndefinedType] = Undefined, - config: Union[Union["Config", dict], UndefinedType] = Undefined, - data: Union[ - Union[ - None, - Union[ - "Data", - Union[ - "DataSource", - Union["InlineData", dict], - Union["NamedData", dict], - Union["UrlData", dict], - ], - Union[ - "Generator", - Union["GraticuleGenerator", dict], - Union["SequenceGenerator", dict], - Union["SphereGenerator", dict], - ], - ], - ], - UndefinedType, - ] = Undefined, - datasets: Union[Union["Datasets", dict], UndefinedType] = Undefined, + config: Union[dict, "SchemaBase", UndefinedType] = Undefined, + data: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, + datasets: Union[dict, "SchemaBase", UndefinedType] = Undefined, description: Union[str, UndefinedType] = Undefined, name: Union[str, UndefinedType] = Undefined, padding: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["Padding", dict, float]], - UndefinedType, - ] = Undefined, - params: Union[ - Sequence[ - Union[ - "TopLevelParameter", - Union["TopLevelSelectionParameter", dict], - Union["VariableParameter", dict], - ] - ], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, - resolve: Union[Union["Resolve", dict], UndefinedType] = Undefined, + params: Union[Sequence[Union[dict, "SchemaBase"]], UndefinedType] = Undefined, + resolve: Union[dict, "SchemaBase", UndefinedType] = Undefined, spacing: Union[float, UndefinedType] = Undefined, - title: Union[ - Union[Union["Text", Sequence[str], str], Union["TitleParams", dict]], - UndefinedType, - ] = Undefined, + title: Union[str, dict, "SchemaBase", Sequence[str], UndefinedType] = Undefined, transform: Union[ - Sequence[ - Union[ - "Transform", - Union["AggregateTransform", dict], - Union["BinTransform", dict], - Union["CalculateTransform", dict], - Union["DensityTransform", dict], - Union["ExtentTransform", dict], - Union["FilterTransform", dict], - Union["FlattenTransform", dict], - Union["FoldTransform", dict], - Union["ImputeTransform", dict], - Union["JoinAggregateTransform", dict], - Union["LoessTransform", dict], - Union["LookupTransform", dict], - Union["PivotTransform", dict], - Union["QuantileTransform", dict], - Union["RegressionTransform", dict], - Union["SampleTransform", dict], - Union["StackTransform", dict], - Union["TimeUnitTransform", dict], - Union["WindowTransform", dict], - ] - ], - UndefinedType, + Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, - usermeta: Union[Union["Dict", dict], UndefinedType] = Undefined, + usermeta: Union[dict, "SchemaBase", UndefinedType] = Undefined, **kwds, ): super(TopLevelHConcatSpec, self).__init__( @@ -51203,44 +44484,42 @@ def __init__( class TopLevelLayerSpec(TopLevelSpec): """TopLevelLayerSpec schema wrapper - :class:`TopLevelLayerSpec`, Dict[required=[layer]] - Parameters ---------- - layer : Sequence[:class:`LayerSpec`, Dict[required=[layer]], :class:`UnitSpec`, Dict[required=[mark]]] + layer : Sequence[dict, :class:`UnitSpec`, :class:`LayerSpec`] Layer or single view specifications to be layered. **Note** : Specifications inside ``layer`` cannot use ``row`` and ``column`` channels as layering facet specifications is not allowed. Instead, use the `facet operator `__ and place a layer inside a facet. - autosize : :class:`AutoSizeParams`, Dict, :class:`AutosizeType`, Literal['pad', 'none', 'fit', 'fit-x', 'fit-y'] + autosize : dict, :class:`AutosizeType`, :class:`AutoSizeParams`, Literal['pad', 'none', 'fit', 'fit-x', 'fit-y'] How the visualization size should be determined. If a string, should be one of ``"pad"``, ``"fit"`` or ``"none"``. Object values can additionally specify parameters for content sizing and automatic resizing. **Default value** : ``pad`` - background : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]] + background : str, dict, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] CSS color property to use as the background of the entire view. **Default value:** ``"white"`` - config : :class:`Config`, Dict + config : dict, :class:`Config` Vega-Lite configuration object. This property can only be defined at the top-level of a specification. - data : :class:`DataSource`, :class:`InlineData`, Dict[required=[values]], :class:`NamedData`, Dict[required=[name]], :class:`UrlData`, Dict[required=[url]], :class:`Data`, :class:`Generator`, :class:`GraticuleGenerator`, Dict[required=[graticule]], :class:`SequenceGenerator`, Dict[required=[sequence]], :class:`SphereGenerator`, Dict[required=[sphere]], None + data : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` An object describing the data source. Set to ``null`` to ignore the parent's data source. If no data is set, it is derived from the parent. - datasets : :class:`Datasets`, Dict + datasets : dict, :class:`Datasets` A global data store for named datasets. This is a mapping from names to inline datasets. This can be an array of objects or primitive values or a string. Arrays of primitive values are ingested as objects with a ``data`` property. description : str Description of this mark for commenting purpose. - encoding : :class:`SharedEncoding`, Dict + encoding : dict, :class:`SharedEncoding` A shared key-value mapping between encoding channels and definition of fields in the underlying layers. - height : :class:`Step`, Dict[required=[step]], float, str + height : str, dict, float, :class:`Step` The height of a visualization. @@ -51262,32 +44541,32 @@ class TopLevelLayerSpec(TopLevelSpec): documentation. name : str Name of the visualization for later reference. - padding : :class:`ExprRef`, Dict[required=[expr]], :class:`Padding`, Dict, float + padding : dict, float, :class:`ExprRef`, :class:`Padding` The default visualization padding, in pixels, from the edge of the visualization canvas to the data rectangle. If a number, specifies padding for all sides. If an object, the value should have the format ``{"left": 5, "top": 5, "right": 5, "bottom": 5}`` to specify padding for each side of the visualization. **Default value** : ``5`` - params : Sequence[:class:`TopLevelParameter`, :class:`TopLevelSelectionParameter`, Dict[required=[name, select]], :class:`VariableParameter`, Dict[required=[name]]] + params : Sequence[dict, :class:`TopLevelParameter`, :class:`VariableParameter`, :class:`TopLevelSelectionParameter`] Dynamic variables or selections that parameterize a visualization. - projection : :class:`Projection`, Dict + projection : dict, :class:`Projection` An object defining properties of the geographic projection shared by underlying layers. - resolve : :class:`Resolve`, Dict + resolve : dict, :class:`Resolve` Scale, axis, and legend resolutions for view composition specifications. - title : :class:`Text`, Sequence[str], str, :class:`TitleParams`, Dict[required=[text]] + title : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - transform : Sequence[:class:`AggregateTransform`, Dict[required=[aggregate]], :class:`BinTransform`, Dict[required=[bin, field, as]], :class:`CalculateTransform`, Dict[required=[calculate, as]], :class:`DensityTransform`, Dict[required=[density]], :class:`ExtentTransform`, Dict[required=[extent, param]], :class:`FilterTransform`, Dict[required=[filter]], :class:`FlattenTransform`, Dict[required=[flatten]], :class:`FoldTransform`, Dict[required=[fold]], :class:`ImputeTransform`, Dict[required=[impute, key]], :class:`JoinAggregateTransform`, Dict[required=[joinaggregate]], :class:`LoessTransform`, Dict[required=[loess, on]], :class:`LookupTransform`, Dict[required=[lookup, from]], :class:`PivotTransform`, Dict[required=[pivot, value]], :class:`QuantileTransform`, Dict[required=[quantile]], :class:`RegressionTransform`, Dict[required=[regression, on]], :class:`SampleTransform`, Dict[required=[sample]], :class:`StackTransform`, Dict[required=[stack, groupby, as]], :class:`TimeUnitTransform`, Dict[required=[timeUnit, field, as]], :class:`Transform`, :class:`WindowTransform`, Dict[required=[window]]] + transform : Sequence[dict, :class:`Transform`, :class:`BinTransform`, :class:`FoldTransform`, :class:`LoessTransform`, :class:`PivotTransform`, :class:`StackTransform`, :class:`ExtentTransform`, :class:`FilterTransform`, :class:`ImputeTransform`, :class:`LookupTransform`, :class:`SampleTransform`, :class:`WindowTransform`, :class:`DensityTransform`, :class:`FlattenTransform`, :class:`QuantileTransform`, :class:`TimeUnitTransform`, :class:`AggregateTransform`, :class:`CalculateTransform`, :class:`RegressionTransform`, :class:`JoinAggregateTransform`] An array of data transformations such as filter and new field calculation. - usermeta : :class:`Dict`, Dict + usermeta : dict, :class:`Dict` Optional metadata that will be passed to Vega. This object is completely ignored by Vega and Vega-Lite and can be used for custom metadata. - view : :class:`ViewBackground`, Dict + view : dict, :class:`ViewBackground` An object defining the view background's fill and stroke. **Default value:** none (transparent) - width : :class:`Step`, Dict[required=[step]], float, str + width : str, dict, float, :class:`Step` The width of a visualization. @@ -51319,260 +44598,190 @@ class TopLevelLayerSpec(TopLevelSpec): def __init__( self, - layer: Union[ - Sequence[Union[Union["LayerSpec", dict], Union["UnitSpec", dict]]], - UndefinedType, - ] = Undefined, + layer: Union[Sequence[Union[dict, "SchemaBase"]], UndefinedType] = Undefined, autosize: Union[ - Union[ - Union["AutoSizeParams", dict], - Union["AutosizeType", Literal["pad", "none", "fit", "fit-x", "fit-y"]], - ], + dict, + "SchemaBase", + Literal["pad", "none", "fit", "fit-x", "fit-y"], UndefinedType, ] = Undefined, background: Union[ - Union[ - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], - ], - UndefinedType, - ] = Undefined, - config: Union[Union["Config", dict], UndefinedType] = Undefined, - data: Union[ - Union[ - None, - Union[ - "Data", - Union[ - "DataSource", - Union["InlineData", dict], - Union["NamedData", dict], - Union["UrlData", dict], - ], - Union[ - "Generator", - Union["GraticuleGenerator", dict], - Union["SequenceGenerator", dict], - Union["SphereGenerator", dict], - ], - ], - ], - UndefinedType, - ] = Undefined, - datasets: Union[Union["Datasets", dict], UndefinedType] = Undefined, + str, + dict, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", + ], + UndefinedType, + ] = Undefined, + config: Union[dict, "SchemaBase", UndefinedType] = Undefined, + data: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, + datasets: Union[dict, "SchemaBase", UndefinedType] = Undefined, description: Union[str, UndefinedType] = Undefined, - encoding: Union[Union["SharedEncoding", dict], UndefinedType] = Undefined, - height: Union[ - Union[Union["Step", dict], float, str], UndefinedType - ] = Undefined, + encoding: Union[dict, "SchemaBase", UndefinedType] = Undefined, + height: Union[str, dict, float, "SchemaBase", UndefinedType] = Undefined, name: Union[str, UndefinedType] = Undefined, padding: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["Padding", dict, float]], - UndefinedType, - ] = Undefined, - params: Union[ - Sequence[ - Union[ - "TopLevelParameter", - Union["TopLevelSelectionParameter", dict], - Union["VariableParameter", dict], - ] - ], - UndefinedType, - ] = Undefined, - projection: Union[Union["Projection", dict], UndefinedType] = Undefined, - resolve: Union[Union["Resolve", dict], UndefinedType] = Undefined, - title: Union[ - Union[Union["Text", Sequence[str], str], Union["TitleParams", dict]], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + params: Union[Sequence[Union[dict, "SchemaBase"]], UndefinedType] = Undefined, + projection: Union[dict, "SchemaBase", UndefinedType] = Undefined, + resolve: Union[dict, "SchemaBase", UndefinedType] = Undefined, + title: Union[str, dict, "SchemaBase", Sequence[str], UndefinedType] = Undefined, transform: Union[ - Sequence[ - Union[ - "Transform", - Union["AggregateTransform", dict], - Union["BinTransform", dict], - Union["CalculateTransform", dict], - Union["DensityTransform", dict], - Union["ExtentTransform", dict], - Union["FilterTransform", dict], - Union["FlattenTransform", dict], - Union["FoldTransform", dict], - Union["ImputeTransform", dict], - Union["JoinAggregateTransform", dict], - Union["LoessTransform", dict], - Union["LookupTransform", dict], - Union["PivotTransform", dict], - Union["QuantileTransform", dict], - Union["RegressionTransform", dict], - Union["SampleTransform", dict], - Union["StackTransform", dict], - Union["TimeUnitTransform", dict], - Union["WindowTransform", dict], - ] - ], - UndefinedType, + Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, - usermeta: Union[Union["Dict", dict], UndefinedType] = Undefined, - view: Union[Union["ViewBackground", dict], UndefinedType] = Undefined, - width: Union[Union[Union["Step", dict], float, str], UndefinedType] = Undefined, + usermeta: Union[dict, "SchemaBase", UndefinedType] = Undefined, + view: Union[dict, "SchemaBase", UndefinedType] = Undefined, + width: Union[str, dict, float, "SchemaBase", UndefinedType] = Undefined, **kwds, ): super(TopLevelLayerSpec, self).__init__( @@ -51600,10 +44809,7 @@ def __init__( class TopLevelRepeatSpec(TopLevelSpec): - """TopLevelRepeatSpec schema wrapper - - :class:`TopLevelRepeatSpec`, Dict[required=[repeat, spec]] - """ + """TopLevelRepeatSpec schema wrapper""" _schema = {"$ref": "#/definitions/TopLevelRepeatSpec"} @@ -51614,20 +44820,18 @@ def __init__(self, *args, **kwds): class TopLevelUnitSpec(TopLevelSpec): """TopLevelUnitSpec schema wrapper - :class:`TopLevelUnitSpec`, Dict[required=[data, mark]] - Parameters ---------- - data : :class:`DataSource`, :class:`InlineData`, Dict[required=[values]], :class:`NamedData`, Dict[required=[name]], :class:`UrlData`, Dict[required=[url]], :class:`Data`, :class:`Generator`, :class:`GraticuleGenerator`, Dict[required=[graticule]], :class:`SequenceGenerator`, Dict[required=[sequence]], :class:`SphereGenerator`, Dict[required=[sphere]], None + data : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` An object describing the data source. Set to ``null`` to ignore the parent's data source. If no data is set, it is derived from the parent. - mark : :class:`AnyMark`, :class:`BoxPlotDef`, Dict[required=[type]], :class:`CompositeMarkDef`, :class:`ErrorBandDef`, Dict[required=[type]], :class:`ErrorBarDef`, Dict[required=[type]], :class:`BoxPlot`, str, :class:`CompositeMark`, :class:`ErrorBand`, str, :class:`ErrorBar`, str, :class:`MarkDef`, Dict[required=[type]], :class:`Mark`, Literal['arc', 'area', 'bar', 'image', 'line', 'point', 'rect', 'rule', 'text', 'tick', 'trail', 'circle', 'square', 'geoshape'] + mark : str, dict, :class:`Mark`, :class:`AnyMark`, :class:`BoxPlot`, :class:`MarkDef`, :class:`ErrorBar`, :class:`ErrorBand`, :class:`BoxPlotDef`, :class:`ErrorBarDef`, :class:`ErrorBandDef`, :class:`CompositeMark`, :class:`CompositeMarkDef`, Literal['arc', 'area', 'bar', 'image', 'line', 'point', 'rect', 'rule', 'text', 'tick', 'trail', 'circle', 'square', 'geoshape'] A string describing the mark type (one of ``"bar"``, ``"circle"``, ``"square"``, ``"tick"``, ``"line"``, ``"area"``, ``"point"``, ``"rule"``, ``"geoshape"``, and ``"text"`` ) or a `mark definition object `__. - align : :class:`LayoutAlign`, Literal['all', 'each', 'none'], :class:`RowColLayoutAlign`, Dict + align : dict, :class:`LayoutAlign`, :class:`RowColLayoutAlign`, Literal['all', 'each', 'none'] The alignment to apply to grid rows and columns. The supported string values are ``"all"``, ``"each"``, and ``"none"``. @@ -51644,13 +44848,13 @@ class TopLevelUnitSpec(TopLevelSpec): be used to supply different alignments for rows and columns. **Default value:** ``"all"``. - autosize : :class:`AutoSizeParams`, Dict, :class:`AutosizeType`, Literal['pad', 'none', 'fit', 'fit-x', 'fit-y'] + autosize : dict, :class:`AutosizeType`, :class:`AutoSizeParams`, Literal['pad', 'none', 'fit', 'fit-x', 'fit-y'] How the visualization size should be determined. If a string, should be one of ``"pad"``, ``"fit"`` or ``"none"``. Object values can additionally specify parameters for content sizing and automatic resizing. **Default value** : ``pad`` - background : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]] + background : str, dict, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] CSS color property to use as the background of the entire view. **Default value:** ``"white"`` @@ -51666,7 +44870,7 @@ class TopLevelUnitSpec(TopLevelSpec): sub-plots without axes or legends into a uniform grid structure. **Default value:** ``"full"`` - center : :class:`RowColboolean`, Dict, bool + center : bool, dict, :class:`RowColboolean` Boolean flag indicating if subviews should be centered relative to their respective rows or columns. @@ -51674,18 +44878,18 @@ class TopLevelUnitSpec(TopLevelSpec): supply different centering values for rows and columns. **Default value:** ``false`` - config : :class:`Config`, Dict + config : dict, :class:`Config` Vega-Lite configuration object. This property can only be defined at the top-level of a specification. - datasets : :class:`Datasets`, Dict + datasets : dict, :class:`Datasets` A global data store for named datasets. This is a mapping from names to inline datasets. This can be an array of objects or primitive values or a string. Arrays of primitive values are ingested as objects with a ``data`` property. description : str Description of this mark for commenting purpose. - encoding : :class:`FacetedEncoding`, Dict + encoding : dict, :class:`FacetedEncoding` A key-value mapping between encoding channels and definition of fields. - height : :class:`Step`, Dict[required=[step]], float, str + height : str, dict, float, :class:`Step` The height of a visualization. @@ -51707,23 +44911,23 @@ class TopLevelUnitSpec(TopLevelSpec): documentation. name : str Name of the visualization for later reference. - padding : :class:`ExprRef`, Dict[required=[expr]], :class:`Padding`, Dict, float + padding : dict, float, :class:`ExprRef`, :class:`Padding` The default visualization padding, in pixels, from the edge of the visualization canvas to the data rectangle. If a number, specifies padding for all sides. If an object, the value should have the format ``{"left": 5, "top": 5, "right": 5, "bottom": 5}`` to specify padding for each side of the visualization. **Default value** : ``5`` - params : Sequence[:class:`TopLevelParameter`, :class:`TopLevelSelectionParameter`, Dict[required=[name, select]], :class:`VariableParameter`, Dict[required=[name]]] + params : Sequence[dict, :class:`TopLevelParameter`, :class:`VariableParameter`, :class:`TopLevelSelectionParameter`] An array of parameters that may either be simple variables, or more complex selections that map user input to data queries. - projection : :class:`Projection`, Dict + projection : dict, :class:`Projection` An object defining properties of geographic projection, which will be applied to ``shape`` path for ``"geoshape"`` marks and to ``latitude`` and ``"longitude"`` channels for other marks. - resolve : :class:`Resolve`, Dict + resolve : dict, :class:`Resolve` Scale, axis, and legend resolutions for view composition specifications. - spacing : :class:`RowColnumber`, Dict, float + spacing : dict, float, :class:`RowColnumber` The spacing in pixels between sub-views of the composition operator. An object of the form ``{"row": number, "column": number}`` can be used to set different spacing values for rows and columns. @@ -51731,18 +44935,18 @@ class TopLevelUnitSpec(TopLevelSpec): **Default value** : Depends on ``"spacing"`` property of `the view composition configuration `__ ( ``20`` by default) - title : :class:`Text`, Sequence[str], str, :class:`TitleParams`, Dict[required=[text]] + title : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - transform : Sequence[:class:`AggregateTransform`, Dict[required=[aggregate]], :class:`BinTransform`, Dict[required=[bin, field, as]], :class:`CalculateTransform`, Dict[required=[calculate, as]], :class:`DensityTransform`, Dict[required=[density]], :class:`ExtentTransform`, Dict[required=[extent, param]], :class:`FilterTransform`, Dict[required=[filter]], :class:`FlattenTransform`, Dict[required=[flatten]], :class:`FoldTransform`, Dict[required=[fold]], :class:`ImputeTransform`, Dict[required=[impute, key]], :class:`JoinAggregateTransform`, Dict[required=[joinaggregate]], :class:`LoessTransform`, Dict[required=[loess, on]], :class:`LookupTransform`, Dict[required=[lookup, from]], :class:`PivotTransform`, Dict[required=[pivot, value]], :class:`QuantileTransform`, Dict[required=[quantile]], :class:`RegressionTransform`, Dict[required=[regression, on]], :class:`SampleTransform`, Dict[required=[sample]], :class:`StackTransform`, Dict[required=[stack, groupby, as]], :class:`TimeUnitTransform`, Dict[required=[timeUnit, field, as]], :class:`Transform`, :class:`WindowTransform`, Dict[required=[window]]] + transform : Sequence[dict, :class:`Transform`, :class:`BinTransform`, :class:`FoldTransform`, :class:`LoessTransform`, :class:`PivotTransform`, :class:`StackTransform`, :class:`ExtentTransform`, :class:`FilterTransform`, :class:`ImputeTransform`, :class:`LookupTransform`, :class:`SampleTransform`, :class:`WindowTransform`, :class:`DensityTransform`, :class:`FlattenTransform`, :class:`QuantileTransform`, :class:`TimeUnitTransform`, :class:`AggregateTransform`, :class:`CalculateTransform`, :class:`RegressionTransform`, :class:`JoinAggregateTransform`] An array of data transformations such as filter and new field calculation. - usermeta : :class:`Dict`, Dict + usermeta : dict, :class:`Dict` Optional metadata that will be passed to Vega. This object is completely ignored by Vega and Vega-Lite and can be used for custom metadata. - view : :class:`ViewBackground`, Dict + view : dict, :class:`ViewBackground` An object defining the view background's fill and stroke. **Default value:** none (transparent) - width : :class:`Step`, Dict[required=[step]], float, str + width : str, dict, float, :class:`Step` The width of a visualization. @@ -51774,308 +44978,217 @@ class TopLevelUnitSpec(TopLevelSpec): def __init__( self, - data: Union[ - Union[ - None, - Union[ - "Data", - Union[ - "DataSource", - Union["InlineData", dict], - Union["NamedData", dict], - Union["UrlData", dict], - ], - Union[ - "Generator", - Union["GraticuleGenerator", dict], - Union["SequenceGenerator", dict], - Union["SphereGenerator", dict], - ], - ], - ], - UndefinedType, - ] = Undefined, + data: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, mark: Union[ - Union[ - "AnyMark", - Union[ - "CompositeMark", - Union["BoxPlot", str], - Union["ErrorBand", str], - Union["ErrorBar", str], - ], - Union[ - "CompositeMarkDef", - Union["BoxPlotDef", dict], - Union["ErrorBandDef", dict], - Union["ErrorBarDef", dict], - ], - Union[ - "Mark", - Literal[ - "arc", - "area", - "bar", - "image", - "line", - "point", - "rect", - "rule", - "text", - "tick", - "trail", - "circle", - "square", - "geoshape", - ], - ], - Union["MarkDef", dict], + str, + dict, + "SchemaBase", + Literal[ + "arc", + "area", + "bar", + "image", + "line", + "point", + "rect", + "rule", + "text", + "tick", + "trail", + "circle", + "square", + "geoshape", ], UndefinedType, ] = Undefined, align: Union[ - Union[ - Union["LayoutAlign", Literal["all", "each", "none"]], - Union["RowColLayoutAlign", dict], - ], - UndefinedType, + dict, "SchemaBase", Literal["all", "each", "none"], UndefinedType ] = Undefined, autosize: Union[ - Union[ - Union["AutoSizeParams", dict], - Union["AutosizeType", Literal["pad", "none", "fit", "fit-x", "fit-y"]], - ], + dict, + "SchemaBase", + Literal["pad", "none", "fit", "fit-x", "fit-y"], UndefinedType, ] = Undefined, background: Union[ - Union[ - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], + str, + dict, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, bounds: Union[Literal["full", "flush"], UndefinedType] = Undefined, - center: Union[ - Union[Union["RowColboolean", dict], bool], UndefinedType - ] = Undefined, - config: Union[Union["Config", dict], UndefinedType] = Undefined, - datasets: Union[Union["Datasets", dict], UndefinedType] = Undefined, + center: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, + config: Union[dict, "SchemaBase", UndefinedType] = Undefined, + datasets: Union[dict, "SchemaBase", UndefinedType] = Undefined, description: Union[str, UndefinedType] = Undefined, - encoding: Union[Union["FacetedEncoding", dict], UndefinedType] = Undefined, - height: Union[ - Union[Union["Step", dict], float, str], UndefinedType - ] = Undefined, + encoding: Union[dict, "SchemaBase", UndefinedType] = Undefined, + height: Union[str, dict, float, "SchemaBase", UndefinedType] = Undefined, name: Union[str, UndefinedType] = Undefined, padding: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["Padding", dict, float]], - UndefinedType, - ] = Undefined, - params: Union[ - Sequence[ - Union[ - "TopLevelParameter", - Union["TopLevelSelectionParameter", dict], - Union["VariableParameter", dict], - ] - ], - UndefinedType, - ] = Undefined, - projection: Union[Union["Projection", dict], UndefinedType] = Undefined, - resolve: Union[Union["Resolve", dict], UndefinedType] = Undefined, - spacing: Union[ - Union[Union["RowColnumber", dict], float], UndefinedType - ] = Undefined, - title: Union[ - Union[Union["Text", Sequence[str], str], Union["TitleParams", dict]], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, + params: Union[Sequence[Union[dict, "SchemaBase"]], UndefinedType] = Undefined, + projection: Union[dict, "SchemaBase", UndefinedType] = Undefined, + resolve: Union[dict, "SchemaBase", UndefinedType] = Undefined, + spacing: Union[dict, float, "SchemaBase", UndefinedType] = Undefined, + title: Union[str, dict, "SchemaBase", Sequence[str], UndefinedType] = Undefined, transform: Union[ - Sequence[ - Union[ - "Transform", - Union["AggregateTransform", dict], - Union["BinTransform", dict], - Union["CalculateTransform", dict], - Union["DensityTransform", dict], - Union["ExtentTransform", dict], - Union["FilterTransform", dict], - Union["FlattenTransform", dict], - Union["FoldTransform", dict], - Union["ImputeTransform", dict], - Union["JoinAggregateTransform", dict], - Union["LoessTransform", dict], - Union["LookupTransform", dict], - Union["PivotTransform", dict], - Union["QuantileTransform", dict], - Union["RegressionTransform", dict], - Union["SampleTransform", dict], - Union["StackTransform", dict], - Union["TimeUnitTransform", dict], - Union["WindowTransform", dict], - ] - ], - UndefinedType, + Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, - usermeta: Union[Union["Dict", dict], UndefinedType] = Undefined, - view: Union[Union["ViewBackground", dict], UndefinedType] = Undefined, - width: Union[Union[Union["Step", dict], float, str], UndefinedType] = Undefined, + usermeta: Union[dict, "SchemaBase", UndefinedType] = Undefined, + view: Union[dict, "SchemaBase", UndefinedType] = Undefined, + width: Union[str, dict, float, "SchemaBase", UndefinedType] = Undefined, **kwds, ): super(TopLevelUnitSpec, self).__init__( @@ -52109,20 +45222,18 @@ def __init__( class TopLevelVConcatSpec(TopLevelSpec): """TopLevelVConcatSpec schema wrapper - :class:`TopLevelVConcatSpec`, Dict[required=[vconcat]] - Parameters ---------- - vconcat : Sequence[:class:`ConcatSpecGenericSpec`, Dict[required=[concat]], :class:`FacetSpec`, Dict[required=[facet, spec]], :class:`FacetedUnitSpec`, Dict[required=[mark]], :class:`HConcatSpecGenericSpec`, Dict[required=[hconcat]], :class:`LayerRepeatSpec`, Dict[required=[repeat, spec]], :class:`NonLayerRepeatSpec`, Dict[required=[repeat, spec]], :class:`RepeatSpec`, :class:`LayerSpec`, Dict[required=[layer]], :class:`NonNormalizedSpec`, :class:`VConcatSpecGenericSpec`, Dict[required=[vconcat]]] + vconcat : Sequence[dict, :class:`FacetSpec`, :class:`LayerSpec`, :class:`RepeatSpec`, :class:`FacetedUnitSpec`, :class:`LayerRepeatSpec`, :class:`NonNormalizedSpec`, :class:`NonLayerRepeatSpec`, :class:`ConcatSpecGenericSpec`, :class:`HConcatSpecGenericSpec`, :class:`VConcatSpecGenericSpec`] A list of views to be concatenated and put into a column. - autosize : :class:`AutoSizeParams`, Dict, :class:`AutosizeType`, Literal['pad', 'none', 'fit', 'fit-x', 'fit-y'] + autosize : dict, :class:`AutosizeType`, :class:`AutoSizeParams`, Literal['pad', 'none', 'fit', 'fit-x', 'fit-y'] How the visualization size should be determined. If a string, should be one of ``"pad"``, ``"fit"`` or ``"none"``. Object values can additionally specify parameters for content sizing and automatic resizing. **Default value** : ``pad`` - background : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]] + background : str, dict, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] CSS color property to use as the background of the entire view. **Default value:** ``"white"`` @@ -52143,13 +45254,13 @@ class TopLevelVConcatSpec(TopLevelSpec): rows or columns. **Default value:** ``false`` - config : :class:`Config`, Dict + config : dict, :class:`Config` Vega-Lite configuration object. This property can only be defined at the top-level of a specification. - data : :class:`DataSource`, :class:`InlineData`, Dict[required=[values]], :class:`NamedData`, Dict[required=[name]], :class:`UrlData`, Dict[required=[url]], :class:`Data`, :class:`Generator`, :class:`GraticuleGenerator`, Dict[required=[graticule]], :class:`SequenceGenerator`, Dict[required=[sequence]], :class:`SphereGenerator`, Dict[required=[sphere]], None + data : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` An object describing the data source. Set to ``null`` to ignore the parent's data source. If no data is set, it is derived from the parent. - datasets : :class:`Datasets`, Dict + datasets : dict, :class:`Datasets` A global data store for named datasets. This is a mapping from names to inline datasets. This can be an array of objects or primitive values or a string. Arrays of primitive values are ingested as objects with a ``data`` property. @@ -52157,26 +45268,26 @@ class TopLevelVConcatSpec(TopLevelSpec): Description of this mark for commenting purpose. name : str Name of the visualization for later reference. - padding : :class:`ExprRef`, Dict[required=[expr]], :class:`Padding`, Dict, float + padding : dict, float, :class:`ExprRef`, :class:`Padding` The default visualization padding, in pixels, from the edge of the visualization canvas to the data rectangle. If a number, specifies padding for all sides. If an object, the value should have the format ``{"left": 5, "top": 5, "right": 5, "bottom": 5}`` to specify padding for each side of the visualization. **Default value** : ``5`` - params : Sequence[:class:`TopLevelParameter`, :class:`TopLevelSelectionParameter`, Dict[required=[name, select]], :class:`VariableParameter`, Dict[required=[name]]] + params : Sequence[dict, :class:`TopLevelParameter`, :class:`VariableParameter`, :class:`TopLevelSelectionParameter`] Dynamic variables or selections that parameterize a visualization. - resolve : :class:`Resolve`, Dict + resolve : dict, :class:`Resolve` Scale, axis, and legend resolutions for view composition specifications. spacing : float The spacing in pixels between sub-views of the concat operator. **Default value** : ``10`` - title : :class:`Text`, Sequence[str], str, :class:`TitleParams`, Dict[required=[text]] + title : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - transform : Sequence[:class:`AggregateTransform`, Dict[required=[aggregate]], :class:`BinTransform`, Dict[required=[bin, field, as]], :class:`CalculateTransform`, Dict[required=[calculate, as]], :class:`DensityTransform`, Dict[required=[density]], :class:`ExtentTransform`, Dict[required=[extent, param]], :class:`FilterTransform`, Dict[required=[filter]], :class:`FlattenTransform`, Dict[required=[flatten]], :class:`FoldTransform`, Dict[required=[fold]], :class:`ImputeTransform`, Dict[required=[impute, key]], :class:`JoinAggregateTransform`, Dict[required=[joinaggregate]], :class:`LoessTransform`, Dict[required=[loess, on]], :class:`LookupTransform`, Dict[required=[lookup, from]], :class:`PivotTransform`, Dict[required=[pivot, value]], :class:`QuantileTransform`, Dict[required=[quantile]], :class:`RegressionTransform`, Dict[required=[regression, on]], :class:`SampleTransform`, Dict[required=[sample]], :class:`StackTransform`, Dict[required=[stack, groupby, as]], :class:`TimeUnitTransform`, Dict[required=[timeUnit, field, as]], :class:`Transform`, :class:`WindowTransform`, Dict[required=[window]]] + transform : Sequence[dict, :class:`Transform`, :class:`BinTransform`, :class:`FoldTransform`, :class:`LoessTransform`, :class:`PivotTransform`, :class:`StackTransform`, :class:`ExtentTransform`, :class:`FilterTransform`, :class:`ImputeTransform`, :class:`LookupTransform`, :class:`SampleTransform`, :class:`WindowTransform`, :class:`DensityTransform`, :class:`FlattenTransform`, :class:`QuantileTransform`, :class:`TimeUnitTransform`, :class:`AggregateTransform`, :class:`CalculateTransform`, :class:`RegressionTransform`, :class:`JoinAggregateTransform`] An array of data transformations such as filter and new field calculation. - usermeta : :class:`Dict`, Dict + usermeta : dict, :class:`Dict` Optional metadata that will be passed to Vega. This object is completely ignored by Vega and Vega-Lite and can be used for custom metadata. $schema : str @@ -52191,271 +45302,188 @@ class TopLevelVConcatSpec(TopLevelSpec): def __init__( self, - vconcat: Union[ - Sequence[ - Union[ - "NonNormalizedSpec", - Union["ConcatSpecGenericSpec", dict], - Union["FacetSpec", dict], - Union["FacetedUnitSpec", dict], - Union["HConcatSpecGenericSpec", dict], - Union["LayerSpec", dict], - Union[ - "RepeatSpec", - Union["LayerRepeatSpec", dict], - Union["NonLayerRepeatSpec", dict], - ], - Union["VConcatSpecGenericSpec", dict], - ] - ], - UndefinedType, - ] = Undefined, + vconcat: Union[Sequence[Union[dict, "SchemaBase"]], UndefinedType] = Undefined, autosize: Union[ - Union[ - Union["AutoSizeParams", dict], - Union["AutosizeType", Literal["pad", "none", "fit", "fit-x", "fit-y"]], - ], + dict, + "SchemaBase", + Literal["pad", "none", "fit", "fit-x", "fit-y"], UndefinedType, ] = Undefined, background: Union[ - Union[ - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], + str, + dict, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, bounds: Union[Literal["full", "flush"], UndefinedType] = Undefined, center: Union[bool, UndefinedType] = Undefined, - config: Union[Union["Config", dict], UndefinedType] = Undefined, - data: Union[ - Union[ - None, - Union[ - "Data", - Union[ - "DataSource", - Union["InlineData", dict], - Union["NamedData", dict], - Union["UrlData", dict], - ], - Union[ - "Generator", - Union["GraticuleGenerator", dict], - Union["SequenceGenerator", dict], - Union["SphereGenerator", dict], - ], - ], - ], - UndefinedType, - ] = Undefined, - datasets: Union[Union["Datasets", dict], UndefinedType] = Undefined, + config: Union[dict, "SchemaBase", UndefinedType] = Undefined, + data: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, + datasets: Union[dict, "SchemaBase", UndefinedType] = Undefined, description: Union[str, UndefinedType] = Undefined, name: Union[str, UndefinedType] = Undefined, padding: Union[ - Union[Union["ExprRef", "_Parameter", dict], Union["Padding", dict, float]], - UndefinedType, - ] = Undefined, - params: Union[ - Sequence[ - Union[ - "TopLevelParameter", - Union["TopLevelSelectionParameter", dict], - Union["VariableParameter", dict], - ] - ], - UndefinedType, + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, - resolve: Union[Union["Resolve", dict], UndefinedType] = Undefined, + params: Union[Sequence[Union[dict, "SchemaBase"]], UndefinedType] = Undefined, + resolve: Union[dict, "SchemaBase", UndefinedType] = Undefined, spacing: Union[float, UndefinedType] = Undefined, - title: Union[ - Union[Union["Text", Sequence[str], str], Union["TitleParams", dict]], - UndefinedType, - ] = Undefined, + title: Union[str, dict, "SchemaBase", Sequence[str], UndefinedType] = Undefined, transform: Union[ - Sequence[ - Union[ - "Transform", - Union["AggregateTransform", dict], - Union["BinTransform", dict], - Union["CalculateTransform", dict], - Union["DensityTransform", dict], - Union["ExtentTransform", dict], - Union["FilterTransform", dict], - Union["FlattenTransform", dict], - Union["FoldTransform", dict], - Union["ImputeTransform", dict], - Union["JoinAggregateTransform", dict], - Union["LoessTransform", dict], - Union["LookupTransform", dict], - Union["PivotTransform", dict], - Union["QuantileTransform", dict], - Union["RegressionTransform", dict], - Union["SampleTransform", dict], - Union["StackTransform", dict], - Union["TimeUnitTransform", dict], - Union["WindowTransform", dict], - ] - ], - UndefinedType, + Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, - usermeta: Union[Union["Dict", dict], UndefinedType] = Undefined, + usermeta: Union[dict, "SchemaBase", UndefinedType] = Undefined, **kwds, ): super(TopLevelVConcatSpec, self).__init__( @@ -52483,8 +45511,6 @@ def __init__( class TopoDataFormat(DataFormat): """TopoDataFormat schema wrapper - :class:`TopoDataFormat`, Dict - Parameters ---------- @@ -52500,7 +45526,7 @@ class TopoDataFormat(DataFormat): not as individual GeoJSON features. Extracting a mesh is useful for more efficiently drawing borders or other geographic elements that you do not need to associate with specific regions such as individual countries, states or counties. - parse : :class:`Parse`, Dict, None + parse : dict, None, :class:`Parse` If set to ``null``, disable type inference based on the spec and only use type inference based on the data. Alternatively, a parsing directive object can be provided for explicit data types. Each property of the object corresponds to a field @@ -52529,7 +45555,7 @@ def __init__( self, feature: Union[str, UndefinedType] = Undefined, mesh: Union[str, UndefinedType] = Undefined, - parse: Union[Union[None, Union["Parse", dict]], UndefinedType] = Undefined, + parse: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, type: Union[str, UndefinedType] = Undefined, **kwds, ): @@ -52539,22 +45565,7 @@ def __init__( class Transform(VegaLiteSchema): - """Transform schema wrapper - - :class:`AggregateTransform`, Dict[required=[aggregate]], :class:`BinTransform`, - Dict[required=[bin, field, as]], :class:`CalculateTransform`, Dict[required=[calculate, - as]], :class:`DensityTransform`, Dict[required=[density]], :class:`ExtentTransform`, - Dict[required=[extent, param]], :class:`FilterTransform`, Dict[required=[filter]], - :class:`FlattenTransform`, Dict[required=[flatten]], :class:`FoldTransform`, - Dict[required=[fold]], :class:`ImputeTransform`, Dict[required=[impute, key]], - :class:`JoinAggregateTransform`, Dict[required=[joinaggregate]], :class:`LoessTransform`, - Dict[required=[loess, on]], :class:`LookupTransform`, Dict[required=[lookup, from]], - :class:`PivotTransform`, Dict[required=[pivot, value]], :class:`QuantileTransform`, - Dict[required=[quantile]], :class:`RegressionTransform`, Dict[required=[regression, on]], - :class:`SampleTransform`, Dict[required=[sample]], :class:`StackTransform`, - Dict[required=[stack, groupby, as]], :class:`TimeUnitTransform`, Dict[required=[timeUnit, - field, as]], :class:`Transform`, :class:`WindowTransform`, Dict[required=[window]] - """ + """Transform schema wrapper""" _schema = {"$ref": "#/definitions/Transform"} @@ -52565,14 +45576,12 @@ def __init__(self, *args, **kwds): class AggregateTransform(Transform): """AggregateTransform schema wrapper - :class:`AggregateTransform`, Dict[required=[aggregate]] - Parameters ---------- - aggregate : Sequence[:class:`AggregatedFieldDef`, Dict[required=[op, as]]] + aggregate : Sequence[dict, :class:`AggregatedFieldDef`] Array of objects that define fields to aggregate. - groupby : Sequence[:class:`FieldName`, str] + groupby : Sequence[str, :class:`FieldName`] The data fields to group by. If not specified, a single group containing all data objects will be used. """ @@ -52582,9 +45591,9 @@ class AggregateTransform(Transform): def __init__( self, aggregate: Union[ - Sequence[Union["AggregatedFieldDef", dict]], UndefinedType + Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, - groupby: Union[Sequence[Union["FieldName", str]], UndefinedType] = Undefined, + groupby: Union[Sequence[Union[str, "SchemaBase"]], UndefinedType] = Undefined, **kwds, ): super(AggregateTransform, self).__init__( @@ -52595,17 +45604,15 @@ def __init__( class BinTransform(Transform): """BinTransform schema wrapper - :class:`BinTransform`, Dict[required=[bin, field, as]] - Parameters ---------- - bin : :class:`BinParams`, Dict, bool + bin : bool, dict, :class:`BinParams` An object indicating bin properties, or simply ``true`` for using default bin parameters. - field : :class:`FieldName`, str + field : str, :class:`FieldName` The data field to bin. - as : :class:`FieldName`, str, Sequence[:class:`FieldName`, str] + as : str, :class:`FieldName`, Sequence[str, :class:`FieldName`] The output fields at which to write the start and end bin values. This can be either a string or an array of strings with two elements denoting the name for the fields for bin start and bin end respectively. If a single string (e.g., ``"val"`` ) is @@ -52616,8 +45623,8 @@ class BinTransform(Transform): def __init__( self, - bin: Union[Union[Union["BinParams", dict], bool], UndefinedType] = Undefined, - field: Union[Union["FieldName", str], UndefinedType] = Undefined, + bin: Union[bool, dict, "SchemaBase", UndefinedType] = Undefined, + field: Union[str, "SchemaBase", UndefinedType] = Undefined, **kwds, ): super(BinTransform, self).__init__(bin=bin, field=field, **kwds) @@ -52626,15 +45633,13 @@ def __init__( class CalculateTransform(Transform): """CalculateTransform schema wrapper - :class:`CalculateTransform`, Dict[required=[calculate, as]] - Parameters ---------- calculate : str A `expression `__ string. Use the variable ``datum`` to refer to the current data object. - as : :class:`FieldName`, str + as : str, :class:`FieldName` The field for storing the computed formula value. """ @@ -52647,12 +45652,10 @@ def __init__(self, calculate: Union[str, UndefinedType] = Undefined, **kwds): class DensityTransform(Transform): """DensityTransform schema wrapper - :class:`DensityTransform`, Dict[required=[density]] - Parameters ---------- - density : :class:`FieldName`, str + density : str, :class:`FieldName` The data field for which to perform density estimation. bandwidth : float The bandwidth (standard deviation) of the Gaussian kernel. If unspecified or set to @@ -52672,7 +45675,7 @@ class DensityTransform(Transform): A [min, max] domain from which to sample the distribution. If unspecified, the extent will be determined by the observed minimum and maximum values of the density value field. - groupby : Sequence[:class:`FieldName`, str] + groupby : Sequence[str, :class:`FieldName`] The data fields to group by. If not specified, a single group containing all data objects will be used. maxsteps : float @@ -52690,7 +45693,7 @@ class DensityTransform(Transform): density. If specified, overrides both minsteps and maxsteps to set an exact number of uniform samples. Potentially useful in conjunction with a fixed extent to ensure consistent sample points for stacked densities. - as : Sequence[:class:`FieldName`, str] + as : Sequence[str, :class:`FieldName`] The output fields for the sample value and corresponding density estimate. **Default value:** ``["value", "density"]`` @@ -52700,12 +45703,12 @@ class DensityTransform(Transform): def __init__( self, - density: Union[Union["FieldName", str], UndefinedType] = Undefined, + density: Union[str, "SchemaBase", UndefinedType] = Undefined, bandwidth: Union[float, UndefinedType] = Undefined, counts: Union[bool, UndefinedType] = Undefined, cumulative: Union[bool, UndefinedType] = Undefined, extent: Union[Sequence[float], UndefinedType] = Undefined, - groupby: Union[Sequence[Union["FieldName", str]], UndefinedType] = Undefined, + groupby: Union[Sequence[Union[str, "SchemaBase"]], UndefinedType] = Undefined, maxsteps: Union[float, UndefinedType] = Undefined, minsteps: Union[float, UndefinedType] = Undefined, steps: Union[float, UndefinedType] = Undefined, @@ -52728,14 +45731,12 @@ def __init__( class ExtentTransform(Transform): """ExtentTransform schema wrapper - :class:`ExtentTransform`, Dict[required=[extent, param]] - Parameters ---------- - extent : :class:`FieldName`, str + extent : str, :class:`FieldName` The field of which to get the extent. - param : :class:`ParameterName`, str + param : str, :class:`ParameterName` The output parameter produced by the extent transform. """ @@ -52743,8 +45744,8 @@ class ExtentTransform(Transform): def __init__( self, - extent: Union[Union["FieldName", str], UndefinedType] = Undefined, - param: Union[Union["ParameterName", str], UndefinedType] = Undefined, + extent: Union[str, "SchemaBase", UndefinedType] = Undefined, + param: Union[str, "SchemaBase", UndefinedType] = Undefined, **kwds, ): super(ExtentTransform, self).__init__(extent=extent, param=param, **kwds) @@ -52753,12 +45754,10 @@ def __init__( class FilterTransform(Transform): """FilterTransform schema wrapper - :class:`FilterTransform`, Dict[required=[filter]] - Parameters ---------- - filter : :class:`FieldEqualPredicate`, Dict[required=[equal, field]], :class:`FieldGTEPredicate`, Dict[required=[field, gte]], :class:`FieldGTPredicate`, Dict[required=[field, gt]], :class:`FieldLTEPredicate`, Dict[required=[field, lte]], :class:`FieldLTPredicate`, Dict[required=[field, lt]], :class:`FieldOneOfPredicate`, Dict[required=[field, oneOf]], :class:`FieldRangePredicate`, Dict[required=[field, range]], :class:`FieldValidPredicate`, Dict[required=[field, valid]], :class:`ParameterPredicate`, Dict[required=[param]], :class:`Predicate`, str, :class:`LogicalAndPredicate`, Dict[required=[and]], :class:`LogicalNotPredicate`, Dict[required=[not]], :class:`LogicalOrPredicate`, Dict[required=[or]], :class:`PredicateComposition` + filter : str, dict, :class:`Predicate`, :class:`FieldGTPredicate`, :class:`FieldLTPredicate`, :class:`FieldGTEPredicate`, :class:`FieldLTEPredicate`, :class:`LogicalOrPredicate`, :class:`ParameterPredicate`, :class:`FieldEqualPredicate`, :class:`FieldOneOfPredicate`, :class:`FieldRangePredicate`, :class:`FieldValidPredicate`, :class:`LogicalAndPredicate`, :class:`LogicalNotPredicate`, :class:`PredicateComposition` The ``filter`` property must be a predication definition, which can take one of the following forms: @@ -52791,30 +45790,7 @@ class FilterTransform(Transform): _schema = {"$ref": "#/definitions/FilterTransform"} def __init__( - self, - filter: Union[ - Union[ - "PredicateComposition", - Union["LogicalAndPredicate", dict], - Union["LogicalNotPredicate", dict], - Union["LogicalOrPredicate", dict], - Union[ - "Predicate", - Union["FieldEqualPredicate", dict], - Union["FieldGTEPredicate", dict], - Union["FieldGTPredicate", dict], - Union["FieldLTEPredicate", dict], - Union["FieldLTPredicate", dict], - Union["FieldOneOfPredicate", dict], - Union["FieldRangePredicate", dict], - Union["FieldValidPredicate", dict], - Union["ParameterPredicate", dict], - str, - ], - ], - UndefinedType, - ] = Undefined, - **kwds, + self, filter: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, **kwds ): super(FilterTransform, self).__init__(filter=filter, **kwds) @@ -52822,17 +45798,15 @@ def __init__( class FlattenTransform(Transform): """FlattenTransform schema wrapper - :class:`FlattenTransform`, Dict[required=[flatten]] - Parameters ---------- - flatten : Sequence[:class:`FieldName`, str] + flatten : Sequence[str, :class:`FieldName`] An array of one or more data fields containing arrays to flatten. If multiple fields are specified, their array values should have a parallel structure, ideally with the same length. If the lengths of parallel arrays do not match, the longest array will be used with ``null`` values added for missing entries. - as : Sequence[:class:`FieldName`, str] + as : Sequence[str, :class:`FieldName`] The output field names for extracted array values. **Default value:** The field name of the corresponding array field @@ -52842,7 +45816,7 @@ class FlattenTransform(Transform): def __init__( self, - flatten: Union[Sequence[Union["FieldName", str]], UndefinedType] = Undefined, + flatten: Union[Sequence[Union[str, "SchemaBase"]], UndefinedType] = Undefined, **kwds, ): super(FlattenTransform, self).__init__(flatten=flatten, **kwds) @@ -52851,14 +45825,12 @@ def __init__( class FoldTransform(Transform): """FoldTransform schema wrapper - :class:`FoldTransform`, Dict[required=[fold]] - Parameters ---------- - fold : Sequence[:class:`FieldName`, str] + fold : Sequence[str, :class:`FieldName`] An array of data fields indicating the properties to fold. - as : Sequence[:class:`FieldName`, str] + as : Sequence[str, :class:`FieldName`] The output field names for the key and value properties produced by the fold transform. **Default value:** ``["key", "value"]`` """ @@ -52867,7 +45839,7 @@ class FoldTransform(Transform): def __init__( self, - fold: Union[Sequence[Union["FieldName", str]], UndefinedType] = Undefined, + fold: Union[Sequence[Union[str, "SchemaBase"]], UndefinedType] = Undefined, **kwds, ): super(FoldTransform, self).__init__(fold=fold, **kwds) @@ -52876,14 +45848,12 @@ def __init__( class ImputeTransform(Transform): """ImputeTransform schema wrapper - :class:`ImputeTransform`, Dict[required=[impute, key]] - Parameters ---------- - impute : :class:`FieldName`, str + impute : str, :class:`FieldName` The data field for which the missing values should be imputed. - key : :class:`FieldName`, str + key : str, :class:`FieldName` A key field that uniquely identifies data objects within a group. Missing key values (those occurring in the data but not in the current group) will be imputed. frame : Sequence[None, float] @@ -52896,10 +45866,10 @@ class ImputeTransform(Transform): **Default value:** : ``[null, null]`` indicating that the window includes all objects. - groupby : Sequence[:class:`FieldName`, str] + groupby : Sequence[str, :class:`FieldName`] An optional array of fields by which to group the values. Imputation will then be performed on a per-group basis. - keyvals : :class:`ImputeSequence`, Dict[required=[stop]], Sequence[Any] + keyvals : dict, Sequence[Any], :class:`ImputeSequence` Defines the key values that should be considered for imputation. An array of key values or an object defining a `number sequence `__. @@ -52923,15 +45893,14 @@ class ImputeTransform(Transform): def __init__( self, - impute: Union[Union["FieldName", str], UndefinedType] = Undefined, - key: Union[Union["FieldName", str], UndefinedType] = Undefined, + impute: Union[str, "SchemaBase", UndefinedType] = Undefined, + key: Union[str, "SchemaBase", UndefinedType] = Undefined, frame: Union[Sequence[Union[None, float]], UndefinedType] = Undefined, - groupby: Union[Sequence[Union["FieldName", str]], UndefinedType] = Undefined, - keyvals: Union[ - Union[Sequence[Any], Union["ImputeSequence", dict]], UndefinedType - ] = Undefined, + groupby: Union[Sequence[Union[str, "SchemaBase"]], UndefinedType] = Undefined, + keyvals: Union[dict, "SchemaBase", Sequence[Any], UndefinedType] = Undefined, method: Union[ - Union["ImputeMethod", Literal["value", "median", "max", "min", "mean"]], + "SchemaBase", + Literal["value", "median", "max", "min", "mean"], UndefinedType, ] = Undefined, value: Union[Any, UndefinedType] = Undefined, @@ -52952,14 +45921,12 @@ def __init__( class JoinAggregateTransform(Transform): """JoinAggregateTransform schema wrapper - :class:`JoinAggregateTransform`, Dict[required=[joinaggregate]] - Parameters ---------- - joinaggregate : Sequence[:class:`JoinAggregateFieldDef`, Dict[required=[op, as]]] + joinaggregate : Sequence[dict, :class:`JoinAggregateFieldDef`] The definition of the fields in the join aggregate, and what calculations to use. - groupby : Sequence[:class:`FieldName`, str] + groupby : Sequence[str, :class:`FieldName`] The data fields for partitioning the data objects into separate groups. If unspecified, all data points will be in a single group. """ @@ -52969,9 +45936,9 @@ class JoinAggregateTransform(Transform): def __init__( self, joinaggregate: Union[ - Sequence[Union["JoinAggregateFieldDef", dict]], UndefinedType + Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, - groupby: Union[Sequence[Union["FieldName", str]], UndefinedType] = Undefined, + groupby: Union[Sequence[Union[str, "SchemaBase"]], UndefinedType] = Undefined, **kwds, ): super(JoinAggregateTransform, self).__init__( @@ -52982,24 +45949,22 @@ def __init__( class LoessTransform(Transform): """LoessTransform schema wrapper - :class:`LoessTransform`, Dict[required=[loess, on]] - Parameters ---------- - loess : :class:`FieldName`, str + loess : str, :class:`FieldName` The data field of the dependent variable to smooth. - on : :class:`FieldName`, str + on : str, :class:`FieldName` The data field of the independent variable to use a predictor. bandwidth : float A bandwidth parameter in the range ``[0, 1]`` that determines the amount of smoothing. **Default value:** ``0.3`` - groupby : Sequence[:class:`FieldName`, str] + groupby : Sequence[str, :class:`FieldName`] The data fields to group by. If not specified, a single group containing all data objects will be used. - as : Sequence[:class:`FieldName`, str] + as : Sequence[str, :class:`FieldName`] The output field names for the smoothed points generated by the loess transform. **Default value:** The field names of the input x and y values. @@ -53009,10 +45974,10 @@ class LoessTransform(Transform): def __init__( self, - loess: Union[Union["FieldName", str], UndefinedType] = Undefined, - on: Union[Union["FieldName", str], UndefinedType] = Undefined, + loess: Union[str, "SchemaBase", UndefinedType] = Undefined, + on: Union[str, "SchemaBase", UndefinedType] = Undefined, bandwidth: Union[float, UndefinedType] = Undefined, - groupby: Union[Sequence[Union["FieldName", str]], UndefinedType] = Undefined, + groupby: Union[Sequence[Union[str, "SchemaBase"]], UndefinedType] = Undefined, **kwds, ): super(LoessTransform, self).__init__( @@ -53023,8 +45988,6 @@ def __init__( class LookupTransform(Transform): """LookupTransform schema wrapper - :class:`LookupTransform`, Dict[required=[lookup, from]] - Parameters ---------- @@ -53034,7 +45997,7 @@ class LookupTransform(Transform): The default value to use if lookup fails. **Default value:** ``null`` - as : :class:`FieldName`, str, Sequence[:class:`FieldName`, str] + as : str, :class:`FieldName`, Sequence[str, :class:`FieldName`] The output fields on which to store the looked up data values. For data lookups, this property may be left blank if ``from.fields`` has been @@ -53044,7 +46007,7 @@ class LookupTransform(Transform): For selection lookups, this property is optional: if unspecified, looked up values will be stored under a property named for the selection; and if specified, it must correspond to ``from.fields``. - from : :class:`LookupData`, Dict[required=[data, key]], :class:`LookupSelection`, Dict[required=[key, param]] + from : dict, :class:`LookupData`, :class:`LookupSelection` Data source or selection for secondary data reference. """ @@ -53062,18 +46025,16 @@ def __init__( class PivotTransform(Transform): """PivotTransform schema wrapper - :class:`PivotTransform`, Dict[required=[pivot, value]] - Parameters ---------- - pivot : :class:`FieldName`, str + pivot : str, :class:`FieldName` The data field to pivot on. The unique values of this field become new field names in the output stream. - value : :class:`FieldName`, str + value : str, :class:`FieldName` The data field to populate pivoted fields. The aggregate values of this field become the values of the new pivoted fields. - groupby : Sequence[:class:`FieldName`, str] + groupby : Sequence[str, :class:`FieldName`] The optional data fields to group by. If not specified, a single group containing all data objects will be used. limit : float @@ -53089,38 +46050,36 @@ class PivotTransform(Transform): def __init__( self, - pivot: Union[Union["FieldName", str], UndefinedType] = Undefined, - value: Union[Union["FieldName", str], UndefinedType] = Undefined, - groupby: Union[Sequence[Union["FieldName", str]], UndefinedType] = Undefined, + pivot: Union[str, "SchemaBase", UndefinedType] = Undefined, + value: Union[str, "SchemaBase", UndefinedType] = Undefined, + groupby: Union[Sequence[Union[str, "SchemaBase"]], UndefinedType] = Undefined, limit: Union[float, UndefinedType] = Undefined, op: Union[ - Union[ - "AggregateOp", - Literal[ - "argmax", - "argmin", - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], + "SchemaBase", + Literal[ + "argmax", + "argmin", + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, @@ -53134,14 +46093,12 @@ def __init__( class QuantileTransform(Transform): """QuantileTransform schema wrapper - :class:`QuantileTransform`, Dict[required=[quantile]] - Parameters ---------- - quantile : :class:`FieldName`, str + quantile : str, :class:`FieldName` The data field for which to perform quantile estimation. - groupby : Sequence[:class:`FieldName`, str] + groupby : Sequence[str, :class:`FieldName`] The data fields to group by. If not specified, a single group containing all data objects will be used. probs : Sequence[float] @@ -53151,7 +46108,7 @@ class QuantileTransform(Transform): A probability step size (default 0.01) for sampling quantile values. All values from one-half the step size up to 1 (exclusive) will be sampled. This parameter is only used if the *probs* parameter is not provided. - as : Sequence[:class:`FieldName`, str] + as : Sequence[str, :class:`FieldName`] The output field names for the probability and quantile values. **Default value:** ``["prob", "value"]`` @@ -53161,8 +46118,8 @@ class QuantileTransform(Transform): def __init__( self, - quantile: Union[Union["FieldName", str], UndefinedType] = Undefined, - groupby: Union[Sequence[Union["FieldName", str]], UndefinedType] = Undefined, + quantile: Union[str, "SchemaBase", UndefinedType] = Undefined, + groupby: Union[Sequence[Union[str, "SchemaBase"]], UndefinedType] = Undefined, probs: Union[Sequence[float], UndefinedType] = Undefined, step: Union[float, UndefinedType] = Undefined, **kwds, @@ -53175,19 +46132,17 @@ def __init__( class RegressionTransform(Transform): """RegressionTransform schema wrapper - :class:`RegressionTransform`, Dict[required=[regression, on]] - Parameters ---------- - on : :class:`FieldName`, str + on : str, :class:`FieldName` The data field of the independent variable to use a predictor. - regression : :class:`FieldName`, str + regression : str, :class:`FieldName` The data field of the dependent variable to predict. extent : Sequence[float] A [min, max] domain over the independent (x) field for the starting and ending points of the generated trend line. - groupby : Sequence[:class:`FieldName`, str] + groupby : Sequence[str, :class:`FieldName`] The data fields to group by. If not specified, a single group containing all data objects will be used. method : Literal['linear', 'log', 'exp', 'pow', 'quad', 'poly'] @@ -53207,7 +46162,7 @@ class RegressionTransform(Transform): value (indicating the total variance explained by the model). **Default value:** ``false`` - as : Sequence[:class:`FieldName`, str] + as : Sequence[str, :class:`FieldName`] The output field names for the smoothed points generated by the regression transform. @@ -53218,10 +46173,10 @@ class RegressionTransform(Transform): def __init__( self, - on: Union[Union["FieldName", str], UndefinedType] = Undefined, - regression: Union[Union["FieldName", str], UndefinedType] = Undefined, + on: Union[str, "SchemaBase", UndefinedType] = Undefined, + regression: Union[str, "SchemaBase", UndefinedType] = Undefined, extent: Union[Sequence[float], UndefinedType] = Undefined, - groupby: Union[Sequence[Union["FieldName", str]], UndefinedType] = Undefined, + groupby: Union[Sequence[Union[str, "SchemaBase"]], UndefinedType] = Undefined, method: Union[ Literal["linear", "log", "exp", "pow", "quad", "poly"], UndefinedType ] = Undefined, @@ -53244,8 +46199,6 @@ def __init__( class SampleTransform(Transform): """SampleTransform schema wrapper - :class:`SampleTransform`, Dict[required=[sample]] - Parameters ---------- @@ -53264,14 +46217,12 @@ def __init__(self, sample: Union[float, UndefinedType] = Undefined, **kwds): class StackTransform(Transform): """StackTransform schema wrapper - :class:`StackTransform`, Dict[required=[stack, groupby, as]] - Parameters ---------- - groupby : Sequence[:class:`FieldName`, str] + groupby : Sequence[str, :class:`FieldName`] The data fields to group by. - stack : :class:`FieldName`, str + stack : str, :class:`FieldName` The field which is stacked. offset : Literal['zero', 'center', 'normalize'] Mode for stacking marks. One of ``"zero"`` (default), ``"center"``, or @@ -53280,9 +46231,9 @@ class StackTransform(Transform): percentage values for each stack point, with output values in the range ``[0,1]``. **Default value:** ``"zero"`` - sort : Sequence[:class:`SortField`, Dict[required=[field]]] + sort : Sequence[dict, :class:`SortField`] Field that determines the order of leaves in the stacked charts. - as : :class:`FieldName`, str, Sequence[:class:`FieldName`, str] + as : str, :class:`FieldName`, Sequence[str, :class:`FieldName`] Output field names. This can be either a string or an array of strings with two elements denoting the name for the fields for stack start and stack end respectively. If a single string(e.g., ``"val"`` ) is provided, the end field will @@ -53293,12 +46244,12 @@ class StackTransform(Transform): def __init__( self, - groupby: Union[Sequence[Union["FieldName", str]], UndefinedType] = Undefined, - stack: Union[Union["FieldName", str], UndefinedType] = Undefined, + groupby: Union[Sequence[Union[str, "SchemaBase"]], UndefinedType] = Undefined, + stack: Union[str, "SchemaBase", UndefinedType] = Undefined, offset: Union[ Literal["zero", "center", "normalize"], UndefinedType ] = Undefined, - sort: Union[Sequence[Union["SortField", dict]], UndefinedType] = Undefined, + sort: Union[Sequence[Union[dict, "SchemaBase"]], UndefinedType] = Undefined, **kwds, ): super(StackTransform, self).__init__( @@ -53309,16 +46260,14 @@ def __init__( class TimeUnitTransform(Transform): """TimeUnitTransform schema wrapper - :class:`TimeUnitTransform`, Dict[required=[timeUnit, field, as]] - Parameters ---------- - field : :class:`FieldName`, str + field : str, :class:`FieldName` The data field to apply time unit. - timeUnit : :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitTransformParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`SingleTimeUnit`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, :class:`TimeUnitTransformParams`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] The timeUnit. - as : :class:`FieldName`, str + as : str, :class:`FieldName` The output field to write the timeUnit value. """ @@ -53326,119 +46275,97 @@ class TimeUnitTransform(Transform): def __init__( self, - field: Union[Union["FieldName", str], UndefinedType] = Undefined, + field: Union[str, "SchemaBase", UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], - ], - Union["TimeUnitTransformParams", dict], + dict, + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", ], UndefinedType, ] = Undefined, @@ -53449,8 +46376,6 @@ def __init__( class Type(VegaLiteSchema): """Type schema wrapper - - :class:`Type`, Literal['quantitative', 'ordinal', 'temporal', 'nominal', 'geojson'] Data type based on level of measurement """ @@ -53461,10 +46386,7 @@ def __init__(self, *args): class TypeForShape(VegaLiteSchema): - """TypeForShape schema wrapper - - :class:`TypeForShape`, Literal['nominal', 'ordinal', 'geojson'] - """ + """TypeForShape schema wrapper""" _schema = {"$ref": "#/definitions/TypeForShape"} @@ -53474,14 +46396,12 @@ def __init__(self, *args): class TypedFieldDef(VegaLiteSchema): """TypedFieldDef schema wrapper - - :class:`TypedFieldDef`, Dict Definition object for a data field, its type and transformation of an encoding channel. Parameters ---------- - aggregate : :class:`Aggregate`, :class:`ArgmaxDef`, Dict[required=[argmax]], :class:`ArgminDef`, Dict[required=[argmin]], :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] + aggregate : dict, :class:`Aggregate`, :class:`ArgmaxDef`, :class:`ArgminDef`, :class:`NonArgAggregateOp`, Literal['average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"`` ). @@ -53493,7 +46413,7 @@ class TypedFieldDef(VegaLiteSchema): Relative position on a band of a stacked, binned, time unit, or band scale. For example, the marks will be positioned at the beginning of the band if set to ``0``, and at the middle of the band if set to ``0.5``. - bin : :class:`BinParams`, Dict, None, bool, str + bin : str, bool, dict, None, :class:`BinParams` A flag for binning a ``quantitative`` field, `an object defining binning parameters `__, or indicating that the data for ``x`` or ``y`` channel are binned before they are imported into @@ -53514,7 +46434,7 @@ class TypedFieldDef(VegaLiteSchema): **See also:** `bin `__ documentation. - field : :class:`FieldName`, str, :class:`Field`, :class:`RepeatRef`, Dict[required=[repeat]] + field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` **Required.** A string defining the name of the field from which to pull a data value or an object defining iterated values from the `repeat `__ operator. @@ -53529,7 +46449,7 @@ class TypedFieldDef(VegaLiteSchema): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : :class:`BinnedTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], :class:`LocalMultiTimeUnit`, Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], :class:`MultiTimeUnit`, :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'], :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], :class:`SingleTimeUnit`, :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], :class:`TimeUnit`, :class:`TimeUnitParams`, Dict + timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds'], Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds'], Literal['binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear'], Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear'], Literal['yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'], Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours`` ) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -53538,7 +46458,7 @@ class TypedFieldDef(VegaLiteSchema): **See also:** `timeUnit `__ documentation. - title : :class:`Text`, Sequence[str], str, None + title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. **Default value:** derived from the field's name and transformation function ( @@ -53634,205 +46554,165 @@ class TypedFieldDef(VegaLiteSchema): def __init__( self, aggregate: Union[ - Union[ - "Aggregate", - Union["ArgmaxDef", dict], - Union["ArgminDef", dict], - Union[ - "NonArgAggregateOp", - Literal[ - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - ], + dict, + "SchemaBase", + Literal[ + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", ], UndefinedType, ] = Undefined, bandPosition: Union[float, UndefinedType] = Undefined, - bin: Union[ - Union[None, Union["BinParams", dict], bool, str], UndefinedType - ] = Undefined, - field: Union[ - Union["Field", Union["FieldName", str], Union["RepeatRef", dict]], - UndefinedType, - ] = Undefined, + bin: Union[str, bool, dict, None, "SchemaBase", UndefinedType] = Undefined, + field: Union[str, dict, "SchemaBase", UndefinedType] = Undefined, timeUnit: Union[ - Union[ - Union[ - "BinnedTimeUnit", - Literal[ - "binnedutcyear", - "binnedutcyearquarter", - "binnedutcyearquartermonth", - "binnedutcyearmonth", - "binnedutcyearmonthdate", - "binnedutcyearmonthdatehours", - "binnedutcyearmonthdatehoursminutes", - "binnedutcyearmonthdatehoursminutesseconds", - "binnedutcyearweek", - "binnedutcyearweekday", - "binnedutcyearweekdayhours", - "binnedutcyearweekdayhoursminutes", - "binnedutcyearweekdayhoursminutesseconds", - "binnedutcyeardayofyear", - ], - Literal[ - "binnedyear", - "binnedyearquarter", - "binnedyearquartermonth", - "binnedyearmonth", - "binnedyearmonthdate", - "binnedyearmonthdatehours", - "binnedyearmonthdatehoursminutes", - "binnedyearmonthdatehoursminutesseconds", - "binnedyearweek", - "binnedyearweekday", - "binnedyearweekdayhours", - "binnedyearweekdayhoursminutes", - "binnedyearweekdayhoursminutesseconds", - "binnedyeardayofyear", - ], - ], - Union[ - "TimeUnit", - Union[ - "MultiTimeUnit", - Union[ - "LocalMultiTimeUnit", - Literal[ - "yearquarter", - "yearquartermonth", - "yearmonth", - "yearmonthdate", - "yearmonthdatehours", - "yearmonthdatehoursminutes", - "yearmonthdatehoursminutesseconds", - "yearweek", - "yearweekday", - "yearweekdayhours", - "yearweekdayhoursminutes", - "yearweekdayhoursminutesseconds", - "yeardayofyear", - "quartermonth", - "monthdate", - "monthdatehours", - "monthdatehoursminutes", - "monthdatehoursminutesseconds", - "weekday", - "weeksdayhours", - "weekdayhoursminutes", - "weekdayhoursminutesseconds", - "dayhours", - "dayhoursminutes", - "dayhoursminutesseconds", - "hoursminutes", - "hoursminutesseconds", - "minutesseconds", - "secondsmilliseconds", - ], - ], - Union[ - "UtcMultiTimeUnit", - Literal[ - "utcyearquarter", - "utcyearquartermonth", - "utcyearmonth", - "utcyearmonthdate", - "utcyearmonthdatehours", - "utcyearmonthdatehoursminutes", - "utcyearmonthdatehoursminutesseconds", - "utcyearweek", - "utcyearweekday", - "utcyearweekdayhours", - "utcyearweekdayhoursminutes", - "utcyearweekdayhoursminutesseconds", - "utcyeardayofyear", - "utcquartermonth", - "utcmonthdate", - "utcmonthdatehours", - "utcmonthdatehoursminutes", - "utcmonthdatehoursminutesseconds", - "utcweekday", - "utcweeksdayhours", - "utcweekdayhoursminutes", - "utcweekdayhoursminutesseconds", - "utcdayhours", - "utcdayhoursminutes", - "utcdayhoursminutesseconds", - "utchoursminutes", - "utchoursminutesseconds", - "utcminutesseconds", - "utcsecondsmilliseconds", - ], - ], - ], - Union[ - "SingleTimeUnit", - Union[ - "LocalSingleTimeUnit", - Literal[ - "year", - "quarter", - "month", - "week", - "day", - "dayofyear", - "date", - "hours", - "minutes", - "seconds", - "milliseconds", - ], - ], - Union[ - "UtcSingleTimeUnit", - Literal[ - "utcyear", - "utcquarter", - "utcmonth", - "utcweek", - "utcday", - "utcdayofyear", - "utcdate", - "utchours", - "utcminutes", - "utcseconds", - "utcmilliseconds", - ], - ], - ], - ], - Union["TimeUnitParams", dict], - ], - UndefinedType, - ] = Undefined, - title: Union[ - Union[None, Union["Text", Sequence[str], str]], UndefinedType - ] = Undefined, + dict, + "SchemaBase", + Literal[ + "year", + "quarter", + "month", + "week", + "day", + "dayofyear", + "date", + "hours", + "minutes", + "seconds", + "milliseconds", + ], + Literal[ + "utcyear", + "utcquarter", + "utcmonth", + "utcweek", + "utcday", + "utcdayofyear", + "utcdate", + "utchours", + "utcminutes", + "utcseconds", + "utcmilliseconds", + ], + Literal[ + "binnedyear", + "binnedyearquarter", + "binnedyearquartermonth", + "binnedyearmonth", + "binnedyearmonthdate", + "binnedyearmonthdatehours", + "binnedyearmonthdatehoursminutes", + "binnedyearmonthdatehoursminutesseconds", + "binnedyearweek", + "binnedyearweekday", + "binnedyearweekdayhours", + "binnedyearweekdayhoursminutes", + "binnedyearweekdayhoursminutesseconds", + "binnedyeardayofyear", + ], + Literal[ + "binnedutcyear", + "binnedutcyearquarter", + "binnedutcyearquartermonth", + "binnedutcyearmonth", + "binnedutcyearmonthdate", + "binnedutcyearmonthdatehours", + "binnedutcyearmonthdatehoursminutes", + "binnedutcyearmonthdatehoursminutesseconds", + "binnedutcyearweek", + "binnedutcyearweekday", + "binnedutcyearweekdayhours", + "binnedutcyearweekdayhoursminutes", + "binnedutcyearweekdayhoursminutesseconds", + "binnedutcyeardayofyear", + ], + Literal[ + "yearquarter", + "yearquartermonth", + "yearmonth", + "yearmonthdate", + "yearmonthdatehours", + "yearmonthdatehoursminutes", + "yearmonthdatehoursminutesseconds", + "yearweek", + "yearweekday", + "yearweekdayhours", + "yearweekdayhoursminutes", + "yearweekdayhoursminutesseconds", + "yeardayofyear", + "quartermonth", + "monthdate", + "monthdatehours", + "monthdatehoursminutes", + "monthdatehoursminutesseconds", + "weekday", + "weeksdayhours", + "weekdayhoursminutes", + "weekdayhoursminutesseconds", + "dayhours", + "dayhoursminutes", + "dayhoursminutesseconds", + "hoursminutes", + "hoursminutesseconds", + "minutesseconds", + "secondsmilliseconds", + ], + Literal[ + "utcyearquarter", + "utcyearquartermonth", + "utcyearmonth", + "utcyearmonthdate", + "utcyearmonthdatehours", + "utcyearmonthdatehoursminutes", + "utcyearmonthdatehoursminutesseconds", + "utcyearweek", + "utcyearweekday", + "utcyearweekdayhours", + "utcyearweekdayhoursminutes", + "utcyearweekdayhoursminutesseconds", + "utcyeardayofyear", + "utcquartermonth", + "utcmonthdate", + "utcmonthdatehours", + "utcmonthdatehoursminutes", + "utcmonthdatehoursminutesseconds", + "utcweekday", + "utcweeksdayhours", + "utcweekdayhoursminutes", + "utcweekdayhoursminutesseconds", + "utcdayhours", + "utcdayhoursminutes", + "utcdayhoursminutesseconds", + "utchoursminutes", + "utchoursminutesseconds", + "utcminutesseconds", + "utcsecondsmilliseconds", + ], + UndefinedType, + ] = Undefined, + title: Union[str, None, "SchemaBase", Sequence[str], UndefinedType] = Undefined, type: Union[ - Union[ - "StandardType", - Literal["quantitative", "ordinal", "temporal", "nominal"], - ], + "SchemaBase", + Literal["quantitative", "ordinal", "temporal", "nominal"], UndefinedType, ] = Undefined, **kwds, @@ -53850,10 +46730,7 @@ def __init__( class URI(VegaLiteSchema): - """URI schema wrapper - - :class:`URI`, str - """ + """URI schema wrapper""" _schema = {"$ref": "#/definitions/URI"} @@ -53863,37 +46740,35 @@ def __init__(self, *args): class UnitSpec(VegaLiteSchema): """UnitSpec schema wrapper - - :class:`UnitSpec`, Dict[required=[mark]] Base interface for a unit (single-view) specification. Parameters ---------- - mark : :class:`AnyMark`, :class:`BoxPlotDef`, Dict[required=[type]], :class:`CompositeMarkDef`, :class:`ErrorBandDef`, Dict[required=[type]], :class:`ErrorBarDef`, Dict[required=[type]], :class:`BoxPlot`, str, :class:`CompositeMark`, :class:`ErrorBand`, str, :class:`ErrorBar`, str, :class:`MarkDef`, Dict[required=[type]], :class:`Mark`, Literal['arc', 'area', 'bar', 'image', 'line', 'point', 'rect', 'rule', 'text', 'tick', 'trail', 'circle', 'square', 'geoshape'] + mark : str, dict, :class:`Mark`, :class:`AnyMark`, :class:`BoxPlot`, :class:`MarkDef`, :class:`ErrorBar`, :class:`ErrorBand`, :class:`BoxPlotDef`, :class:`ErrorBarDef`, :class:`ErrorBandDef`, :class:`CompositeMark`, :class:`CompositeMarkDef`, Literal['arc', 'area', 'bar', 'image', 'line', 'point', 'rect', 'rule', 'text', 'tick', 'trail', 'circle', 'square', 'geoshape'] A string describing the mark type (one of ``"bar"``, ``"circle"``, ``"square"``, ``"tick"``, ``"line"``, ``"area"``, ``"point"``, ``"rule"``, ``"geoshape"``, and ``"text"`` ) or a `mark definition object `__. - data : :class:`DataSource`, :class:`InlineData`, Dict[required=[values]], :class:`NamedData`, Dict[required=[name]], :class:`UrlData`, Dict[required=[url]], :class:`Data`, :class:`Generator`, :class:`GraticuleGenerator`, Dict[required=[graticule]], :class:`SequenceGenerator`, Dict[required=[sequence]], :class:`SphereGenerator`, Dict[required=[sphere]], None + data : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` An object describing the data source. Set to ``null`` to ignore the parent's data source. If no data is set, it is derived from the parent. description : str Description of this mark for commenting purpose. - encoding : :class:`Encoding`, Dict + encoding : dict, :class:`Encoding` A key-value mapping between encoding channels and definition of fields. name : str Name of the visualization for later reference. - params : Sequence[:class:`SelectionParameter`, Dict[required=[name, select]]] + params : Sequence[dict, :class:`SelectionParameter`] An array of parameters that may either be simple variables, or more complex selections that map user input to data queries. - projection : :class:`Projection`, Dict + projection : dict, :class:`Projection` An object defining properties of geographic projection, which will be applied to ``shape`` path for ``"geoshape"`` marks and to ``latitude`` and ``"longitude"`` channels for other marks. - title : :class:`Text`, Sequence[str], str, :class:`TitleParams`, Dict[required=[text]] + title : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - transform : Sequence[:class:`AggregateTransform`, Dict[required=[aggregate]], :class:`BinTransform`, Dict[required=[bin, field, as]], :class:`CalculateTransform`, Dict[required=[calculate, as]], :class:`DensityTransform`, Dict[required=[density]], :class:`ExtentTransform`, Dict[required=[extent, param]], :class:`FilterTransform`, Dict[required=[filter]], :class:`FlattenTransform`, Dict[required=[flatten]], :class:`FoldTransform`, Dict[required=[fold]], :class:`ImputeTransform`, Dict[required=[impute, key]], :class:`JoinAggregateTransform`, Dict[required=[joinaggregate]], :class:`LoessTransform`, Dict[required=[loess, on]], :class:`LookupTransform`, Dict[required=[lookup, from]], :class:`PivotTransform`, Dict[required=[pivot, value]], :class:`QuantileTransform`, Dict[required=[quantile]], :class:`RegressionTransform`, Dict[required=[regression, on]], :class:`SampleTransform`, Dict[required=[sample]], :class:`StackTransform`, Dict[required=[stack, groupby, as]], :class:`TimeUnitTransform`, Dict[required=[timeUnit, field, as]], :class:`Transform`, :class:`WindowTransform`, Dict[required=[window]]] + transform : Sequence[dict, :class:`Transform`, :class:`BinTransform`, :class:`FoldTransform`, :class:`LoessTransform`, :class:`PivotTransform`, :class:`StackTransform`, :class:`ExtentTransform`, :class:`FilterTransform`, :class:`ImputeTransform`, :class:`LookupTransform`, :class:`SampleTransform`, :class:`WindowTransform`, :class:`DensityTransform`, :class:`FlattenTransform`, :class:`QuantileTransform`, :class:`TimeUnitTransform`, :class:`AggregateTransform`, :class:`CalculateTransform`, :class:`RegressionTransform`, :class:`JoinAggregateTransform`] An array of data transformations such as filter and new field calculation. """ @@ -53902,101 +46777,36 @@ class UnitSpec(VegaLiteSchema): def __init__( self, mark: Union[ - Union[ - "AnyMark", - Union[ - "CompositeMark", - Union["BoxPlot", str], - Union["ErrorBand", str], - Union["ErrorBar", str], - ], - Union[ - "CompositeMarkDef", - Union["BoxPlotDef", dict], - Union["ErrorBandDef", dict], - Union["ErrorBarDef", dict], - ], - Union[ - "Mark", - Literal[ - "arc", - "area", - "bar", - "image", - "line", - "point", - "rect", - "rule", - "text", - "tick", - "trail", - "circle", - "square", - "geoshape", - ], - ], - Union["MarkDef", dict], - ], - UndefinedType, - ] = Undefined, - data: Union[ - Union[ - None, - Union[ - "Data", - Union[ - "DataSource", - Union["InlineData", dict], - Union["NamedData", dict], - Union["UrlData", dict], - ], - Union[ - "Generator", - Union["GraticuleGenerator", dict], - Union["SequenceGenerator", dict], - Union["SphereGenerator", dict], - ], - ], - ], - UndefinedType, - ] = Undefined, + str, + dict, + "SchemaBase", + Literal[ + "arc", + "area", + "bar", + "image", + "line", + "point", + "rect", + "rule", + "text", + "tick", + "trail", + "circle", + "square", + "geoshape", + ], + UndefinedType, + ] = Undefined, + data: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, description: Union[str, UndefinedType] = Undefined, - encoding: Union[Union["Encoding", dict], UndefinedType] = Undefined, + encoding: Union[dict, "SchemaBase", UndefinedType] = Undefined, name: Union[str, UndefinedType] = Undefined, - params: Union[ - Sequence[Union["SelectionParameter", dict]], UndefinedType - ] = Undefined, - projection: Union[Union["Projection", dict], UndefinedType] = Undefined, - title: Union[ - Union[Union["Text", Sequence[str], str], Union["TitleParams", dict]], - UndefinedType, - ] = Undefined, + params: Union[Sequence[Union[dict, "SchemaBase"]], UndefinedType] = Undefined, + projection: Union[dict, "SchemaBase", UndefinedType] = Undefined, + title: Union[str, dict, "SchemaBase", Sequence[str], UndefinedType] = Undefined, transform: Union[ - Sequence[ - Union[ - "Transform", - Union["AggregateTransform", dict], - Union["BinTransform", dict], - Union["CalculateTransform", dict], - Union["DensityTransform", dict], - Union["ExtentTransform", dict], - Union["FilterTransform", dict], - Union["FlattenTransform", dict], - Union["FoldTransform", dict], - Union["ImputeTransform", dict], - Union["JoinAggregateTransform", dict], - Union["LoessTransform", dict], - Union["LookupTransform", dict], - Union["PivotTransform", dict], - Union["QuantileTransform", dict], - Union["RegressionTransform", dict], - Union["SampleTransform", dict], - Union["StackTransform", dict], - Union["TimeUnitTransform", dict], - Union["WindowTransform", dict], - ] - ], - UndefinedType, + Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, **kwds, ): @@ -54017,24 +46827,22 @@ def __init__( class UnitSpecWithFrame(VegaLiteSchema): """UnitSpecWithFrame schema wrapper - :class:`UnitSpecWithFrame`, Dict[required=[mark]] - Parameters ---------- - mark : :class:`AnyMark`, :class:`BoxPlotDef`, Dict[required=[type]], :class:`CompositeMarkDef`, :class:`ErrorBandDef`, Dict[required=[type]], :class:`ErrorBarDef`, Dict[required=[type]], :class:`BoxPlot`, str, :class:`CompositeMark`, :class:`ErrorBand`, str, :class:`ErrorBar`, str, :class:`MarkDef`, Dict[required=[type]], :class:`Mark`, Literal['arc', 'area', 'bar', 'image', 'line', 'point', 'rect', 'rule', 'text', 'tick', 'trail', 'circle', 'square', 'geoshape'] + mark : str, dict, :class:`Mark`, :class:`AnyMark`, :class:`BoxPlot`, :class:`MarkDef`, :class:`ErrorBar`, :class:`ErrorBand`, :class:`BoxPlotDef`, :class:`ErrorBarDef`, :class:`ErrorBandDef`, :class:`CompositeMark`, :class:`CompositeMarkDef`, Literal['arc', 'area', 'bar', 'image', 'line', 'point', 'rect', 'rule', 'text', 'tick', 'trail', 'circle', 'square', 'geoshape'] A string describing the mark type (one of ``"bar"``, ``"circle"``, ``"square"``, ``"tick"``, ``"line"``, ``"area"``, ``"point"``, ``"rule"``, ``"geoshape"``, and ``"text"`` ) or a `mark definition object `__. - data : :class:`DataSource`, :class:`InlineData`, Dict[required=[values]], :class:`NamedData`, Dict[required=[name]], :class:`UrlData`, Dict[required=[url]], :class:`Data`, :class:`Generator`, :class:`GraticuleGenerator`, Dict[required=[graticule]], :class:`SequenceGenerator`, Dict[required=[sequence]], :class:`SphereGenerator`, Dict[required=[sphere]], None + data : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` An object describing the data source. Set to ``null`` to ignore the parent's data source. If no data is set, it is derived from the parent. description : str Description of this mark for commenting purpose. - encoding : :class:`Encoding`, Dict + encoding : dict, :class:`Encoding` A key-value mapping between encoding channels and definition of fields. - height : :class:`Step`, Dict[required=[step]], float, str + height : str, dict, float, :class:`Step` The height of a visualization. @@ -54056,22 +46864,22 @@ class UnitSpecWithFrame(VegaLiteSchema): documentation. name : str Name of the visualization for later reference. - params : Sequence[:class:`SelectionParameter`, Dict[required=[name, select]]] + params : Sequence[dict, :class:`SelectionParameter`] An array of parameters that may either be simple variables, or more complex selections that map user input to data queries. - projection : :class:`Projection`, Dict + projection : dict, :class:`Projection` An object defining properties of geographic projection, which will be applied to ``shape`` path for ``"geoshape"`` marks and to ``latitude`` and ``"longitude"`` channels for other marks. - title : :class:`Text`, Sequence[str], str, :class:`TitleParams`, Dict[required=[text]] + title : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - transform : Sequence[:class:`AggregateTransform`, Dict[required=[aggregate]], :class:`BinTransform`, Dict[required=[bin, field, as]], :class:`CalculateTransform`, Dict[required=[calculate, as]], :class:`DensityTransform`, Dict[required=[density]], :class:`ExtentTransform`, Dict[required=[extent, param]], :class:`FilterTransform`, Dict[required=[filter]], :class:`FlattenTransform`, Dict[required=[flatten]], :class:`FoldTransform`, Dict[required=[fold]], :class:`ImputeTransform`, Dict[required=[impute, key]], :class:`JoinAggregateTransform`, Dict[required=[joinaggregate]], :class:`LoessTransform`, Dict[required=[loess, on]], :class:`LookupTransform`, Dict[required=[lookup, from]], :class:`PivotTransform`, Dict[required=[pivot, value]], :class:`QuantileTransform`, Dict[required=[quantile]], :class:`RegressionTransform`, Dict[required=[regression, on]], :class:`SampleTransform`, Dict[required=[sample]], :class:`StackTransform`, Dict[required=[stack, groupby, as]], :class:`TimeUnitTransform`, Dict[required=[timeUnit, field, as]], :class:`Transform`, :class:`WindowTransform`, Dict[required=[window]]] + transform : Sequence[dict, :class:`Transform`, :class:`BinTransform`, :class:`FoldTransform`, :class:`LoessTransform`, :class:`PivotTransform`, :class:`StackTransform`, :class:`ExtentTransform`, :class:`FilterTransform`, :class:`ImputeTransform`, :class:`LookupTransform`, :class:`SampleTransform`, :class:`WindowTransform`, :class:`DensityTransform`, :class:`FlattenTransform`, :class:`QuantileTransform`, :class:`TimeUnitTransform`, :class:`AggregateTransform`, :class:`CalculateTransform`, :class:`RegressionTransform`, :class:`JoinAggregateTransform`] An array of data transformations such as filter and new field calculation. - view : :class:`ViewBackground`, Dict + view : dict, :class:`ViewBackground` An object defining the view background's fill and stroke. **Default value:** none (transparent) - width : :class:`Step`, Dict[required=[step]], float, str + width : str, dict, float, :class:`Step` The width of a visualization. @@ -54098,107 +46906,40 @@ class UnitSpecWithFrame(VegaLiteSchema): def __init__( self, mark: Union[ - Union[ - "AnyMark", - Union[ - "CompositeMark", - Union["BoxPlot", str], - Union["ErrorBand", str], - Union["ErrorBar", str], - ], - Union[ - "CompositeMarkDef", - Union["BoxPlotDef", dict], - Union["ErrorBandDef", dict], - Union["ErrorBarDef", dict], - ], - Union[ - "Mark", - Literal[ - "arc", - "area", - "bar", - "image", - "line", - "point", - "rect", - "rule", - "text", - "tick", - "trail", - "circle", - "square", - "geoshape", - ], - ], - Union["MarkDef", dict], - ], - UndefinedType, - ] = Undefined, - data: Union[ - Union[ - None, - Union[ - "Data", - Union[ - "DataSource", - Union["InlineData", dict], - Union["NamedData", dict], - Union["UrlData", dict], - ], - Union[ - "Generator", - Union["GraticuleGenerator", dict], - Union["SequenceGenerator", dict], - Union["SphereGenerator", dict], - ], - ], - ], - UndefinedType, - ] = Undefined, + str, + dict, + "SchemaBase", + Literal[ + "arc", + "area", + "bar", + "image", + "line", + "point", + "rect", + "rule", + "text", + "tick", + "trail", + "circle", + "square", + "geoshape", + ], + UndefinedType, + ] = Undefined, + data: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, description: Union[str, UndefinedType] = Undefined, - encoding: Union[Union["Encoding", dict], UndefinedType] = Undefined, - height: Union[ - Union[Union["Step", dict], float, str], UndefinedType - ] = Undefined, + encoding: Union[dict, "SchemaBase", UndefinedType] = Undefined, + height: Union[str, dict, float, "SchemaBase", UndefinedType] = Undefined, name: Union[str, UndefinedType] = Undefined, - params: Union[ - Sequence[Union["SelectionParameter", dict]], UndefinedType - ] = Undefined, - projection: Union[Union["Projection", dict], UndefinedType] = Undefined, - title: Union[ - Union[Union["Text", Sequence[str], str], Union["TitleParams", dict]], - UndefinedType, - ] = Undefined, + params: Union[Sequence[Union[dict, "SchemaBase"]], UndefinedType] = Undefined, + projection: Union[dict, "SchemaBase", UndefinedType] = Undefined, + title: Union[str, dict, "SchemaBase", Sequence[str], UndefinedType] = Undefined, transform: Union[ - Sequence[ - Union[ - "Transform", - Union["AggregateTransform", dict], - Union["BinTransform", dict], - Union["CalculateTransform", dict], - Union["DensityTransform", dict], - Union["ExtentTransform", dict], - Union["FilterTransform", dict], - Union["FlattenTransform", dict], - Union["FoldTransform", dict], - Union["ImputeTransform", dict], - Union["JoinAggregateTransform", dict], - Union["LoessTransform", dict], - Union["LookupTransform", dict], - Union["PivotTransform", dict], - Union["QuantileTransform", dict], - Union["RegressionTransform", dict], - Union["SampleTransform", dict], - Union["StackTransform", dict], - Union["TimeUnitTransform", dict], - Union["WindowTransform", dict], - ] - ], - UndefinedType, + Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, - view: Union[Union["ViewBackground", dict], UndefinedType] = Undefined, - width: Union[Union[Union["Step", dict], float, str], UndefinedType] = Undefined, + view: Union[dict, "SchemaBase", UndefinedType] = Undefined, + width: Union[str, dict, float, "SchemaBase", UndefinedType] = Undefined, **kwds, ): super(UnitSpecWithFrame, self).__init__( @@ -54221,15 +46962,13 @@ def __init__( class UrlData(DataSource): """UrlData schema wrapper - :class:`UrlData`, Dict[required=[url]] - Parameters ---------- url : str An URL from which to load the data set. Use the ``format.type`` property to ensure the loaded data is correctly parsed. - format : :class:`CsvDataFormat`, Dict, :class:`DataFormat`, :class:`DsvDataFormat`, Dict[required=[delimiter]], :class:`JsonDataFormat`, Dict, :class:`TopoDataFormat`, Dict + format : dict, :class:`DataFormat`, :class:`CsvDataFormat`, :class:`DsvDataFormat`, :class:`JsonDataFormat`, :class:`TopoDataFormat` An object that specifies the format for parsing the data. name : str Provide a placeholder name and bind data at runtime. @@ -54240,16 +46979,7 @@ class UrlData(DataSource): def __init__( self, url: Union[str, UndefinedType] = Undefined, - format: Union[ - Union[ - "DataFormat", - Union["CsvDataFormat", dict], - Union["DsvDataFormat", dict], - Union["JsonDataFormat", dict], - Union["TopoDataFormat", dict], - ], - UndefinedType, - ] = Undefined, + format: Union[dict, "SchemaBase", UndefinedType] = Undefined, name: Union[str, UndefinedType] = Undefined, **kwds, ): @@ -54257,18 +46987,7 @@ def __init__( class UtcMultiTimeUnit(MultiTimeUnit): - """UtcMultiTimeUnit schema wrapper - - :class:`UtcMultiTimeUnit`, Literal['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', - 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', - 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', - 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', - 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', - 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', - 'utcweeksdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', - 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', - 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'] - """ + """UtcMultiTimeUnit schema wrapper""" _schema = {"$ref": "#/definitions/UtcMultiTimeUnit"} @@ -54277,12 +46996,7 @@ def __init__(self, *args): class UtcSingleTimeUnit(SingleTimeUnit): - """UtcSingleTimeUnit schema wrapper - - :class:`UtcSingleTimeUnit`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', - 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', - 'utcmilliseconds'] - """ + """UtcSingleTimeUnit schema wrapper""" _schema = {"$ref": "#/definitions/UtcSingleTimeUnit"} @@ -54292,14 +47006,12 @@ def __init__(self, *args): class VConcatSpecGenericSpec(Spec, NonNormalizedSpec): """VConcatSpecGenericSpec schema wrapper - - :class:`VConcatSpecGenericSpec`, Dict[required=[vconcat]] Base interface for a vertical concatenation specification. Parameters ---------- - vconcat : Sequence[:class:`ConcatSpecGenericSpec`, Dict[required=[concat]], :class:`FacetSpec`, Dict[required=[facet, spec]], :class:`FacetedUnitSpec`, Dict[required=[mark]], :class:`HConcatSpecGenericSpec`, Dict[required=[hconcat]], :class:`LayerRepeatSpec`, Dict[required=[repeat, spec]], :class:`NonLayerRepeatSpec`, Dict[required=[repeat, spec]], :class:`RepeatSpec`, :class:`LayerSpec`, Dict[required=[layer]], :class:`Spec`, :class:`VConcatSpecGenericSpec`, Dict[required=[vconcat]]] + vconcat : Sequence[dict, :class:`Spec`, :class:`FacetSpec`, :class:`LayerSpec`, :class:`RepeatSpec`, :class:`FacetedUnitSpec`, :class:`LayerRepeatSpec`, :class:`NonLayerRepeatSpec`, :class:`ConcatSpecGenericSpec`, :class:`HConcatSpecGenericSpec`, :class:`VConcatSpecGenericSpec`] A list of views to be concatenated and put into a column. bounds : Literal['full', 'flush'] The bounds calculation method to use for determining the extent of a sub-plot. One @@ -54318,22 +47030,22 @@ class VConcatSpecGenericSpec(Spec, NonNormalizedSpec): rows or columns. **Default value:** ``false`` - data : :class:`DataSource`, :class:`InlineData`, Dict[required=[values]], :class:`NamedData`, Dict[required=[name]], :class:`UrlData`, Dict[required=[url]], :class:`Data`, :class:`Generator`, :class:`GraticuleGenerator`, Dict[required=[graticule]], :class:`SequenceGenerator`, Dict[required=[sequence]], :class:`SphereGenerator`, Dict[required=[sphere]], None + data : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` An object describing the data source. Set to ``null`` to ignore the parent's data source. If no data is set, it is derived from the parent. description : str Description of this mark for commenting purpose. name : str Name of the visualization for later reference. - resolve : :class:`Resolve`, Dict + resolve : dict, :class:`Resolve` Scale, axis, and legend resolutions for view composition specifications. spacing : float The spacing in pixels between sub-views of the concat operator. **Default value** : ``10`` - title : :class:`Text`, Sequence[str], str, :class:`TitleParams`, Dict[required=[text]] + title : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - transform : Sequence[:class:`AggregateTransform`, Dict[required=[aggregate]], :class:`BinTransform`, Dict[required=[bin, field, as]], :class:`CalculateTransform`, Dict[required=[calculate, as]], :class:`DensityTransform`, Dict[required=[density]], :class:`ExtentTransform`, Dict[required=[extent, param]], :class:`FilterTransform`, Dict[required=[filter]], :class:`FlattenTransform`, Dict[required=[flatten]], :class:`FoldTransform`, Dict[required=[fold]], :class:`ImputeTransform`, Dict[required=[impute, key]], :class:`JoinAggregateTransform`, Dict[required=[joinaggregate]], :class:`LoessTransform`, Dict[required=[loess, on]], :class:`LookupTransform`, Dict[required=[lookup, from]], :class:`PivotTransform`, Dict[required=[pivot, value]], :class:`QuantileTransform`, Dict[required=[quantile]], :class:`RegressionTransform`, Dict[required=[regression, on]], :class:`SampleTransform`, Dict[required=[sample]], :class:`StackTransform`, Dict[required=[stack, groupby, as]], :class:`TimeUnitTransform`, Dict[required=[timeUnit, field, as]], :class:`Transform`, :class:`WindowTransform`, Dict[required=[window]]] + transform : Sequence[dict, :class:`Transform`, :class:`BinTransform`, :class:`FoldTransform`, :class:`LoessTransform`, :class:`PivotTransform`, :class:`StackTransform`, :class:`ExtentTransform`, :class:`FilterTransform`, :class:`ImputeTransform`, :class:`LookupTransform`, :class:`SampleTransform`, :class:`WindowTransform`, :class:`DensityTransform`, :class:`FlattenTransform`, :class:`QuantileTransform`, :class:`TimeUnitTransform`, :class:`AggregateTransform`, :class:`CalculateTransform`, :class:`RegressionTransform`, :class:`JoinAggregateTransform`] An array of data transformations such as filter and new field calculation. """ @@ -54341,82 +47053,17 @@ class VConcatSpecGenericSpec(Spec, NonNormalizedSpec): def __init__( self, - vconcat: Union[ - Sequence[ - Union[ - "Spec", - Union["ConcatSpecGenericSpec", dict], - Union["FacetSpec", dict], - Union["FacetedUnitSpec", dict], - Union["HConcatSpecGenericSpec", dict], - Union["LayerSpec", dict], - Union[ - "RepeatSpec", - Union["LayerRepeatSpec", dict], - Union["NonLayerRepeatSpec", dict], - ], - Union["VConcatSpecGenericSpec", dict], - ] - ], - UndefinedType, - ] = Undefined, + vconcat: Union[Sequence[Union[dict, "SchemaBase"]], UndefinedType] = Undefined, bounds: Union[Literal["full", "flush"], UndefinedType] = Undefined, center: Union[bool, UndefinedType] = Undefined, - data: Union[ - Union[ - None, - Union[ - "Data", - Union[ - "DataSource", - Union["InlineData", dict], - Union["NamedData", dict], - Union["UrlData", dict], - ], - Union[ - "Generator", - Union["GraticuleGenerator", dict], - Union["SequenceGenerator", dict], - Union["SphereGenerator", dict], - ], - ], - ], - UndefinedType, - ] = Undefined, + data: Union[dict, None, "SchemaBase", UndefinedType] = Undefined, description: Union[str, UndefinedType] = Undefined, name: Union[str, UndefinedType] = Undefined, - resolve: Union[Union["Resolve", dict], UndefinedType] = Undefined, + resolve: Union[dict, "SchemaBase", UndefinedType] = Undefined, spacing: Union[float, UndefinedType] = Undefined, - title: Union[ - Union[Union["Text", Sequence[str], str], Union["TitleParams", dict]], - UndefinedType, - ] = Undefined, + title: Union[str, dict, "SchemaBase", Sequence[str], UndefinedType] = Undefined, transform: Union[ - Sequence[ - Union[ - "Transform", - Union["AggregateTransform", dict], - Union["BinTransform", dict], - Union["CalculateTransform", dict], - Union["DensityTransform", dict], - Union["ExtentTransform", dict], - Union["FilterTransform", dict], - Union["FlattenTransform", dict], - Union["FoldTransform", dict], - Union["ImputeTransform", dict], - Union["JoinAggregateTransform", dict], - Union["LoessTransform", dict], - Union["LookupTransform", dict], - Union["PivotTransform", dict], - Union["QuantileTransform", dict], - Union["RegressionTransform", dict], - Union["SampleTransform", dict], - Union["StackTransform", dict], - Union["TimeUnitTransform", dict], - Union["WindowTransform", dict], - ] - ], - UndefinedType, + Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, **kwds, ): @@ -54440,14 +47087,12 @@ class ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull( ): """ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull schema wrapper - :class:`ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull`, Dict - Parameters ---------- - condition : :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, Dict[required=[param]], :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Dict[required=[test]], :class:`ConditionalParameterValueDefGradientstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefGradientstringnullExprRef`, Sequence[:class:`ConditionalParameterValueDefGradientstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefGradientstringnullExprRef`] + condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : :class:`ExprRef`, Dict[required=[expr]], :class:`Gradient`, :class:`LinearGradient`, Dict[required=[gradient, stops]], :class:`RadialGradient`, Dict[required=[gradient, stops]], None, str + value : str, dict, None, :class:`ExprRef`, :class:`Gradient`, :class:`LinearGradient`, :class:`RadialGradient` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -54460,49 +47105,10 @@ class ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull( def __init__( self, condition: Union[ - Union[ - Sequence[ - Union[ - "ConditionalValueDefGradientstringnullExprRef", - Union[ - "ConditionalParameterValueDefGradientstringnullExprRef", - dict, - ], - Union[ - "ConditionalPredicateValueDefGradientstringnullExprRef", - dict, - ], - ] - ], - Union[ - "ConditionalMarkPropFieldOrDatumDef", - Union["ConditionalParameterMarkPropFieldOrDatumDef", dict], - Union["ConditionalPredicateMarkPropFieldOrDatumDef", dict], - ], - Union[ - "ConditionalValueDefGradientstringnullExprRef", - Union[ - "ConditionalParameterValueDefGradientstringnullExprRef", dict - ], - Union[ - "ConditionalPredicateValueDefGradientstringnullExprRef", dict - ], - ], - ], - UndefinedType, + dict, "SchemaBase", Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, value: Union[ - Union[ - None, - Union["ExprRef", "_Parameter", dict], - Union[ - "Gradient", - Union["LinearGradient", dict], - Union["RadialGradient", dict], - ], - str, - ], - UndefinedType, + str, dict, None, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, **kwds, ): @@ -54516,14 +47122,12 @@ class ValueDefWithConditionMarkPropFieldOrDatumDefTypeForShapestringnull( ): """ValueDefWithConditionMarkPropFieldOrDatumDefTypeForShapestringnull schema wrapper - :class:`ValueDefWithConditionMarkPropFieldOrDatumDefTypeForShapestringnull`, Dict - Parameters ---------- - condition : :class:`ConditionalMarkPropFieldOrDatumDefTypeForShape`, :class:`ConditionalParameterMarkPropFieldOrDatumDefTypeForShape`, Dict[required=[param]], :class:`ConditionalPredicateMarkPropFieldOrDatumDefTypeForShape`, Dict[required=[test]], :class:`ConditionalParameterValueDefstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringnullExprRef`, Sequence[:class:`ConditionalParameterValueDefstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringnullExprRef`] + condition : dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, :class:`ConditionalMarkPropFieldOrDatumDefTypeForShape`, :class:`ConditionalParameterMarkPropFieldOrDatumDefTypeForShape`, :class:`ConditionalPredicateMarkPropFieldOrDatumDefTypeForShape`, Sequence[dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : :class:`ExprRef`, Dict[required=[expr]], None, str + value : str, dict, None, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -54536,33 +47140,10 @@ class ValueDefWithConditionMarkPropFieldOrDatumDefTypeForShapestringnull( def __init__( self, condition: Union[ - Union[ - Sequence[ - Union[ - "ConditionalValueDefstringnullExprRef", - Union["ConditionalParameterValueDefstringnullExprRef", dict], - Union["ConditionalPredicateValueDefstringnullExprRef", dict], - ] - ], - Union[ - "ConditionalMarkPropFieldOrDatumDefTypeForShape", - Union[ - "ConditionalParameterMarkPropFieldOrDatumDefTypeForShape", dict - ], - Union[ - "ConditionalPredicateMarkPropFieldOrDatumDefTypeForShape", dict - ], - ], - Union[ - "ConditionalValueDefstringnullExprRef", - Union["ConditionalParameterValueDefstringnullExprRef", dict], - Union["ConditionalPredicateValueDefstringnullExprRef", dict], - ], - ], - UndefinedType, + dict, "SchemaBase", Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, value: Union[ - Union[None, Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, None, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, **kwds, ): @@ -54576,14 +47157,12 @@ class ValueDefWithConditionMarkPropFieldOrDatumDefnumber( ): """ValueDefWithConditionMarkPropFieldOrDatumDefnumber schema wrapper - :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber`, Dict - Parameters ---------- - condition : :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, Dict[required=[param]], :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Dict[required=[test]], :class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`, Sequence[:class:`ConditionalParameterValueDefnumberExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberExprRef`] + condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : :class:`ExprRef`, Dict[required=[expr]], float + value : dict, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -54596,29 +47175,10 @@ class ValueDefWithConditionMarkPropFieldOrDatumDefnumber( def __init__( self, condition: Union[ - Union[ - Sequence[ - Union[ - "ConditionalValueDefnumberExprRef", - Union["ConditionalParameterValueDefnumberExprRef", dict], - Union["ConditionalPredicateValueDefnumberExprRef", dict], - ] - ], - Union[ - "ConditionalMarkPropFieldOrDatumDef", - Union["ConditionalParameterMarkPropFieldOrDatumDef", dict], - Union["ConditionalPredicateMarkPropFieldOrDatumDef", dict], - ], - Union[ - "ConditionalValueDefnumberExprRef", - Union["ConditionalParameterValueDefnumberExprRef", dict], - Union["ConditionalPredicateValueDefnumberExprRef", dict], - ], - ], - UndefinedType, + dict, "SchemaBase", Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, value: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, **kwds, ): @@ -54632,14 +47192,12 @@ class ValueDefWithConditionMarkPropFieldOrDatumDefnumberArray( ): """ValueDefWithConditionMarkPropFieldOrDatumDefnumberArray schema wrapper - :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumberArray`, Dict - Parameters ---------- - condition : :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, Dict[required=[param]], :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Dict[required=[test]], :class:`ConditionalParameterValueDefnumberArrayExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberArrayExprRef`, Sequence[:class:`ConditionalParameterValueDefnumberArrayExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefnumberArrayExprRef`] + condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : :class:`ExprRef`, Dict[required=[expr]], Sequence[float] + value : dict, Sequence[float], :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -54652,29 +47210,10 @@ class ValueDefWithConditionMarkPropFieldOrDatumDefnumberArray( def __init__( self, condition: Union[ - Union[ - Sequence[ - Union[ - "ConditionalValueDefnumberArrayExprRef", - Union["ConditionalParameterValueDefnumberArrayExprRef", dict], - Union["ConditionalPredicateValueDefnumberArrayExprRef", dict], - ] - ], - Union[ - "ConditionalMarkPropFieldOrDatumDef", - Union["ConditionalParameterMarkPropFieldOrDatumDef", dict], - Union["ConditionalPredicateMarkPropFieldOrDatumDef", dict], - ], - Union[ - "ConditionalValueDefnumberArrayExprRef", - Union["ConditionalParameterValueDefnumberArrayExprRef", dict], - Union["ConditionalPredicateValueDefnumberArrayExprRef", dict], - ], - ], - UndefinedType, + dict, "SchemaBase", Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, value: Union[ - Union[Sequence[float], Union["ExprRef", "_Parameter", dict]], UndefinedType + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, **kwds, ): @@ -54686,14 +47225,12 @@ def __init__( class ValueDefWithConditionMarkPropFieldOrDatumDefstringnull(VegaLiteSchema): """ValueDefWithConditionMarkPropFieldOrDatumDefstringnull schema wrapper - :class:`ValueDefWithConditionMarkPropFieldOrDatumDefstringnull`, Dict - Parameters ---------- - condition : :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, Dict[required=[param]], :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Dict[required=[test]], :class:`ConditionalParameterValueDefstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringnullExprRef`, Sequence[:class:`ConditionalParameterValueDefstringnullExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefstringnullExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefstringnullExprRef`] + condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : :class:`ExprRef`, Dict[required=[expr]], None, str + value : str, dict, None, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -54706,29 +47243,10 @@ class ValueDefWithConditionMarkPropFieldOrDatumDefstringnull(VegaLiteSchema): def __init__( self, condition: Union[ - Union[ - Sequence[ - Union[ - "ConditionalValueDefstringnullExprRef", - Union["ConditionalParameterValueDefstringnullExprRef", dict], - Union["ConditionalPredicateValueDefstringnullExprRef", dict], - ] - ], - Union[ - "ConditionalMarkPropFieldOrDatumDef", - Union["ConditionalParameterMarkPropFieldOrDatumDef", dict], - Union["ConditionalPredicateMarkPropFieldOrDatumDef", dict], - ], - Union[ - "ConditionalValueDefstringnullExprRef", - Union["ConditionalParameterValueDefstringnullExprRef", dict], - Union["ConditionalPredicateValueDefstringnullExprRef", dict], - ], - ], - UndefinedType, + dict, "SchemaBase", Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, value: Union[ - Union[None, Union["ExprRef", "_Parameter", dict], str], UndefinedType + str, dict, None, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, **kwds, ): @@ -54740,14 +47258,12 @@ def __init__( class ValueDefWithConditionStringFieldDefText(TextDef): """ValueDefWithConditionStringFieldDefText schema wrapper - :class:`ValueDefWithConditionStringFieldDefText`, Dict - Parameters ---------- - condition : :class:`ConditionalParameterStringFieldDef`, Dict[required=[param]], :class:`ConditionalPredicateStringFieldDef`, Dict[required=[test]], :class:`ConditionalStringFieldDef`, :class:`ConditionalParameterValueDefTextExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefTextExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefTextExprRef`, Sequence[:class:`ConditionalParameterValueDefTextExprRef`, Dict[required=[param, value]], :class:`ConditionalPredicateValueDefTextExprRef`, Dict[required=[test, value]], :class:`ConditionalValueDefTextExprRef`] + condition : dict, :class:`ConditionalStringFieldDef`, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterStringFieldDef`, :class:`ConditionalPredicateStringFieldDef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`, Sequence[dict, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : :class:`ExprRef`, Dict[required=[expr]], :class:`Text`, Sequence[str], str + value : str, dict, :class:`Text`, Sequence[str], :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -54758,32 +47274,10 @@ class ValueDefWithConditionStringFieldDefText(TextDef): def __init__( self, condition: Union[ - Union[ - Sequence[ - Union[ - "ConditionalValueDefTextExprRef", - Union["ConditionalParameterValueDefTextExprRef", dict], - Union["ConditionalPredicateValueDefTextExprRef", dict], - ] - ], - Union[ - "ConditionalStringFieldDef", - Union["ConditionalParameterStringFieldDef", dict], - Union["ConditionalPredicateStringFieldDef", dict], - ], - Union[ - "ConditionalValueDefTextExprRef", - Union["ConditionalParameterValueDefTextExprRef", dict], - Union["ConditionalPredicateValueDefTextExprRef", dict], - ], - ], - UndefinedType, + dict, "SchemaBase", Sequence[Union[dict, "SchemaBase"]], UndefinedType ] = Undefined, value: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], Union["Text", Sequence[str], str] - ], - UndefinedType, + str, dict, "_Parameter", "SchemaBase", Sequence[str], UndefinedType ] = Undefined, **kwds, ): @@ -54794,8 +47288,6 @@ def __init__( class ValueDefnumber(OffsetDef): """ValueDefnumber schema wrapper - - :class:`ValueDefnumber`, Dict[required=[value]] Definition object for a constant value (primitive value or gradient definition) of an encoding channel. @@ -54816,15 +47308,13 @@ def __init__(self, value: Union[float, UndefinedType] = Undefined, **kwds): class ValueDefnumberwidthheightExprRef(VegaLiteSchema): """ValueDefnumberwidthheightExprRef schema wrapper - - :class:`ValueDefnumberwidthheightExprRef`, Dict[required=[value]] Definition object for a constant value (primitive value or gradient definition) of an encoding channel. Parameters ---------- - value : :class:`ExprRef`, Dict[required=[expr]], float, str + value : str, dict, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -54835,7 +47325,7 @@ class ValueDefnumberwidthheightExprRef(VegaLiteSchema): def __init__( self, value: Union[ - Union[Union["ExprRef", "_Parameter", dict], float, str], UndefinedType + str, dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, **kwds, ): @@ -54845,20 +47335,18 @@ def __init__( class VariableParameter(TopLevelParameter): """VariableParameter schema wrapper - :class:`VariableParameter`, Dict[required=[name]] - Parameters ---------- - name : :class:`ParameterName`, str + name : str, :class:`ParameterName` A unique name for the variable parameter. Parameter names should be valid JavaScript identifiers: they should contain only alphanumeric characters (or "$", or "_") and may not start with a digit. Reserved keywords that may not be used as parameter names are "datum", "event", "item", and "parent". - bind : :class:`BindCheckbox`, Dict[required=[input]], :class:`BindDirect`, Dict[required=[element]], :class:`BindInput`, Dict, :class:`BindRadioSelect`, Dict[required=[input, options]], :class:`BindRange`, Dict[required=[input]], :class:`Binding` + bind : dict, :class:`Binding`, :class:`BindInput`, :class:`BindRange`, :class:`BindDirect`, :class:`BindCheckbox`, :class:`BindRadioSelect` Binds the parameter to an external input element such as a slider, selection list or radio button group. - expr : :class:`Expr`, str + expr : str, :class:`Expr` An expression for the value of the parameter. This expression may include other parameters, in which case the parameter will automatically update in response to upstream parameter changes. @@ -54873,19 +47361,9 @@ class VariableParameter(TopLevelParameter): def __init__( self, - name: Union[Union["ParameterName", str], UndefinedType] = Undefined, - bind: Union[ - Union[ - "Binding", - Union["BindCheckbox", dict], - Union["BindDirect", dict], - Union["BindInput", dict], - Union["BindRadioSelect", dict], - Union["BindRange", dict], - ], - UndefinedType, - ] = Undefined, - expr: Union[Union["Expr", str], UndefinedType] = Undefined, + name: Union[str, "SchemaBase", UndefinedType] = Undefined, + bind: Union[dict, "SchemaBase", UndefinedType] = Undefined, + expr: Union[str, "SchemaBase", UndefinedType] = Undefined, value: Union[Any, UndefinedType] = Undefined, **kwds, ): @@ -54895,10 +47373,7 @@ def __init__( class Vector10string(VegaLiteSchema): - """Vector10string schema wrapper - - :class:`Vector10string`, Sequence[str] - """ + """Vector10string schema wrapper""" _schema = {"$ref": "#/definitions/Vector10"} @@ -54907,10 +47382,7 @@ def __init__(self, *args): class Vector12string(VegaLiteSchema): - """Vector12string schema wrapper - - :class:`Vector12string`, Sequence[str] - """ + """Vector12string schema wrapper""" _schema = {"$ref": "#/definitions/Vector12"} @@ -54919,10 +47391,7 @@ def __init__(self, *args): class Vector2DateTime(SelectionInitInterval): - """Vector2DateTime schema wrapper - - :class:`Vector2DateTime`, Sequence[:class:`DateTime`, Dict] - """ + """Vector2DateTime schema wrapper""" _schema = {"$ref": "#/definitions/Vector2"} @@ -54931,10 +47400,7 @@ def __init__(self, *args): class Vector2Vector2number(VegaLiteSchema): - """Vector2Vector2number schema wrapper - - :class:`Vector2Vector2number`, Sequence[:class:`Vector2number`, Sequence[float]] - """ + """Vector2Vector2number schema wrapper""" _schema = {"$ref": "#/definitions/Vector2>"} @@ -54943,10 +47409,7 @@ def __init__(self, *args): class Vector2boolean(SelectionInitInterval): - """Vector2boolean schema wrapper - - :class:`Vector2boolean`, Sequence[bool] - """ + """Vector2boolean schema wrapper""" _schema = {"$ref": "#/definitions/Vector2"} @@ -54955,10 +47418,7 @@ def __init__(self, *args): class Vector2number(SelectionInitInterval): - """Vector2number schema wrapper - - :class:`Vector2number`, Sequence[float] - """ + """Vector2number schema wrapper""" _schema = {"$ref": "#/definitions/Vector2"} @@ -54967,10 +47427,7 @@ def __init__(self, *args): class Vector2string(SelectionInitInterval): - """Vector2string schema wrapper - - :class:`Vector2string`, Sequence[str] - """ + """Vector2string schema wrapper""" _schema = {"$ref": "#/definitions/Vector2"} @@ -54979,10 +47436,7 @@ def __init__(self, *args): class Vector3number(VegaLiteSchema): - """Vector3number schema wrapper - - :class:`Vector3number`, Sequence[float] - """ + """Vector3number schema wrapper""" _schema = {"$ref": "#/definitions/Vector3"} @@ -54991,10 +47445,7 @@ def __init__(self, *args): class Vector7string(VegaLiteSchema): - """Vector7string schema wrapper - - :class:`Vector7string`, Sequence[str] - """ + """Vector7string schema wrapper""" _schema = {"$ref": "#/definitions/Vector7"} @@ -55005,57 +47456,55 @@ def __init__(self, *args): class ViewBackground(VegaLiteSchema): """ViewBackground schema wrapper - :class:`ViewBackground`, Dict - Parameters ---------- - cornerRadius : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadius : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles or arcs' corners. **Default value:** ``0`` cursor : :class:`Cursor`, Literal['auto', 'default', 'none', 'context-menu', 'help', 'pointer', 'progress', 'wait', 'cell', 'crosshair', 'text', 'vertical-text', 'alias', 'copy', 'move', 'no-drop', 'not-allowed', 'e-resize', 'n-resize', 'ne-resize', 'nw-resize', 's-resize', 'se-resize', 'sw-resize', 'w-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'col-resize', 'row-resize', 'all-scroll', 'zoom-in', 'zoom-out', 'grab', 'grabbing'] The mouse cursor used over the view. Any valid `CSS cursor type `__ can be used. - fill : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], None + fill : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] The fill color. **Default value:** ``undefined`` - fillOpacity : :class:`ExprRef`, Dict[required=[expr]], float + fillOpacity : dict, float, :class:`ExprRef` The fill opacity (value between [0,1]). **Default value:** ``1`` - opacity : :class:`ExprRef`, Dict[required=[expr]], float + opacity : dict, float, :class:`ExprRef` The overall opacity (value between [0,1]). **Default value:** ``0.7`` for non-aggregate plots with ``point``, ``tick``, ``circle``, or ``square`` marks or layered ``bar`` charts and ``1`` otherwise. - stroke : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], None + stroke : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] The stroke color. **Default value:** ``"#ddd"`` - strokeCap : :class:`ExprRef`, Dict[required=[expr]], :class:`StrokeCap`, Literal['butt', 'round', 'square'] + strokeCap : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] The stroke cap for line ending style. One of ``"butt"``, ``"round"``, or ``"square"``. **Default value:** ``"butt"`` - strokeDash : :class:`ExprRef`, Dict[required=[expr]], Sequence[float] + strokeDash : dict, Sequence[float], :class:`ExprRef` An array of alternating stroke, space lengths for creating dashed or dotted lines. - strokeDashOffset : :class:`ExprRef`, Dict[required=[expr]], float + strokeDashOffset : dict, float, :class:`ExprRef` The offset (in pixels) into which to begin drawing with the stroke dash array. - strokeJoin : :class:`ExprRef`, Dict[required=[expr]], :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] + strokeJoin : dict, :class:`ExprRef`, :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] The stroke line join method. One of ``"miter"``, ``"round"`` or ``"bevel"``. **Default value:** ``"miter"`` - strokeMiterLimit : :class:`ExprRef`, Dict[required=[expr]], float + strokeMiterLimit : dict, float, :class:`ExprRef` The miter limit at which to bevel a line join. - strokeOpacity : :class:`ExprRef`, Dict[required=[expr]], float + strokeOpacity : dict, float, :class:`ExprRef` The stroke opacity (value between [0,1]). **Default value:** ``1`` - strokeWidth : :class:`ExprRef`, Dict[required=[expr]], float + strokeWidth : dict, float, :class:`ExprRef` The stroke width, in pixels. - style : Sequence[str], str + style : str, Sequence[str] A string or array of strings indicating the name of custom styles to apply to the view background. A style is a named collection of mark property defaults defined within the `style configuration @@ -55071,418 +47520,402 @@ class ViewBackground(VegaLiteSchema): def __init__( self, cornerRadius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cursor: Union[ - Union[ - "Cursor", - Literal[ - "auto", - "default", - "none", - "context-menu", - "help", - "pointer", - "progress", - "wait", - "cell", - "crosshair", - "text", - "vertical-text", - "alias", - "copy", - "move", - "no-drop", - "not-allowed", - "e-resize", - "n-resize", - "ne-resize", - "nw-resize", - "s-resize", - "se-resize", - "sw-resize", - "w-resize", - "ew-resize", - "ns-resize", - "nesw-resize", - "nwse-resize", - "col-resize", - "row-resize", - "all-scroll", - "zoom-in", - "zoom-out", - "grab", - "grabbing", - ], + "SchemaBase", + Literal[ + "auto", + "default", + "none", + "context-menu", + "help", + "pointer", + "progress", + "wait", + "cell", + "crosshair", + "text", + "vertical-text", + "alias", + "copy", + "move", + "no-drop", + "not-allowed", + "e-resize", + "n-resize", + "ne-resize", + "nw-resize", + "s-resize", + "se-resize", + "sw-resize", + "w-resize", + "ew-resize", + "ns-resize", + "nesw-resize", + "nwse-resize", + "col-resize", + "row-resize", + "all-scroll", + "zoom-in", + "zoom-out", + "grab", + "grabbing", ], UndefinedType, ] = Undefined, fill: Union[ - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, fillOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, opacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, stroke: Union[ - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, strokeCap: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["StrokeCap", Literal["butt", "round", "square"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, strokeDash: Union[ - Union[Sequence[float], Union["ExprRef", "_Parameter", dict]], UndefinedType + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, strokeDashOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeJoin: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["StrokeJoin", Literal["miter", "round", "bevel"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["miter", "round", "bevel"], UndefinedType, ] = Undefined, strokeMiterLimit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeWidth: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, - style: Union[Union[Sequence[str], str], UndefinedType] = Undefined, + style: Union[str, Sequence[str], UndefinedType] = Undefined, **kwds, ): super(ViewBackground, self).__init__( @@ -55507,8 +47940,6 @@ def __init__( class ViewConfig(VegaLiteSchema): """ViewConfig schema wrapper - :class:`ViewConfig`, Dict - Parameters ---------- @@ -55524,64 +47955,64 @@ class ViewConfig(VegaLiteSchema): arc marks. **Default value:** ``200`` - cornerRadius : :class:`ExprRef`, Dict[required=[expr]], float + cornerRadius : dict, float, :class:`ExprRef` The radius in pixels of rounded rectangles or arcs' corners. **Default value:** ``0`` cursor : :class:`Cursor`, Literal['auto', 'default', 'none', 'context-menu', 'help', 'pointer', 'progress', 'wait', 'cell', 'crosshair', 'text', 'vertical-text', 'alias', 'copy', 'move', 'no-drop', 'not-allowed', 'e-resize', 'n-resize', 'ne-resize', 'nw-resize', 's-resize', 'se-resize', 'sw-resize', 'w-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'col-resize', 'row-resize', 'all-scroll', 'zoom-in', 'zoom-out', 'grab', 'grabbing'] The mouse cursor used over the view. Any valid `CSS cursor type `__ can be used. - discreteHeight : Dict[required=[step]], float + discreteHeight : dict, float The default height when the plot has non arc marks and either a discrete y-field or no y-field. The height can be either a number indicating a fixed height or an object in the form of ``{step: number}`` defining the height per discrete step. **Default value:** a step size based on ``config.view.step``. - discreteWidth : Dict[required=[step]], float + discreteWidth : dict, float The default width when the plot has non-arc marks and either a discrete x-field or no x-field. The width can be either a number indicating a fixed width or an object in the form of ``{step: number}`` defining the width per discrete step. **Default value:** a step size based on ``config.view.step``. - fill : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], None + fill : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] The fill color. **Default value:** ``undefined`` - fillOpacity : :class:`ExprRef`, Dict[required=[expr]], float + fillOpacity : dict, float, :class:`ExprRef` The fill opacity (value between [0,1]). **Default value:** ``1`` - opacity : :class:`ExprRef`, Dict[required=[expr]], float + opacity : dict, float, :class:`ExprRef` The overall opacity (value between [0,1]). **Default value:** ``0.7`` for non-aggregate plots with ``point``, ``tick``, ``circle``, or ``square`` marks or layered ``bar`` charts and ``1`` otherwise. step : float Default step size for x-/y- discrete fields. - stroke : :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'], :class:`Color`, :class:`HexColor`, str, str, :class:`ExprRef`, Dict[required=[expr]], None + stroke : str, dict, None, :class:`Color`, :class:`ExprRef`, :class:`HexColor`, :class:`ColorName`, Literal['black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua', 'orange', 'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'blanchedalmond', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'limegreen', 'linen', 'magenta', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'oldlace', 'olivedrab', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', 'rebeccapurple'] The stroke color. **Default value:** ``"#ddd"`` - strokeCap : :class:`ExprRef`, Dict[required=[expr]], :class:`StrokeCap`, Literal['butt', 'round', 'square'] + strokeCap : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] The stroke cap for line ending style. One of ``"butt"``, ``"round"``, or ``"square"``. **Default value:** ``"butt"`` - strokeDash : :class:`ExprRef`, Dict[required=[expr]], Sequence[float] + strokeDash : dict, Sequence[float], :class:`ExprRef` An array of alternating stroke, space lengths for creating dashed or dotted lines. - strokeDashOffset : :class:`ExprRef`, Dict[required=[expr]], float + strokeDashOffset : dict, float, :class:`ExprRef` The offset (in pixels) into which to begin drawing with the stroke dash array. - strokeJoin : :class:`ExprRef`, Dict[required=[expr]], :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] + strokeJoin : dict, :class:`ExprRef`, :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] The stroke line join method. One of ``"miter"``, ``"round"`` or ``"bevel"``. **Default value:** ``"miter"`` - strokeMiterLimit : :class:`ExprRef`, Dict[required=[expr]], float + strokeMiterLimit : dict, float, :class:`ExprRef` The miter limit at which to bevel a line join. - strokeOpacity : :class:`ExprRef`, Dict[required=[expr]], float + strokeOpacity : dict, float, :class:`ExprRef` The stroke opacity (value between [0,1]). **Default value:** ``1`` - strokeWidth : :class:`ExprRef`, Dict[required=[expr]], float + strokeWidth : dict, float, :class:`ExprRef` The stroke width, in pixels. """ @@ -55593,419 +48024,403 @@ def __init__( continuousHeight: Union[float, UndefinedType] = Undefined, continuousWidth: Union[float, UndefinedType] = Undefined, cornerRadius: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, cursor: Union[ - Union[ - "Cursor", - Literal[ - "auto", - "default", - "none", - "context-menu", - "help", - "pointer", - "progress", - "wait", - "cell", - "crosshair", - "text", - "vertical-text", - "alias", - "copy", - "move", - "no-drop", - "not-allowed", - "e-resize", - "n-resize", - "ne-resize", - "nw-resize", - "s-resize", - "se-resize", - "sw-resize", - "w-resize", - "ew-resize", - "ns-resize", - "nesw-resize", - "nwse-resize", - "col-resize", - "row-resize", - "all-scroll", - "zoom-in", - "zoom-out", - "grab", - "grabbing", - ], - ], - UndefinedType, - ] = Undefined, - discreteHeight: Union[Union[dict, float], UndefinedType] = Undefined, - discreteWidth: Union[Union[dict, float], UndefinedType] = Undefined, + "SchemaBase", + Literal[ + "auto", + "default", + "none", + "context-menu", + "help", + "pointer", + "progress", + "wait", + "cell", + "crosshair", + "text", + "vertical-text", + "alias", + "copy", + "move", + "no-drop", + "not-allowed", + "e-resize", + "n-resize", + "ne-resize", + "nw-resize", + "s-resize", + "se-resize", + "sw-resize", + "w-resize", + "ew-resize", + "ns-resize", + "nesw-resize", + "nwse-resize", + "col-resize", + "row-resize", + "all-scroll", + "zoom-in", + "zoom-out", + "grab", + "grabbing", + ], + UndefinedType, + ] = Undefined, + discreteHeight: Union[dict, float, UndefinedType] = Undefined, + discreteWidth: Union[dict, float, UndefinedType] = Undefined, fill: Union[ - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, fillOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, opacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, step: Union[float, UndefinedType] = Undefined, stroke: Union[ - Union[ - None, - Union[ - "Color", - Union[ - "ColorName", - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - ], - Union["HexColor", str], - str, - ], - Union["ExprRef", "_Parameter", dict], + str, + dict, + None, + "_Parameter", + "SchemaBase", + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, strokeCap: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["StrokeCap", Literal["butt", "round", "square"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, strokeDash: Union[ - Union[Sequence[float], Union["ExprRef", "_Parameter", dict]], UndefinedType + dict, "_Parameter", "SchemaBase", Sequence[float], UndefinedType ] = Undefined, strokeDashOffset: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeJoin: Union[ - Union[ - Union["ExprRef", "_Parameter", dict], - Union["StrokeJoin", Literal["miter", "round", "bevel"]], - ], + dict, + "_Parameter", + "SchemaBase", + Literal["miter", "round", "bevel"], UndefinedType, ] = Undefined, strokeMiterLimit: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeOpacity: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, strokeWidth: Union[ - Union[Union["ExprRef", "_Parameter", dict], float], UndefinedType + dict, float, "_Parameter", "SchemaBase", UndefinedType ] = Undefined, **kwds, ): @@ -56034,14 +48449,7 @@ def __init__( class WindowEventType(VegaLiteSchema): - """WindowEventType schema wrapper - - :class:`EventType`, Literal['click', 'dblclick', 'dragenter', 'dragleave', 'dragover', - 'keydown', 'keypress', 'keyup', 'mousedown', 'mousemove', 'mouseout', 'mouseover', - 'mouseup', 'mousewheel', 'pointerdown', 'pointermove', 'pointerout', 'pointerover', - 'pointerup', 'timer', 'touchend', 'touchmove', 'touchstart', 'wheel'], - :class:`WindowEventType`, str - """ + """WindowEventType schema wrapper""" _schema = {"$ref": "#/definitions/WindowEventType"} @@ -56050,13 +48458,7 @@ def __init__(self, *args, **kwds): class EventType(WindowEventType): - """EventType schema wrapper - - :class:`EventType`, Literal['click', 'dblclick', 'dragenter', 'dragleave', 'dragover', - 'keydown', 'keypress', 'keyup', 'mousedown', 'mousemove', 'mouseout', 'mouseover', - 'mouseup', 'mousewheel', 'pointerdown', 'pointermove', 'pointerout', 'pointerover', - 'pointerup', 'timer', 'touchend', 'touchmove', 'touchstart', 'wheel'] - """ + """EventType schema wrapper""" _schema = {"$ref": "#/definitions/EventType"} @@ -56067,16 +48469,14 @@ def __init__(self, *args): class WindowFieldDef(VegaLiteSchema): """WindowFieldDef schema wrapper - :class:`WindowFieldDef`, Dict[required=[op, as]] - Parameters ---------- - op : :class:`AggregateOp`, Literal['argmax', 'argmin', 'average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'], :class:`WindowOnlyOp`, Literal['row_number', 'rank', 'dense_rank', 'percent_rank', 'cume_dist', 'ntile', 'lag', 'lead', 'first_value', 'last_value', 'nth_value'] + op : :class:`AggregateOp`, :class:`WindowOnlyOp`, Literal['row_number', 'rank', 'dense_rank', 'percent_rank', 'cume_dist', 'ntile', 'lag', 'lead', 'first_value', 'last_value', 'nth_value'], Literal['argmax', 'argmin', 'average', 'count', 'distinct', 'max', 'mean', 'median', 'min', 'missing', 'product', 'q1', 'q3', 'ci0', 'ci1', 'stderr', 'stdev', 'stdevp', 'sum', 'valid', 'values', 'variance', 'variancep'] The window or aggregation operation to apply within a window (e.g., ``"rank"``, ``"lead"``, ``"sum"``, ``"average"`` or ``"count"`` ). See the list of all supported operations `here `__. - field : :class:`FieldName`, str + field : str, :class:`FieldName` The data field for which to compute the aggregate or window function. This can be omitted for window functions that do not operate over a field such as ``"count"``, ``"rank"``, ``"dense_rank"``. @@ -56086,7 +48486,7 @@ class WindowFieldDef(VegaLiteSchema): See the list of all supported operations and their parameters `here `__. - as : :class:`FieldName`, str + as : str, :class:`FieldName` The output name for the window operation. """ @@ -56095,55 +48495,48 @@ class WindowFieldDef(VegaLiteSchema): def __init__( self, op: Union[ - Union[ - Union[ - "AggregateOp", - Literal[ - "argmax", - "argmin", - "average", - "count", - "distinct", - "max", - "mean", - "median", - "min", - "missing", - "product", - "q1", - "q3", - "ci0", - "ci1", - "stderr", - "stdev", - "stdevp", - "sum", - "valid", - "values", - "variance", - "variancep", - ], - ], - Union[ - "WindowOnlyOp", - Literal[ - "row_number", - "rank", - "dense_rank", - "percent_rank", - "cume_dist", - "ntile", - "lag", - "lead", - "first_value", - "last_value", - "nth_value", - ], - ], - ], - UndefinedType, - ] = Undefined, - field: Union[Union["FieldName", str], UndefinedType] = Undefined, + "SchemaBase", + Literal[ + "row_number", + "rank", + "dense_rank", + "percent_rank", + "cume_dist", + "ntile", + "lag", + "lead", + "first_value", + "last_value", + "nth_value", + ], + Literal[ + "argmax", + "argmin", + "average", + "count", + "distinct", + "max", + "mean", + "median", + "min", + "missing", + "product", + "q1", + "q3", + "ci0", + "ci1", + "stderr", + "stdev", + "stdevp", + "sum", + "valid", + "values", + "variance", + "variancep", + ], + UndefinedType, + ] = Undefined, + field: Union[str, "SchemaBase", UndefinedType] = Undefined, param: Union[float, UndefinedType] = Undefined, **kwds, ): @@ -56151,11 +48544,7 @@ def __init__( class WindowOnlyOp(VegaLiteSchema): - """WindowOnlyOp schema wrapper - - :class:`WindowOnlyOp`, Literal['row_number', 'rank', 'dense_rank', 'percent_rank', - 'cume_dist', 'ntile', 'lag', 'lead', 'first_value', 'last_value', 'nth_value'] - """ + """WindowOnlyOp schema wrapper""" _schema = {"$ref": "#/definitions/WindowOnlyOp"} @@ -56166,12 +48555,10 @@ def __init__(self, *args): class WindowTransform(Transform): """WindowTransform schema wrapper - :class:`WindowTransform`, Dict[required=[window]] - Parameters ---------- - window : Sequence[:class:`WindowFieldDef`, Dict[required=[op, as]]] + window : Sequence[dict, :class:`WindowFieldDef`] The definition of the fields in the window, and what calculations to use. frame : Sequence[None, float] A frame specification as a two-element array indicating how the sliding window @@ -56190,7 +48577,7 @@ class WindowTransform(Transform): **Default value:** : ``[null, 0]`` (includes the current object and all preceding objects) - groupby : Sequence[:class:`FieldName`, str] + groupby : Sequence[str, :class:`FieldName`] The data fields for partitioning the data objects into separate windows. If unspecified, all data points will be in a single window. ignorePeers : bool @@ -56202,7 +48589,7 @@ class WindowTransform(Transform): last_value, and nth_value window operations. **Default value:** ``false`` - sort : Sequence[:class:`SortField`, Dict[required=[field]]] + sort : Sequence[dict, :class:`SortField`] A sort field definition for sorting data objects within a window. If two data objects are considered equal by the comparator, they are considered "peer" values of equal rank. If sort is not specified, the order is undefined: data objects are @@ -56214,13 +48601,11 @@ class WindowTransform(Transform): def __init__( self, - window: Union[ - Sequence[Union["WindowFieldDef", dict]], UndefinedType - ] = Undefined, + window: Union[Sequence[Union[dict, "SchemaBase"]], UndefinedType] = Undefined, frame: Union[Sequence[Union[None, float]], UndefinedType] = Undefined, - groupby: Union[Sequence[Union["FieldName", str]], UndefinedType] = Undefined, + groupby: Union[Sequence[Union[str, "SchemaBase"]], UndefinedType] = Undefined, ignorePeers: Union[bool, UndefinedType] = Undefined, - sort: Union[Sequence[Union["SortField", dict]], UndefinedType] = Undefined, + sort: Union[Sequence[Union[dict, "SchemaBase"]], UndefinedType] = Undefined, **kwds, ): super(WindowTransform, self).__init__( diff --git a/altair/vegalite/v5/schema/mixins.py b/altair/vegalite/v5/schema/mixins.py index b1d50cbfb..9c4af3258 100644 --- a/altair/vegalite/v5/schema/mixins.py +++ b/altair/vegalite/v5/schema/mixins.py @@ -22,908 +22,824 @@ class MarkMethodMixin: def mark_arc( self, align: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, angle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, aria: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ariaRole: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ariaRoleDescription: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, aspect: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, bandSize: Union[float, UndefinedType] = Undefined, baseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, binSpacing: Union[float, UndefinedType] = Undefined, blend: Union[ - Union[ - Union[ - Literal[ - None, - "multiply", - "screen", - "overlay", - "darken", - "lighten", - "color-dodge", - "color-burn", - "hard-light", - "soft-light", - "difference", - "exclusion", - "hue", - "saturation", - "color", - "luminosity", - ], - core.Blend, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + None, + "multiply", + "screen", + "overlay", + "darken", + "lighten", + "color-dodge", + "color-burn", + "hard-light", + "soft-light", + "difference", + "exclusion", + "hue", + "saturation", + "color", + "luminosity", ], UndefinedType, ] = Undefined, clip: Union[bool, UndefinedType] = Undefined, color: Union[ - Union[ - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, continuousBandSize: Union[float, UndefinedType] = Undefined, cornerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusBottomLeft: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusBottomRight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusEnd: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusTopLeft: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusTopRight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cursor: Union[ - Union[ - Union[ - Literal[ - "auto", - "default", - "none", - "context-menu", - "help", - "pointer", - "progress", - "wait", - "cell", - "crosshair", - "text", - "vertical-text", - "alias", - "copy", - "move", - "no-drop", - "not-allowed", - "e-resize", - "n-resize", - "ne-resize", - "nw-resize", - "s-resize", - "se-resize", - "sw-resize", - "w-resize", - "ew-resize", - "ns-resize", - "nesw-resize", - "nwse-resize", - "col-resize", - "row-resize", - "all-scroll", - "zoom-in", - "zoom-out", - "grab", - "grabbing", - ], - core.Cursor, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "auto", + "default", + "none", + "context-menu", + "help", + "pointer", + "progress", + "wait", + "cell", + "crosshair", + "text", + "vertical-text", + "alias", + "copy", + "move", + "no-drop", + "not-allowed", + "e-resize", + "n-resize", + "ne-resize", + "nw-resize", + "s-resize", + "se-resize", + "sw-resize", + "w-resize", + "ew-resize", + "ns-resize", + "nesw-resize", + "nwse-resize", + "col-resize", + "row-resize", + "all-scroll", + "zoom-in", + "zoom-out", + "grab", + "grabbing", ], UndefinedType, ] = Undefined, description: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, dir: Union[ - Union[ - Union[Literal["ltr", "rtl"], core.TextDirection], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Literal["ltr", "rtl"], UndefinedType ] = Undefined, discreteBandSize: Union[ - Union[Union[core.RelativeBandSize, dict], float], UndefinedType + dict, float, core.SchemaBase, UndefinedType ] = Undefined, dx: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, dy: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ellipsis: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fill: Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, fillOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, filled: Union[bool, UndefinedType] = Undefined, font: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, height: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], - Union[core.RelativeBandSize, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, href: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], Union[core.URI, str]], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, innerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "basis", - "basis-open", - "basis-closed", - "bundle", - "cardinal", - "cardinal-open", - "cardinal-closed", - "catmull-rom", - "linear", - "linear-closed", - "monotone", - "natural", - "step", - "step-before", - "step-after", - ], - core.Interpolate, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "basis", + "basis-open", + "basis-closed", + "bundle", + "cardinal", + "cardinal-open", + "cardinal-closed", + "catmull-rom", + "linear", + "linear-closed", + "monotone", + "natural", + "step", + "step-before", + "step-after", ], UndefinedType, ] = Undefined, invalid: Union[Literal["filter", None], UndefinedType] = Undefined, limit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - line: Union[ - Union[Union[core.OverlayMarkDef, dict], bool], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + line: Union[bool, dict, core.SchemaBase, UndefinedType] = Undefined, lineBreak: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, lineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, minBandSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, opacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - order: Union[Union[None, bool], UndefinedType] = Undefined, + order: Union[bool, None, UndefinedType] = Undefined, orient: Union[ - Union[Literal["horizontal", "vertical"], core.Orientation], UndefinedType + core.SchemaBase, Literal["horizontal", "vertical"], UndefinedType ] = Undefined, outerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, padAngle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - point: Union[ - Union[Union[core.OverlayMarkDef, dict], bool, str], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + point: Union[str, bool, dict, core.SchemaBase, UndefinedType] = Undefined, radius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radius2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radius2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radiusOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, shape: Union[ - Union[ - Union[Union[core.SymbolShape, str], str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, size: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, smooth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, stroke: Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, strokeCap: Union[ - Union[ - Union[Literal["butt", "round", "square"], core.StrokeCap], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, strokeDash: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, strokeDashOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeJoin: Union[ - Union[ - Union[Literal["miter", "round", "bevel"], core.StrokeJoin], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["miter", "round", "bevel"], UndefinedType, ] = Undefined, strokeMiterLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - style: Union[Union[Sequence[str], str], UndefinedType] = Undefined, + style: Union[str, Sequence[str], UndefinedType] = Undefined, tension: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, text: Union[ - Union[ - Union[Sequence[str], core.Text, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, Sequence[str], core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, thetaOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, thickness: Union[float, UndefinedType] = Undefined, timeUnitBandPosition: Union[float, UndefinedType] = Undefined, timeUnitBandSize: Union[float, UndefinedType] = Undefined, tooltip: Union[ - Union[ - None, - Union[core.ExprRef, core._Parameter, dict], - Union[core.TooltipContent, dict], - bool, - float, - str, - ], + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, UndefinedType, ] = Undefined, url: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], Union[core.URI, str]], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, width: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], - Union[core.RelativeBandSize, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, xOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, yOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> Self: @@ -1027,908 +943,824 @@ def mark_arc( def mark_area( self, align: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, angle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, aria: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ariaRole: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ariaRoleDescription: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, aspect: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, bandSize: Union[float, UndefinedType] = Undefined, baseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, binSpacing: Union[float, UndefinedType] = Undefined, blend: Union[ - Union[ - Union[ - Literal[ - None, - "multiply", - "screen", - "overlay", - "darken", - "lighten", - "color-dodge", - "color-burn", - "hard-light", - "soft-light", - "difference", - "exclusion", - "hue", - "saturation", - "color", - "luminosity", - ], - core.Blend, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + None, + "multiply", + "screen", + "overlay", + "darken", + "lighten", + "color-dodge", + "color-burn", + "hard-light", + "soft-light", + "difference", + "exclusion", + "hue", + "saturation", + "color", + "luminosity", ], UndefinedType, ] = Undefined, clip: Union[bool, UndefinedType] = Undefined, color: Union[ - Union[ - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, continuousBandSize: Union[float, UndefinedType] = Undefined, cornerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusBottomLeft: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusBottomRight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusEnd: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusTopLeft: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusTopRight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cursor: Union[ - Union[ - Union[ - Literal[ - "auto", - "default", - "none", - "context-menu", - "help", - "pointer", - "progress", - "wait", - "cell", - "crosshair", - "text", - "vertical-text", - "alias", - "copy", - "move", - "no-drop", - "not-allowed", - "e-resize", - "n-resize", - "ne-resize", - "nw-resize", - "s-resize", - "se-resize", - "sw-resize", - "w-resize", - "ew-resize", - "ns-resize", - "nesw-resize", - "nwse-resize", - "col-resize", - "row-resize", - "all-scroll", - "zoom-in", - "zoom-out", - "grab", - "grabbing", - ], - core.Cursor, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "auto", + "default", + "none", + "context-menu", + "help", + "pointer", + "progress", + "wait", + "cell", + "crosshair", + "text", + "vertical-text", + "alias", + "copy", + "move", + "no-drop", + "not-allowed", + "e-resize", + "n-resize", + "ne-resize", + "nw-resize", + "s-resize", + "se-resize", + "sw-resize", + "w-resize", + "ew-resize", + "ns-resize", + "nesw-resize", + "nwse-resize", + "col-resize", + "row-resize", + "all-scroll", + "zoom-in", + "zoom-out", + "grab", + "grabbing", ], UndefinedType, ] = Undefined, description: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, dir: Union[ - Union[ - Union[Literal["ltr", "rtl"], core.TextDirection], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Literal["ltr", "rtl"], UndefinedType ] = Undefined, discreteBandSize: Union[ - Union[Union[core.RelativeBandSize, dict], float], UndefinedType + dict, float, core.SchemaBase, UndefinedType ] = Undefined, dx: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, dy: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ellipsis: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fill: Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, fillOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, filled: Union[bool, UndefinedType] = Undefined, font: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, height: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], - Union[core.RelativeBandSize, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, href: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], Union[core.URI, str]], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, innerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "basis", - "basis-open", - "basis-closed", - "bundle", - "cardinal", - "cardinal-open", - "cardinal-closed", - "catmull-rom", - "linear", - "linear-closed", - "monotone", - "natural", - "step", - "step-before", - "step-after", - ], - core.Interpolate, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "basis", + "basis-open", + "basis-closed", + "bundle", + "cardinal", + "cardinal-open", + "cardinal-closed", + "catmull-rom", + "linear", + "linear-closed", + "monotone", + "natural", + "step", + "step-before", + "step-after", ], UndefinedType, ] = Undefined, invalid: Union[Literal["filter", None], UndefinedType] = Undefined, limit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - line: Union[ - Union[Union[core.OverlayMarkDef, dict], bool], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + line: Union[bool, dict, core.SchemaBase, UndefinedType] = Undefined, lineBreak: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, lineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, minBandSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, opacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - order: Union[Union[None, bool], UndefinedType] = Undefined, + order: Union[bool, None, UndefinedType] = Undefined, orient: Union[ - Union[Literal["horizontal", "vertical"], core.Orientation], UndefinedType + core.SchemaBase, Literal["horizontal", "vertical"], UndefinedType ] = Undefined, outerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, padAngle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - point: Union[ - Union[Union[core.OverlayMarkDef, dict], bool, str], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + point: Union[str, bool, dict, core.SchemaBase, UndefinedType] = Undefined, radius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radius2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radius2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radiusOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, shape: Union[ - Union[ - Union[Union[core.SymbolShape, str], str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, size: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, smooth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, stroke: Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, strokeCap: Union[ - Union[ - Union[Literal["butt", "round", "square"], core.StrokeCap], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, strokeDash: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, strokeDashOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeJoin: Union[ - Union[ - Union[Literal["miter", "round", "bevel"], core.StrokeJoin], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["miter", "round", "bevel"], UndefinedType, ] = Undefined, strokeMiterLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - style: Union[Union[Sequence[str], str], UndefinedType] = Undefined, + style: Union[str, Sequence[str], UndefinedType] = Undefined, tension: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, text: Union[ - Union[ - Union[Sequence[str], core.Text, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, Sequence[str], core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, thetaOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, thickness: Union[float, UndefinedType] = Undefined, timeUnitBandPosition: Union[float, UndefinedType] = Undefined, timeUnitBandSize: Union[float, UndefinedType] = Undefined, tooltip: Union[ - Union[ - None, - Union[core.ExprRef, core._Parameter, dict], - Union[core.TooltipContent, dict], - bool, - float, - str, - ], + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, UndefinedType, ] = Undefined, url: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], Union[core.URI, str]], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, width: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], - Union[core.RelativeBandSize, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, xOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, yOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> Self: @@ -2032,908 +1864,824 @@ def mark_area( def mark_bar( self, align: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, angle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, aria: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ariaRole: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ariaRoleDescription: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, aspect: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, bandSize: Union[float, UndefinedType] = Undefined, baseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, binSpacing: Union[float, UndefinedType] = Undefined, blend: Union[ - Union[ - Union[ - Literal[ - None, - "multiply", - "screen", - "overlay", - "darken", - "lighten", - "color-dodge", - "color-burn", - "hard-light", - "soft-light", - "difference", - "exclusion", - "hue", - "saturation", - "color", - "luminosity", - ], - core.Blend, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + None, + "multiply", + "screen", + "overlay", + "darken", + "lighten", + "color-dodge", + "color-burn", + "hard-light", + "soft-light", + "difference", + "exclusion", + "hue", + "saturation", + "color", + "luminosity", ], UndefinedType, ] = Undefined, clip: Union[bool, UndefinedType] = Undefined, color: Union[ - Union[ - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, continuousBandSize: Union[float, UndefinedType] = Undefined, cornerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusBottomLeft: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusBottomRight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusEnd: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusTopLeft: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusTopRight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cursor: Union[ - Union[ - Union[ - Literal[ - "auto", - "default", - "none", - "context-menu", - "help", - "pointer", - "progress", - "wait", - "cell", - "crosshair", - "text", - "vertical-text", - "alias", - "copy", - "move", - "no-drop", - "not-allowed", - "e-resize", - "n-resize", - "ne-resize", - "nw-resize", - "s-resize", - "se-resize", - "sw-resize", - "w-resize", - "ew-resize", - "ns-resize", - "nesw-resize", - "nwse-resize", - "col-resize", - "row-resize", - "all-scroll", - "zoom-in", - "zoom-out", - "grab", - "grabbing", - ], - core.Cursor, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "auto", + "default", + "none", + "context-menu", + "help", + "pointer", + "progress", + "wait", + "cell", + "crosshair", + "text", + "vertical-text", + "alias", + "copy", + "move", + "no-drop", + "not-allowed", + "e-resize", + "n-resize", + "ne-resize", + "nw-resize", + "s-resize", + "se-resize", + "sw-resize", + "w-resize", + "ew-resize", + "ns-resize", + "nesw-resize", + "nwse-resize", + "col-resize", + "row-resize", + "all-scroll", + "zoom-in", + "zoom-out", + "grab", + "grabbing", ], UndefinedType, ] = Undefined, description: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, dir: Union[ - Union[ - Union[Literal["ltr", "rtl"], core.TextDirection], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Literal["ltr", "rtl"], UndefinedType ] = Undefined, discreteBandSize: Union[ - Union[Union[core.RelativeBandSize, dict], float], UndefinedType + dict, float, core.SchemaBase, UndefinedType ] = Undefined, dx: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, dy: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ellipsis: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fill: Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, fillOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, filled: Union[bool, UndefinedType] = Undefined, font: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, height: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], - Union[core.RelativeBandSize, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, href: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], Union[core.URI, str]], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, innerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "basis", - "basis-open", - "basis-closed", - "bundle", - "cardinal", - "cardinal-open", - "cardinal-closed", - "catmull-rom", - "linear", - "linear-closed", - "monotone", - "natural", - "step", - "step-before", - "step-after", - ], - core.Interpolate, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "basis", + "basis-open", + "basis-closed", + "bundle", + "cardinal", + "cardinal-open", + "cardinal-closed", + "catmull-rom", + "linear", + "linear-closed", + "monotone", + "natural", + "step", + "step-before", + "step-after", ], UndefinedType, ] = Undefined, invalid: Union[Literal["filter", None], UndefinedType] = Undefined, limit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - line: Union[ - Union[Union[core.OverlayMarkDef, dict], bool], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + line: Union[bool, dict, core.SchemaBase, UndefinedType] = Undefined, lineBreak: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, lineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, minBandSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, opacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - order: Union[Union[None, bool], UndefinedType] = Undefined, + order: Union[bool, None, UndefinedType] = Undefined, orient: Union[ - Union[Literal["horizontal", "vertical"], core.Orientation], UndefinedType + core.SchemaBase, Literal["horizontal", "vertical"], UndefinedType ] = Undefined, outerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, padAngle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - point: Union[ - Union[Union[core.OverlayMarkDef, dict], bool, str], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + point: Union[str, bool, dict, core.SchemaBase, UndefinedType] = Undefined, radius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radius2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radius2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radiusOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, shape: Union[ - Union[ - Union[Union[core.SymbolShape, str], str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, size: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, smooth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, stroke: Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, strokeCap: Union[ - Union[ - Union[Literal["butt", "round", "square"], core.StrokeCap], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, strokeDash: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, strokeDashOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeJoin: Union[ - Union[ - Union[Literal["miter", "round", "bevel"], core.StrokeJoin], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["miter", "round", "bevel"], UndefinedType, ] = Undefined, strokeMiterLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - style: Union[Union[Sequence[str], str], UndefinedType] = Undefined, + style: Union[str, Sequence[str], UndefinedType] = Undefined, tension: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, text: Union[ - Union[ - Union[Sequence[str], core.Text, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, Sequence[str], core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, thetaOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, thickness: Union[float, UndefinedType] = Undefined, timeUnitBandPosition: Union[float, UndefinedType] = Undefined, timeUnitBandSize: Union[float, UndefinedType] = Undefined, tooltip: Union[ - Union[ - None, - Union[core.ExprRef, core._Parameter, dict], - Union[core.TooltipContent, dict], - bool, - float, - str, - ], + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, UndefinedType, ] = Undefined, url: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], Union[core.URI, str]], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, width: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], - Union[core.RelativeBandSize, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, xOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, yOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> Self: @@ -3037,908 +2785,824 @@ def mark_bar( def mark_image( self, align: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, angle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, aria: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ariaRole: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ariaRoleDescription: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, aspect: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, bandSize: Union[float, UndefinedType] = Undefined, baseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, binSpacing: Union[float, UndefinedType] = Undefined, blend: Union[ - Union[ - Union[ - Literal[ - None, - "multiply", - "screen", - "overlay", - "darken", - "lighten", - "color-dodge", - "color-burn", - "hard-light", - "soft-light", - "difference", - "exclusion", - "hue", - "saturation", - "color", - "luminosity", - ], - core.Blend, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + None, + "multiply", + "screen", + "overlay", + "darken", + "lighten", + "color-dodge", + "color-burn", + "hard-light", + "soft-light", + "difference", + "exclusion", + "hue", + "saturation", + "color", + "luminosity", ], UndefinedType, ] = Undefined, clip: Union[bool, UndefinedType] = Undefined, color: Union[ - Union[ - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, continuousBandSize: Union[float, UndefinedType] = Undefined, cornerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusBottomLeft: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusBottomRight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusEnd: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusTopLeft: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusTopRight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cursor: Union[ - Union[ - Union[ - Literal[ - "auto", - "default", - "none", - "context-menu", - "help", - "pointer", - "progress", - "wait", - "cell", - "crosshair", - "text", - "vertical-text", - "alias", - "copy", - "move", - "no-drop", - "not-allowed", - "e-resize", - "n-resize", - "ne-resize", - "nw-resize", - "s-resize", - "se-resize", - "sw-resize", - "w-resize", - "ew-resize", - "ns-resize", - "nesw-resize", - "nwse-resize", - "col-resize", - "row-resize", - "all-scroll", - "zoom-in", - "zoom-out", - "grab", - "grabbing", - ], - core.Cursor, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "auto", + "default", + "none", + "context-menu", + "help", + "pointer", + "progress", + "wait", + "cell", + "crosshair", + "text", + "vertical-text", + "alias", + "copy", + "move", + "no-drop", + "not-allowed", + "e-resize", + "n-resize", + "ne-resize", + "nw-resize", + "s-resize", + "se-resize", + "sw-resize", + "w-resize", + "ew-resize", + "ns-resize", + "nesw-resize", + "nwse-resize", + "col-resize", + "row-resize", + "all-scroll", + "zoom-in", + "zoom-out", + "grab", + "grabbing", ], UndefinedType, ] = Undefined, description: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, dir: Union[ - Union[ - Union[Literal["ltr", "rtl"], core.TextDirection], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Literal["ltr", "rtl"], UndefinedType ] = Undefined, discreteBandSize: Union[ - Union[Union[core.RelativeBandSize, dict], float], UndefinedType + dict, float, core.SchemaBase, UndefinedType ] = Undefined, dx: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, dy: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ellipsis: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fill: Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, fillOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, filled: Union[bool, UndefinedType] = Undefined, font: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, height: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], - Union[core.RelativeBandSize, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, href: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], Union[core.URI, str]], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, innerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "basis", - "basis-open", - "basis-closed", - "bundle", - "cardinal", - "cardinal-open", - "cardinal-closed", - "catmull-rom", - "linear", - "linear-closed", - "monotone", - "natural", - "step", - "step-before", - "step-after", - ], - core.Interpolate, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "basis", + "basis-open", + "basis-closed", + "bundle", + "cardinal", + "cardinal-open", + "cardinal-closed", + "catmull-rom", + "linear", + "linear-closed", + "monotone", + "natural", + "step", + "step-before", + "step-after", ], UndefinedType, ] = Undefined, invalid: Union[Literal["filter", None], UndefinedType] = Undefined, limit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - line: Union[ - Union[Union[core.OverlayMarkDef, dict], bool], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + line: Union[bool, dict, core.SchemaBase, UndefinedType] = Undefined, lineBreak: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, lineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, minBandSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, opacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - order: Union[Union[None, bool], UndefinedType] = Undefined, + order: Union[bool, None, UndefinedType] = Undefined, orient: Union[ - Union[Literal["horizontal", "vertical"], core.Orientation], UndefinedType + core.SchemaBase, Literal["horizontal", "vertical"], UndefinedType ] = Undefined, outerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, padAngle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - point: Union[ - Union[Union[core.OverlayMarkDef, dict], bool, str], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + point: Union[str, bool, dict, core.SchemaBase, UndefinedType] = Undefined, radius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radius2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radius2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radiusOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, shape: Union[ - Union[ - Union[Union[core.SymbolShape, str], str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, size: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, smooth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, stroke: Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, strokeCap: Union[ - Union[ - Union[Literal["butt", "round", "square"], core.StrokeCap], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, strokeDash: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, strokeDashOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeJoin: Union[ - Union[ - Union[Literal["miter", "round", "bevel"], core.StrokeJoin], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["miter", "round", "bevel"], UndefinedType, ] = Undefined, strokeMiterLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - style: Union[Union[Sequence[str], str], UndefinedType] = Undefined, + style: Union[str, Sequence[str], UndefinedType] = Undefined, tension: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, text: Union[ - Union[ - Union[Sequence[str], core.Text, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, Sequence[str], core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, thetaOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, thickness: Union[float, UndefinedType] = Undefined, timeUnitBandPosition: Union[float, UndefinedType] = Undefined, timeUnitBandSize: Union[float, UndefinedType] = Undefined, tooltip: Union[ - Union[ - None, - Union[core.ExprRef, core._Parameter, dict], - Union[core.TooltipContent, dict], - bool, - float, - str, - ], + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, UndefinedType, ] = Undefined, url: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], Union[core.URI, str]], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, width: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], - Union[core.RelativeBandSize, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, xOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, yOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> Self: @@ -4042,908 +3706,824 @@ def mark_image( def mark_line( self, align: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, angle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, aria: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ariaRole: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ariaRoleDescription: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, aspect: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, bandSize: Union[float, UndefinedType] = Undefined, baseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, binSpacing: Union[float, UndefinedType] = Undefined, blend: Union[ - Union[ - Union[ - Literal[ - None, - "multiply", - "screen", - "overlay", - "darken", - "lighten", - "color-dodge", - "color-burn", - "hard-light", - "soft-light", - "difference", - "exclusion", - "hue", - "saturation", - "color", - "luminosity", - ], - core.Blend, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + None, + "multiply", + "screen", + "overlay", + "darken", + "lighten", + "color-dodge", + "color-burn", + "hard-light", + "soft-light", + "difference", + "exclusion", + "hue", + "saturation", + "color", + "luminosity", ], UndefinedType, ] = Undefined, clip: Union[bool, UndefinedType] = Undefined, color: Union[ - Union[ - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, continuousBandSize: Union[float, UndefinedType] = Undefined, cornerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusBottomLeft: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusBottomRight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusEnd: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusTopLeft: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusTopRight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cursor: Union[ - Union[ - Union[ - Literal[ - "auto", - "default", - "none", - "context-menu", - "help", - "pointer", - "progress", - "wait", - "cell", - "crosshair", - "text", - "vertical-text", - "alias", - "copy", - "move", - "no-drop", - "not-allowed", - "e-resize", - "n-resize", - "ne-resize", - "nw-resize", - "s-resize", - "se-resize", - "sw-resize", - "w-resize", - "ew-resize", - "ns-resize", - "nesw-resize", - "nwse-resize", - "col-resize", - "row-resize", - "all-scroll", - "zoom-in", - "zoom-out", - "grab", - "grabbing", - ], - core.Cursor, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "auto", + "default", + "none", + "context-menu", + "help", + "pointer", + "progress", + "wait", + "cell", + "crosshair", + "text", + "vertical-text", + "alias", + "copy", + "move", + "no-drop", + "not-allowed", + "e-resize", + "n-resize", + "ne-resize", + "nw-resize", + "s-resize", + "se-resize", + "sw-resize", + "w-resize", + "ew-resize", + "ns-resize", + "nesw-resize", + "nwse-resize", + "col-resize", + "row-resize", + "all-scroll", + "zoom-in", + "zoom-out", + "grab", + "grabbing", ], UndefinedType, ] = Undefined, description: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, dir: Union[ - Union[ - Union[Literal["ltr", "rtl"], core.TextDirection], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Literal["ltr", "rtl"], UndefinedType ] = Undefined, discreteBandSize: Union[ - Union[Union[core.RelativeBandSize, dict], float], UndefinedType + dict, float, core.SchemaBase, UndefinedType ] = Undefined, dx: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, dy: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ellipsis: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fill: Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, fillOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, filled: Union[bool, UndefinedType] = Undefined, font: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, height: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], - Union[core.RelativeBandSize, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, href: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], Union[core.URI, str]], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, innerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "basis", - "basis-open", - "basis-closed", - "bundle", - "cardinal", - "cardinal-open", - "cardinal-closed", - "catmull-rom", - "linear", - "linear-closed", - "monotone", - "natural", - "step", - "step-before", - "step-after", - ], - core.Interpolate, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "basis", + "basis-open", + "basis-closed", + "bundle", + "cardinal", + "cardinal-open", + "cardinal-closed", + "catmull-rom", + "linear", + "linear-closed", + "monotone", + "natural", + "step", + "step-before", + "step-after", ], UndefinedType, ] = Undefined, invalid: Union[Literal["filter", None], UndefinedType] = Undefined, limit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - line: Union[ - Union[Union[core.OverlayMarkDef, dict], bool], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + line: Union[bool, dict, core.SchemaBase, UndefinedType] = Undefined, lineBreak: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, lineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, minBandSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, opacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - order: Union[Union[None, bool], UndefinedType] = Undefined, + order: Union[bool, None, UndefinedType] = Undefined, orient: Union[ - Union[Literal["horizontal", "vertical"], core.Orientation], UndefinedType + core.SchemaBase, Literal["horizontal", "vertical"], UndefinedType ] = Undefined, outerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, padAngle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - point: Union[ - Union[Union[core.OverlayMarkDef, dict], bool, str], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + point: Union[str, bool, dict, core.SchemaBase, UndefinedType] = Undefined, radius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radius2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radius2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radiusOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, shape: Union[ - Union[ - Union[Union[core.SymbolShape, str], str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, size: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, smooth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, stroke: Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, strokeCap: Union[ - Union[ - Union[Literal["butt", "round", "square"], core.StrokeCap], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, strokeDash: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, strokeDashOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeJoin: Union[ - Union[ - Union[Literal["miter", "round", "bevel"], core.StrokeJoin], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["miter", "round", "bevel"], UndefinedType, ] = Undefined, strokeMiterLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - style: Union[Union[Sequence[str], str], UndefinedType] = Undefined, + style: Union[str, Sequence[str], UndefinedType] = Undefined, tension: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, text: Union[ - Union[ - Union[Sequence[str], core.Text, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, Sequence[str], core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, thetaOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, thickness: Union[float, UndefinedType] = Undefined, timeUnitBandPosition: Union[float, UndefinedType] = Undefined, timeUnitBandSize: Union[float, UndefinedType] = Undefined, tooltip: Union[ - Union[ - None, - Union[core.ExprRef, core._Parameter, dict], - Union[core.TooltipContent, dict], - bool, - float, - str, - ], + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, UndefinedType, ] = Undefined, url: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], Union[core.URI, str]], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, width: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], - Union[core.RelativeBandSize, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, xOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, yOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> Self: @@ -5047,908 +4627,824 @@ def mark_line( def mark_point( self, align: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, angle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, aria: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ariaRole: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ariaRoleDescription: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, aspect: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, bandSize: Union[float, UndefinedType] = Undefined, baseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, binSpacing: Union[float, UndefinedType] = Undefined, blend: Union[ - Union[ - Union[ - Literal[ - None, - "multiply", - "screen", - "overlay", - "darken", - "lighten", - "color-dodge", - "color-burn", - "hard-light", - "soft-light", - "difference", - "exclusion", - "hue", - "saturation", - "color", - "luminosity", - ], - core.Blend, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + None, + "multiply", + "screen", + "overlay", + "darken", + "lighten", + "color-dodge", + "color-burn", + "hard-light", + "soft-light", + "difference", + "exclusion", + "hue", + "saturation", + "color", + "luminosity", ], UndefinedType, ] = Undefined, clip: Union[bool, UndefinedType] = Undefined, color: Union[ - Union[ - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, continuousBandSize: Union[float, UndefinedType] = Undefined, cornerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusBottomLeft: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusBottomRight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusEnd: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusTopLeft: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusTopRight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cursor: Union[ - Union[ - Union[ - Literal[ - "auto", - "default", - "none", - "context-menu", - "help", - "pointer", - "progress", - "wait", - "cell", - "crosshair", - "text", - "vertical-text", - "alias", - "copy", - "move", - "no-drop", - "not-allowed", - "e-resize", - "n-resize", - "ne-resize", - "nw-resize", - "s-resize", - "se-resize", - "sw-resize", - "w-resize", - "ew-resize", - "ns-resize", - "nesw-resize", - "nwse-resize", - "col-resize", - "row-resize", - "all-scroll", - "zoom-in", - "zoom-out", - "grab", - "grabbing", - ], - core.Cursor, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "auto", + "default", + "none", + "context-menu", + "help", + "pointer", + "progress", + "wait", + "cell", + "crosshair", + "text", + "vertical-text", + "alias", + "copy", + "move", + "no-drop", + "not-allowed", + "e-resize", + "n-resize", + "ne-resize", + "nw-resize", + "s-resize", + "se-resize", + "sw-resize", + "w-resize", + "ew-resize", + "ns-resize", + "nesw-resize", + "nwse-resize", + "col-resize", + "row-resize", + "all-scroll", + "zoom-in", + "zoom-out", + "grab", + "grabbing", ], UndefinedType, ] = Undefined, description: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, dir: Union[ - Union[ - Union[Literal["ltr", "rtl"], core.TextDirection], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Literal["ltr", "rtl"], UndefinedType ] = Undefined, discreteBandSize: Union[ - Union[Union[core.RelativeBandSize, dict], float], UndefinedType + dict, float, core.SchemaBase, UndefinedType ] = Undefined, dx: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, dy: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ellipsis: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fill: Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, fillOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, filled: Union[bool, UndefinedType] = Undefined, font: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, height: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], - Union[core.RelativeBandSize, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, href: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], Union[core.URI, str]], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, innerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "basis", - "basis-open", - "basis-closed", - "bundle", - "cardinal", - "cardinal-open", - "cardinal-closed", - "catmull-rom", - "linear", - "linear-closed", - "monotone", - "natural", - "step", - "step-before", - "step-after", - ], - core.Interpolate, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "basis", + "basis-open", + "basis-closed", + "bundle", + "cardinal", + "cardinal-open", + "cardinal-closed", + "catmull-rom", + "linear", + "linear-closed", + "monotone", + "natural", + "step", + "step-before", + "step-after", ], UndefinedType, ] = Undefined, invalid: Union[Literal["filter", None], UndefinedType] = Undefined, limit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - line: Union[ - Union[Union[core.OverlayMarkDef, dict], bool], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + line: Union[bool, dict, core.SchemaBase, UndefinedType] = Undefined, lineBreak: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, lineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, minBandSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, opacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - order: Union[Union[None, bool], UndefinedType] = Undefined, + order: Union[bool, None, UndefinedType] = Undefined, orient: Union[ - Union[Literal["horizontal", "vertical"], core.Orientation], UndefinedType + core.SchemaBase, Literal["horizontal", "vertical"], UndefinedType ] = Undefined, outerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, padAngle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - point: Union[ - Union[Union[core.OverlayMarkDef, dict], bool, str], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + point: Union[str, bool, dict, core.SchemaBase, UndefinedType] = Undefined, radius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radius2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radius2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radiusOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, shape: Union[ - Union[ - Union[Union[core.SymbolShape, str], str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, size: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, smooth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, stroke: Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, strokeCap: Union[ - Union[ - Union[Literal["butt", "round", "square"], core.StrokeCap], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, strokeDash: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, strokeDashOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeJoin: Union[ - Union[ - Union[Literal["miter", "round", "bevel"], core.StrokeJoin], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["miter", "round", "bevel"], UndefinedType, ] = Undefined, strokeMiterLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - style: Union[Union[Sequence[str], str], UndefinedType] = Undefined, + style: Union[str, Sequence[str], UndefinedType] = Undefined, tension: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, text: Union[ - Union[ - Union[Sequence[str], core.Text, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, Sequence[str], core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, thetaOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, thickness: Union[float, UndefinedType] = Undefined, timeUnitBandPosition: Union[float, UndefinedType] = Undefined, timeUnitBandSize: Union[float, UndefinedType] = Undefined, tooltip: Union[ - Union[ - None, - Union[core.ExprRef, core._Parameter, dict], - Union[core.TooltipContent, dict], - bool, - float, - str, - ], + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, UndefinedType, ] = Undefined, url: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], Union[core.URI, str]], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, width: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], - Union[core.RelativeBandSize, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, xOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, yOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> Self: @@ -6052,908 +5548,824 @@ def mark_point( def mark_rect( self, align: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, angle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, aria: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ariaRole: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ariaRoleDescription: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, aspect: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, bandSize: Union[float, UndefinedType] = Undefined, baseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, binSpacing: Union[float, UndefinedType] = Undefined, blend: Union[ - Union[ - Union[ - Literal[ - None, - "multiply", - "screen", - "overlay", - "darken", - "lighten", - "color-dodge", - "color-burn", - "hard-light", - "soft-light", - "difference", - "exclusion", - "hue", - "saturation", - "color", - "luminosity", - ], - core.Blend, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + None, + "multiply", + "screen", + "overlay", + "darken", + "lighten", + "color-dodge", + "color-burn", + "hard-light", + "soft-light", + "difference", + "exclusion", + "hue", + "saturation", + "color", + "luminosity", ], UndefinedType, ] = Undefined, clip: Union[bool, UndefinedType] = Undefined, color: Union[ - Union[ - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, continuousBandSize: Union[float, UndefinedType] = Undefined, cornerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusBottomLeft: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusBottomRight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusEnd: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusTopLeft: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusTopRight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cursor: Union[ - Union[ - Union[ - Literal[ - "auto", - "default", - "none", - "context-menu", - "help", - "pointer", - "progress", - "wait", - "cell", - "crosshair", - "text", - "vertical-text", - "alias", - "copy", - "move", - "no-drop", - "not-allowed", - "e-resize", - "n-resize", - "ne-resize", - "nw-resize", - "s-resize", - "se-resize", - "sw-resize", - "w-resize", - "ew-resize", - "ns-resize", - "nesw-resize", - "nwse-resize", - "col-resize", - "row-resize", - "all-scroll", - "zoom-in", - "zoom-out", - "grab", - "grabbing", - ], - core.Cursor, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "auto", + "default", + "none", + "context-menu", + "help", + "pointer", + "progress", + "wait", + "cell", + "crosshair", + "text", + "vertical-text", + "alias", + "copy", + "move", + "no-drop", + "not-allowed", + "e-resize", + "n-resize", + "ne-resize", + "nw-resize", + "s-resize", + "se-resize", + "sw-resize", + "w-resize", + "ew-resize", + "ns-resize", + "nesw-resize", + "nwse-resize", + "col-resize", + "row-resize", + "all-scroll", + "zoom-in", + "zoom-out", + "grab", + "grabbing", ], UndefinedType, ] = Undefined, description: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, dir: Union[ - Union[ - Union[Literal["ltr", "rtl"], core.TextDirection], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Literal["ltr", "rtl"], UndefinedType ] = Undefined, discreteBandSize: Union[ - Union[Union[core.RelativeBandSize, dict], float], UndefinedType + dict, float, core.SchemaBase, UndefinedType ] = Undefined, dx: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, dy: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ellipsis: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fill: Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, fillOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, filled: Union[bool, UndefinedType] = Undefined, font: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, height: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], - Union[core.RelativeBandSize, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, href: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], Union[core.URI, str]], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, innerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "basis", - "basis-open", - "basis-closed", - "bundle", - "cardinal", - "cardinal-open", - "cardinal-closed", - "catmull-rom", - "linear", - "linear-closed", - "monotone", - "natural", - "step", - "step-before", - "step-after", - ], - core.Interpolate, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "basis", + "basis-open", + "basis-closed", + "bundle", + "cardinal", + "cardinal-open", + "cardinal-closed", + "catmull-rom", + "linear", + "linear-closed", + "monotone", + "natural", + "step", + "step-before", + "step-after", ], UndefinedType, ] = Undefined, invalid: Union[Literal["filter", None], UndefinedType] = Undefined, limit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - line: Union[ - Union[Union[core.OverlayMarkDef, dict], bool], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + line: Union[bool, dict, core.SchemaBase, UndefinedType] = Undefined, lineBreak: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, lineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, minBandSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, opacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - order: Union[Union[None, bool], UndefinedType] = Undefined, + order: Union[bool, None, UndefinedType] = Undefined, orient: Union[ - Union[Literal["horizontal", "vertical"], core.Orientation], UndefinedType + core.SchemaBase, Literal["horizontal", "vertical"], UndefinedType ] = Undefined, outerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, padAngle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - point: Union[ - Union[Union[core.OverlayMarkDef, dict], bool, str], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + point: Union[str, bool, dict, core.SchemaBase, UndefinedType] = Undefined, radius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radius2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radius2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radiusOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, shape: Union[ - Union[ - Union[Union[core.SymbolShape, str], str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, size: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, smooth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, stroke: Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, strokeCap: Union[ - Union[ - Union[Literal["butt", "round", "square"], core.StrokeCap], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, strokeDash: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, strokeDashOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeJoin: Union[ - Union[ - Union[Literal["miter", "round", "bevel"], core.StrokeJoin], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["miter", "round", "bevel"], UndefinedType, ] = Undefined, strokeMiterLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - style: Union[Union[Sequence[str], str], UndefinedType] = Undefined, + style: Union[str, Sequence[str], UndefinedType] = Undefined, tension: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, text: Union[ - Union[ - Union[Sequence[str], core.Text, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, Sequence[str], core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, thetaOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, thickness: Union[float, UndefinedType] = Undefined, timeUnitBandPosition: Union[float, UndefinedType] = Undefined, timeUnitBandSize: Union[float, UndefinedType] = Undefined, tooltip: Union[ - Union[ - None, - Union[core.ExprRef, core._Parameter, dict], - Union[core.TooltipContent, dict], - bool, - float, - str, - ], + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, UndefinedType, ] = Undefined, url: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], Union[core.URI, str]], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, width: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], - Union[core.RelativeBandSize, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, xOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, yOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> Self: @@ -7057,908 +6469,824 @@ def mark_rect( def mark_rule( self, align: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, angle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, aria: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ariaRole: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ariaRoleDescription: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, aspect: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, bandSize: Union[float, UndefinedType] = Undefined, baseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, binSpacing: Union[float, UndefinedType] = Undefined, blend: Union[ - Union[ - Union[ - Literal[ - None, - "multiply", - "screen", - "overlay", - "darken", - "lighten", - "color-dodge", - "color-burn", - "hard-light", - "soft-light", - "difference", - "exclusion", - "hue", - "saturation", - "color", - "luminosity", - ], - core.Blend, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + None, + "multiply", + "screen", + "overlay", + "darken", + "lighten", + "color-dodge", + "color-burn", + "hard-light", + "soft-light", + "difference", + "exclusion", + "hue", + "saturation", + "color", + "luminosity", ], UndefinedType, ] = Undefined, clip: Union[bool, UndefinedType] = Undefined, color: Union[ - Union[ - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, continuousBandSize: Union[float, UndefinedType] = Undefined, cornerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusBottomLeft: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusBottomRight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusEnd: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusTopLeft: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusTopRight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cursor: Union[ - Union[ - Union[ - Literal[ - "auto", - "default", - "none", - "context-menu", - "help", - "pointer", - "progress", - "wait", - "cell", - "crosshair", - "text", - "vertical-text", - "alias", - "copy", - "move", - "no-drop", - "not-allowed", - "e-resize", - "n-resize", - "ne-resize", - "nw-resize", - "s-resize", - "se-resize", - "sw-resize", - "w-resize", - "ew-resize", - "ns-resize", - "nesw-resize", - "nwse-resize", - "col-resize", - "row-resize", - "all-scroll", - "zoom-in", - "zoom-out", - "grab", - "grabbing", - ], - core.Cursor, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "auto", + "default", + "none", + "context-menu", + "help", + "pointer", + "progress", + "wait", + "cell", + "crosshair", + "text", + "vertical-text", + "alias", + "copy", + "move", + "no-drop", + "not-allowed", + "e-resize", + "n-resize", + "ne-resize", + "nw-resize", + "s-resize", + "se-resize", + "sw-resize", + "w-resize", + "ew-resize", + "ns-resize", + "nesw-resize", + "nwse-resize", + "col-resize", + "row-resize", + "all-scroll", + "zoom-in", + "zoom-out", + "grab", + "grabbing", ], UndefinedType, ] = Undefined, description: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, dir: Union[ - Union[ - Union[Literal["ltr", "rtl"], core.TextDirection], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Literal["ltr", "rtl"], UndefinedType ] = Undefined, discreteBandSize: Union[ - Union[Union[core.RelativeBandSize, dict], float], UndefinedType + dict, float, core.SchemaBase, UndefinedType ] = Undefined, dx: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, dy: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ellipsis: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fill: Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, fillOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, filled: Union[bool, UndefinedType] = Undefined, font: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, height: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], - Union[core.RelativeBandSize, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, href: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], Union[core.URI, str]], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, innerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "basis", - "basis-open", - "basis-closed", - "bundle", - "cardinal", - "cardinal-open", - "cardinal-closed", - "catmull-rom", - "linear", - "linear-closed", - "monotone", - "natural", - "step", - "step-before", - "step-after", - ], - core.Interpolate, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "basis", + "basis-open", + "basis-closed", + "bundle", + "cardinal", + "cardinal-open", + "cardinal-closed", + "catmull-rom", + "linear", + "linear-closed", + "monotone", + "natural", + "step", + "step-before", + "step-after", ], UndefinedType, ] = Undefined, invalid: Union[Literal["filter", None], UndefinedType] = Undefined, limit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - line: Union[ - Union[Union[core.OverlayMarkDef, dict], bool], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + line: Union[bool, dict, core.SchemaBase, UndefinedType] = Undefined, lineBreak: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, lineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, minBandSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, opacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - order: Union[Union[None, bool], UndefinedType] = Undefined, + order: Union[bool, None, UndefinedType] = Undefined, orient: Union[ - Union[Literal["horizontal", "vertical"], core.Orientation], UndefinedType + core.SchemaBase, Literal["horizontal", "vertical"], UndefinedType ] = Undefined, outerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, padAngle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - point: Union[ - Union[Union[core.OverlayMarkDef, dict], bool, str], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + point: Union[str, bool, dict, core.SchemaBase, UndefinedType] = Undefined, radius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radius2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radius2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radiusOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, shape: Union[ - Union[ - Union[Union[core.SymbolShape, str], str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, size: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, smooth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, stroke: Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, strokeCap: Union[ - Union[ - Union[Literal["butt", "round", "square"], core.StrokeCap], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, strokeDash: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, strokeDashOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeJoin: Union[ - Union[ - Union[Literal["miter", "round", "bevel"], core.StrokeJoin], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["miter", "round", "bevel"], UndefinedType, ] = Undefined, strokeMiterLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - style: Union[Union[Sequence[str], str], UndefinedType] = Undefined, + style: Union[str, Sequence[str], UndefinedType] = Undefined, tension: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, text: Union[ - Union[ - Union[Sequence[str], core.Text, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, Sequence[str], core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, thetaOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, thickness: Union[float, UndefinedType] = Undefined, timeUnitBandPosition: Union[float, UndefinedType] = Undefined, timeUnitBandSize: Union[float, UndefinedType] = Undefined, tooltip: Union[ - Union[ - None, - Union[core.ExprRef, core._Parameter, dict], - Union[core.TooltipContent, dict], - bool, - float, - str, - ], + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, UndefinedType, ] = Undefined, url: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], Union[core.URI, str]], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, width: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], - Union[core.RelativeBandSize, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, xOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, yOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> Self: @@ -8062,908 +7390,824 @@ def mark_rule( def mark_text( self, align: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, angle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, aria: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ariaRole: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ariaRoleDescription: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, aspect: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, bandSize: Union[float, UndefinedType] = Undefined, baseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, binSpacing: Union[float, UndefinedType] = Undefined, blend: Union[ - Union[ - Union[ - Literal[ - None, - "multiply", - "screen", - "overlay", - "darken", - "lighten", - "color-dodge", - "color-burn", - "hard-light", - "soft-light", - "difference", - "exclusion", - "hue", - "saturation", - "color", - "luminosity", - ], - core.Blend, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + None, + "multiply", + "screen", + "overlay", + "darken", + "lighten", + "color-dodge", + "color-burn", + "hard-light", + "soft-light", + "difference", + "exclusion", + "hue", + "saturation", + "color", + "luminosity", ], UndefinedType, ] = Undefined, clip: Union[bool, UndefinedType] = Undefined, color: Union[ - Union[ - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, continuousBandSize: Union[float, UndefinedType] = Undefined, cornerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusBottomLeft: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusBottomRight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusEnd: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusTopLeft: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusTopRight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cursor: Union[ - Union[ - Union[ - Literal[ - "auto", - "default", - "none", - "context-menu", - "help", - "pointer", - "progress", - "wait", - "cell", - "crosshair", - "text", - "vertical-text", - "alias", - "copy", - "move", - "no-drop", - "not-allowed", - "e-resize", - "n-resize", - "ne-resize", - "nw-resize", - "s-resize", - "se-resize", - "sw-resize", - "w-resize", - "ew-resize", - "ns-resize", - "nesw-resize", - "nwse-resize", - "col-resize", - "row-resize", - "all-scroll", - "zoom-in", - "zoom-out", - "grab", - "grabbing", - ], - core.Cursor, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "auto", + "default", + "none", + "context-menu", + "help", + "pointer", + "progress", + "wait", + "cell", + "crosshair", + "text", + "vertical-text", + "alias", + "copy", + "move", + "no-drop", + "not-allowed", + "e-resize", + "n-resize", + "ne-resize", + "nw-resize", + "s-resize", + "se-resize", + "sw-resize", + "w-resize", + "ew-resize", + "ns-resize", + "nesw-resize", + "nwse-resize", + "col-resize", + "row-resize", + "all-scroll", + "zoom-in", + "zoom-out", + "grab", + "grabbing", ], UndefinedType, ] = Undefined, description: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, dir: Union[ - Union[ - Union[Literal["ltr", "rtl"], core.TextDirection], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Literal["ltr", "rtl"], UndefinedType ] = Undefined, discreteBandSize: Union[ - Union[Union[core.RelativeBandSize, dict], float], UndefinedType + dict, float, core.SchemaBase, UndefinedType ] = Undefined, dx: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, dy: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ellipsis: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fill: Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, fillOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, filled: Union[bool, UndefinedType] = Undefined, font: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, height: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], - Union[core.RelativeBandSize, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, href: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], Union[core.URI, str]], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, innerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "basis", - "basis-open", - "basis-closed", - "bundle", - "cardinal", - "cardinal-open", - "cardinal-closed", - "catmull-rom", - "linear", - "linear-closed", - "monotone", - "natural", - "step", - "step-before", - "step-after", - ], - core.Interpolate, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "basis", + "basis-open", + "basis-closed", + "bundle", + "cardinal", + "cardinal-open", + "cardinal-closed", + "catmull-rom", + "linear", + "linear-closed", + "monotone", + "natural", + "step", + "step-before", + "step-after", ], UndefinedType, ] = Undefined, invalid: Union[Literal["filter", None], UndefinedType] = Undefined, limit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - line: Union[ - Union[Union[core.OverlayMarkDef, dict], bool], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + line: Union[bool, dict, core.SchemaBase, UndefinedType] = Undefined, lineBreak: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, lineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, minBandSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, opacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - order: Union[Union[None, bool], UndefinedType] = Undefined, + order: Union[bool, None, UndefinedType] = Undefined, orient: Union[ - Union[Literal["horizontal", "vertical"], core.Orientation], UndefinedType + core.SchemaBase, Literal["horizontal", "vertical"], UndefinedType ] = Undefined, outerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, padAngle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - point: Union[ - Union[Union[core.OverlayMarkDef, dict], bool, str], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + point: Union[str, bool, dict, core.SchemaBase, UndefinedType] = Undefined, radius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radius2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radius2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radiusOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, shape: Union[ - Union[ - Union[Union[core.SymbolShape, str], str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, size: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, smooth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, stroke: Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, strokeCap: Union[ - Union[ - Union[Literal["butt", "round", "square"], core.StrokeCap], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, strokeDash: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, strokeDashOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeJoin: Union[ - Union[ - Union[Literal["miter", "round", "bevel"], core.StrokeJoin], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["miter", "round", "bevel"], UndefinedType, ] = Undefined, strokeMiterLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - style: Union[Union[Sequence[str], str], UndefinedType] = Undefined, + style: Union[str, Sequence[str], UndefinedType] = Undefined, tension: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, text: Union[ - Union[ - Union[Sequence[str], core.Text, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, Sequence[str], core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, thetaOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, thickness: Union[float, UndefinedType] = Undefined, timeUnitBandPosition: Union[float, UndefinedType] = Undefined, timeUnitBandSize: Union[float, UndefinedType] = Undefined, tooltip: Union[ - Union[ - None, - Union[core.ExprRef, core._Parameter, dict], - Union[core.TooltipContent, dict], - bool, - float, - str, - ], + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, UndefinedType, ] = Undefined, url: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], Union[core.URI, str]], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, width: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], - Union[core.RelativeBandSize, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, xOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, yOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> Self: @@ -9067,908 +8311,824 @@ def mark_text( def mark_tick( self, align: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, angle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, aria: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ariaRole: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ariaRoleDescription: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, aspect: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, bandSize: Union[float, UndefinedType] = Undefined, baseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, binSpacing: Union[float, UndefinedType] = Undefined, blend: Union[ - Union[ - Union[ - Literal[ - None, - "multiply", - "screen", - "overlay", - "darken", - "lighten", - "color-dodge", - "color-burn", - "hard-light", - "soft-light", - "difference", - "exclusion", - "hue", - "saturation", - "color", - "luminosity", - ], - core.Blend, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + None, + "multiply", + "screen", + "overlay", + "darken", + "lighten", + "color-dodge", + "color-burn", + "hard-light", + "soft-light", + "difference", + "exclusion", + "hue", + "saturation", + "color", + "luminosity", ], UndefinedType, ] = Undefined, clip: Union[bool, UndefinedType] = Undefined, color: Union[ - Union[ - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, continuousBandSize: Union[float, UndefinedType] = Undefined, cornerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusBottomLeft: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusBottomRight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusEnd: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusTopLeft: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusTopRight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cursor: Union[ - Union[ - Union[ - Literal[ - "auto", - "default", - "none", - "context-menu", - "help", - "pointer", - "progress", - "wait", - "cell", - "crosshair", - "text", - "vertical-text", - "alias", - "copy", - "move", - "no-drop", - "not-allowed", - "e-resize", - "n-resize", - "ne-resize", - "nw-resize", - "s-resize", - "se-resize", - "sw-resize", - "w-resize", - "ew-resize", - "ns-resize", - "nesw-resize", - "nwse-resize", - "col-resize", - "row-resize", - "all-scroll", - "zoom-in", - "zoom-out", - "grab", - "grabbing", - ], - core.Cursor, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "auto", + "default", + "none", + "context-menu", + "help", + "pointer", + "progress", + "wait", + "cell", + "crosshair", + "text", + "vertical-text", + "alias", + "copy", + "move", + "no-drop", + "not-allowed", + "e-resize", + "n-resize", + "ne-resize", + "nw-resize", + "s-resize", + "se-resize", + "sw-resize", + "w-resize", + "ew-resize", + "ns-resize", + "nesw-resize", + "nwse-resize", + "col-resize", + "row-resize", + "all-scroll", + "zoom-in", + "zoom-out", + "grab", + "grabbing", ], UndefinedType, ] = Undefined, description: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, dir: Union[ - Union[ - Union[Literal["ltr", "rtl"], core.TextDirection], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Literal["ltr", "rtl"], UndefinedType ] = Undefined, discreteBandSize: Union[ - Union[Union[core.RelativeBandSize, dict], float], UndefinedType + dict, float, core.SchemaBase, UndefinedType ] = Undefined, dx: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, dy: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ellipsis: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fill: Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, fillOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, filled: Union[bool, UndefinedType] = Undefined, font: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, height: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], - Union[core.RelativeBandSize, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, href: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], Union[core.URI, str]], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, innerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "basis", - "basis-open", - "basis-closed", - "bundle", - "cardinal", - "cardinal-open", - "cardinal-closed", - "catmull-rom", - "linear", - "linear-closed", - "monotone", - "natural", - "step", - "step-before", - "step-after", - ], - core.Interpolate, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "basis", + "basis-open", + "basis-closed", + "bundle", + "cardinal", + "cardinal-open", + "cardinal-closed", + "catmull-rom", + "linear", + "linear-closed", + "monotone", + "natural", + "step", + "step-before", + "step-after", ], UndefinedType, ] = Undefined, invalid: Union[Literal["filter", None], UndefinedType] = Undefined, limit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - line: Union[ - Union[Union[core.OverlayMarkDef, dict], bool], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + line: Union[bool, dict, core.SchemaBase, UndefinedType] = Undefined, lineBreak: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, lineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, minBandSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, opacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - order: Union[Union[None, bool], UndefinedType] = Undefined, + order: Union[bool, None, UndefinedType] = Undefined, orient: Union[ - Union[Literal["horizontal", "vertical"], core.Orientation], UndefinedType + core.SchemaBase, Literal["horizontal", "vertical"], UndefinedType ] = Undefined, outerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, padAngle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - point: Union[ - Union[Union[core.OverlayMarkDef, dict], bool, str], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + point: Union[str, bool, dict, core.SchemaBase, UndefinedType] = Undefined, radius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radius2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radius2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radiusOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, shape: Union[ - Union[ - Union[Union[core.SymbolShape, str], str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, size: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, smooth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, stroke: Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, strokeCap: Union[ - Union[ - Union[Literal["butt", "round", "square"], core.StrokeCap], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, strokeDash: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, strokeDashOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeJoin: Union[ - Union[ - Union[Literal["miter", "round", "bevel"], core.StrokeJoin], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["miter", "round", "bevel"], UndefinedType, ] = Undefined, strokeMiterLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - style: Union[Union[Sequence[str], str], UndefinedType] = Undefined, + style: Union[str, Sequence[str], UndefinedType] = Undefined, tension: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, text: Union[ - Union[ - Union[Sequence[str], core.Text, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, Sequence[str], core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, thetaOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, thickness: Union[float, UndefinedType] = Undefined, timeUnitBandPosition: Union[float, UndefinedType] = Undefined, timeUnitBandSize: Union[float, UndefinedType] = Undefined, tooltip: Union[ - Union[ - None, - Union[core.ExprRef, core._Parameter, dict], - Union[core.TooltipContent, dict], - bool, - float, - str, - ], + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, UndefinedType, ] = Undefined, url: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], Union[core.URI, str]], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, width: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], - Union[core.RelativeBandSize, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, xOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, yOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> Self: @@ -10072,908 +9232,824 @@ def mark_tick( def mark_trail( self, align: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, angle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, aria: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ariaRole: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ariaRoleDescription: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, aspect: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, bandSize: Union[float, UndefinedType] = Undefined, baseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, binSpacing: Union[float, UndefinedType] = Undefined, blend: Union[ - Union[ - Union[ - Literal[ - None, - "multiply", - "screen", - "overlay", - "darken", - "lighten", - "color-dodge", - "color-burn", - "hard-light", - "soft-light", - "difference", - "exclusion", - "hue", - "saturation", - "color", - "luminosity", - ], - core.Blend, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + None, + "multiply", + "screen", + "overlay", + "darken", + "lighten", + "color-dodge", + "color-burn", + "hard-light", + "soft-light", + "difference", + "exclusion", + "hue", + "saturation", + "color", + "luminosity", ], UndefinedType, ] = Undefined, clip: Union[bool, UndefinedType] = Undefined, color: Union[ - Union[ - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, continuousBandSize: Union[float, UndefinedType] = Undefined, cornerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusBottomLeft: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusBottomRight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusEnd: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusTopLeft: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusTopRight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cursor: Union[ - Union[ - Union[ - Literal[ - "auto", - "default", - "none", - "context-menu", - "help", - "pointer", - "progress", - "wait", - "cell", - "crosshair", - "text", - "vertical-text", - "alias", - "copy", - "move", - "no-drop", - "not-allowed", - "e-resize", - "n-resize", - "ne-resize", - "nw-resize", - "s-resize", - "se-resize", - "sw-resize", - "w-resize", - "ew-resize", - "ns-resize", - "nesw-resize", - "nwse-resize", - "col-resize", - "row-resize", - "all-scroll", - "zoom-in", - "zoom-out", - "grab", - "grabbing", - ], - core.Cursor, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "auto", + "default", + "none", + "context-menu", + "help", + "pointer", + "progress", + "wait", + "cell", + "crosshair", + "text", + "vertical-text", + "alias", + "copy", + "move", + "no-drop", + "not-allowed", + "e-resize", + "n-resize", + "ne-resize", + "nw-resize", + "s-resize", + "se-resize", + "sw-resize", + "w-resize", + "ew-resize", + "ns-resize", + "nesw-resize", + "nwse-resize", + "col-resize", + "row-resize", + "all-scroll", + "zoom-in", + "zoom-out", + "grab", + "grabbing", ], UndefinedType, ] = Undefined, description: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, dir: Union[ - Union[ - Union[Literal["ltr", "rtl"], core.TextDirection], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Literal["ltr", "rtl"], UndefinedType ] = Undefined, discreteBandSize: Union[ - Union[Union[core.RelativeBandSize, dict], float], UndefinedType + dict, float, core.SchemaBase, UndefinedType ] = Undefined, dx: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, dy: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ellipsis: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fill: Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, fillOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, filled: Union[bool, UndefinedType] = Undefined, font: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, height: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], - Union[core.RelativeBandSize, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, href: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], Union[core.URI, str]], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, innerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "basis", - "basis-open", - "basis-closed", - "bundle", - "cardinal", - "cardinal-open", - "cardinal-closed", - "catmull-rom", - "linear", - "linear-closed", - "monotone", - "natural", - "step", - "step-before", - "step-after", - ], - core.Interpolate, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "basis", + "basis-open", + "basis-closed", + "bundle", + "cardinal", + "cardinal-open", + "cardinal-closed", + "catmull-rom", + "linear", + "linear-closed", + "monotone", + "natural", + "step", + "step-before", + "step-after", ], UndefinedType, ] = Undefined, invalid: Union[Literal["filter", None], UndefinedType] = Undefined, limit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - line: Union[ - Union[Union[core.OverlayMarkDef, dict], bool], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + line: Union[bool, dict, core.SchemaBase, UndefinedType] = Undefined, lineBreak: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, lineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, minBandSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, opacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - order: Union[Union[None, bool], UndefinedType] = Undefined, + order: Union[bool, None, UndefinedType] = Undefined, orient: Union[ - Union[Literal["horizontal", "vertical"], core.Orientation], UndefinedType + core.SchemaBase, Literal["horizontal", "vertical"], UndefinedType ] = Undefined, outerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, padAngle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - point: Union[ - Union[Union[core.OverlayMarkDef, dict], bool, str], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + point: Union[str, bool, dict, core.SchemaBase, UndefinedType] = Undefined, radius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radius2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radius2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radiusOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, shape: Union[ - Union[ - Union[Union[core.SymbolShape, str], str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, size: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, smooth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, stroke: Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, strokeCap: Union[ - Union[ - Union[Literal["butt", "round", "square"], core.StrokeCap], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, strokeDash: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, strokeDashOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeJoin: Union[ - Union[ - Union[Literal["miter", "round", "bevel"], core.StrokeJoin], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["miter", "round", "bevel"], UndefinedType, ] = Undefined, strokeMiterLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - style: Union[Union[Sequence[str], str], UndefinedType] = Undefined, + style: Union[str, Sequence[str], UndefinedType] = Undefined, tension: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, text: Union[ - Union[ - Union[Sequence[str], core.Text, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, Sequence[str], core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, thetaOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, thickness: Union[float, UndefinedType] = Undefined, timeUnitBandPosition: Union[float, UndefinedType] = Undefined, timeUnitBandSize: Union[float, UndefinedType] = Undefined, tooltip: Union[ - Union[ - None, - Union[core.ExprRef, core._Parameter, dict], - Union[core.TooltipContent, dict], - bool, - float, - str, - ], + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, UndefinedType, ] = Undefined, url: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], Union[core.URI, str]], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, width: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], - Union[core.RelativeBandSize, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, xOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, yOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> Self: @@ -11077,908 +10153,824 @@ def mark_trail( def mark_circle( self, align: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, angle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, aria: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ariaRole: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ariaRoleDescription: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, aspect: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, bandSize: Union[float, UndefinedType] = Undefined, baseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, binSpacing: Union[float, UndefinedType] = Undefined, blend: Union[ - Union[ - Union[ - Literal[ - None, - "multiply", - "screen", - "overlay", - "darken", - "lighten", - "color-dodge", - "color-burn", - "hard-light", - "soft-light", - "difference", - "exclusion", - "hue", - "saturation", - "color", - "luminosity", - ], - core.Blend, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + None, + "multiply", + "screen", + "overlay", + "darken", + "lighten", + "color-dodge", + "color-burn", + "hard-light", + "soft-light", + "difference", + "exclusion", + "hue", + "saturation", + "color", + "luminosity", ], UndefinedType, ] = Undefined, clip: Union[bool, UndefinedType] = Undefined, color: Union[ - Union[ - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, continuousBandSize: Union[float, UndefinedType] = Undefined, cornerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusBottomLeft: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusBottomRight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusEnd: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusTopLeft: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusTopRight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cursor: Union[ - Union[ - Union[ - Literal[ - "auto", - "default", - "none", - "context-menu", - "help", - "pointer", - "progress", - "wait", - "cell", - "crosshair", - "text", - "vertical-text", - "alias", - "copy", - "move", - "no-drop", - "not-allowed", - "e-resize", - "n-resize", - "ne-resize", - "nw-resize", - "s-resize", - "se-resize", - "sw-resize", - "w-resize", - "ew-resize", - "ns-resize", - "nesw-resize", - "nwse-resize", - "col-resize", - "row-resize", - "all-scroll", - "zoom-in", - "zoom-out", - "grab", - "grabbing", - ], - core.Cursor, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "auto", + "default", + "none", + "context-menu", + "help", + "pointer", + "progress", + "wait", + "cell", + "crosshair", + "text", + "vertical-text", + "alias", + "copy", + "move", + "no-drop", + "not-allowed", + "e-resize", + "n-resize", + "ne-resize", + "nw-resize", + "s-resize", + "se-resize", + "sw-resize", + "w-resize", + "ew-resize", + "ns-resize", + "nesw-resize", + "nwse-resize", + "col-resize", + "row-resize", + "all-scroll", + "zoom-in", + "zoom-out", + "grab", + "grabbing", ], UndefinedType, ] = Undefined, description: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, dir: Union[ - Union[ - Union[Literal["ltr", "rtl"], core.TextDirection], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Literal["ltr", "rtl"], UndefinedType ] = Undefined, discreteBandSize: Union[ - Union[Union[core.RelativeBandSize, dict], float], UndefinedType + dict, float, core.SchemaBase, UndefinedType ] = Undefined, dx: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, dy: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ellipsis: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fill: Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, fillOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, filled: Union[bool, UndefinedType] = Undefined, font: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, height: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], - Union[core.RelativeBandSize, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, href: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], Union[core.URI, str]], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, innerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "basis", - "basis-open", - "basis-closed", - "bundle", - "cardinal", - "cardinal-open", - "cardinal-closed", - "catmull-rom", - "linear", - "linear-closed", - "monotone", - "natural", - "step", - "step-before", - "step-after", - ], - core.Interpolate, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "basis", + "basis-open", + "basis-closed", + "bundle", + "cardinal", + "cardinal-open", + "cardinal-closed", + "catmull-rom", + "linear", + "linear-closed", + "monotone", + "natural", + "step", + "step-before", + "step-after", ], UndefinedType, ] = Undefined, invalid: Union[Literal["filter", None], UndefinedType] = Undefined, limit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - line: Union[ - Union[Union[core.OverlayMarkDef, dict], bool], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + line: Union[bool, dict, core.SchemaBase, UndefinedType] = Undefined, lineBreak: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, lineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, minBandSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, opacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - order: Union[Union[None, bool], UndefinedType] = Undefined, + order: Union[bool, None, UndefinedType] = Undefined, orient: Union[ - Union[Literal["horizontal", "vertical"], core.Orientation], UndefinedType + core.SchemaBase, Literal["horizontal", "vertical"], UndefinedType ] = Undefined, outerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, padAngle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - point: Union[ - Union[Union[core.OverlayMarkDef, dict], bool, str], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + point: Union[str, bool, dict, core.SchemaBase, UndefinedType] = Undefined, radius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radius2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radius2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radiusOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, shape: Union[ - Union[ - Union[Union[core.SymbolShape, str], str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, size: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, smooth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, stroke: Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, strokeCap: Union[ - Union[ - Union[Literal["butt", "round", "square"], core.StrokeCap], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, strokeDash: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, strokeDashOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeJoin: Union[ - Union[ - Union[Literal["miter", "round", "bevel"], core.StrokeJoin], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["miter", "round", "bevel"], UndefinedType, ] = Undefined, strokeMiterLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - style: Union[Union[Sequence[str], str], UndefinedType] = Undefined, + style: Union[str, Sequence[str], UndefinedType] = Undefined, tension: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, text: Union[ - Union[ - Union[Sequence[str], core.Text, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, Sequence[str], core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, thetaOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, thickness: Union[float, UndefinedType] = Undefined, timeUnitBandPosition: Union[float, UndefinedType] = Undefined, timeUnitBandSize: Union[float, UndefinedType] = Undefined, tooltip: Union[ - Union[ - None, - Union[core.ExprRef, core._Parameter, dict], - Union[core.TooltipContent, dict], - bool, - float, - str, - ], + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, UndefinedType, ] = Undefined, url: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], Union[core.URI, str]], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, width: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], - Union[core.RelativeBandSize, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, xOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, yOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> Self: @@ -12082,908 +11074,824 @@ def mark_circle( def mark_square( self, align: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, angle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, aria: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ariaRole: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ariaRoleDescription: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, aspect: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, bandSize: Union[float, UndefinedType] = Undefined, baseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, binSpacing: Union[float, UndefinedType] = Undefined, blend: Union[ - Union[ - Union[ - Literal[ - None, - "multiply", - "screen", - "overlay", - "darken", - "lighten", - "color-dodge", - "color-burn", - "hard-light", - "soft-light", - "difference", - "exclusion", - "hue", - "saturation", - "color", - "luminosity", - ], - core.Blend, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + None, + "multiply", + "screen", + "overlay", + "darken", + "lighten", + "color-dodge", + "color-burn", + "hard-light", + "soft-light", + "difference", + "exclusion", + "hue", + "saturation", + "color", + "luminosity", ], UndefinedType, ] = Undefined, clip: Union[bool, UndefinedType] = Undefined, color: Union[ - Union[ - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, continuousBandSize: Union[float, UndefinedType] = Undefined, cornerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusBottomLeft: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusBottomRight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusEnd: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusTopLeft: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusTopRight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cursor: Union[ - Union[ - Union[ - Literal[ - "auto", - "default", - "none", - "context-menu", - "help", - "pointer", - "progress", - "wait", - "cell", - "crosshair", - "text", - "vertical-text", - "alias", - "copy", - "move", - "no-drop", - "not-allowed", - "e-resize", - "n-resize", - "ne-resize", - "nw-resize", - "s-resize", - "se-resize", - "sw-resize", - "w-resize", - "ew-resize", - "ns-resize", - "nesw-resize", - "nwse-resize", - "col-resize", - "row-resize", - "all-scroll", - "zoom-in", - "zoom-out", - "grab", - "grabbing", - ], - core.Cursor, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "auto", + "default", + "none", + "context-menu", + "help", + "pointer", + "progress", + "wait", + "cell", + "crosshair", + "text", + "vertical-text", + "alias", + "copy", + "move", + "no-drop", + "not-allowed", + "e-resize", + "n-resize", + "ne-resize", + "nw-resize", + "s-resize", + "se-resize", + "sw-resize", + "w-resize", + "ew-resize", + "ns-resize", + "nesw-resize", + "nwse-resize", + "col-resize", + "row-resize", + "all-scroll", + "zoom-in", + "zoom-out", + "grab", + "grabbing", ], UndefinedType, ] = Undefined, description: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, dir: Union[ - Union[ - Union[Literal["ltr", "rtl"], core.TextDirection], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Literal["ltr", "rtl"], UndefinedType ] = Undefined, discreteBandSize: Union[ - Union[Union[core.RelativeBandSize, dict], float], UndefinedType + dict, float, core.SchemaBase, UndefinedType ] = Undefined, dx: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, dy: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ellipsis: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fill: Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, fillOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, filled: Union[bool, UndefinedType] = Undefined, font: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, height: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], - Union[core.RelativeBandSize, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, href: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], Union[core.URI, str]], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, innerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "basis", - "basis-open", - "basis-closed", - "bundle", - "cardinal", - "cardinal-open", - "cardinal-closed", - "catmull-rom", - "linear", - "linear-closed", - "monotone", - "natural", - "step", - "step-before", - "step-after", - ], - core.Interpolate, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "basis", + "basis-open", + "basis-closed", + "bundle", + "cardinal", + "cardinal-open", + "cardinal-closed", + "catmull-rom", + "linear", + "linear-closed", + "monotone", + "natural", + "step", + "step-before", + "step-after", ], UndefinedType, ] = Undefined, invalid: Union[Literal["filter", None], UndefinedType] = Undefined, limit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - line: Union[ - Union[Union[core.OverlayMarkDef, dict], bool], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + line: Union[bool, dict, core.SchemaBase, UndefinedType] = Undefined, lineBreak: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, lineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, minBandSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, opacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - order: Union[Union[None, bool], UndefinedType] = Undefined, + order: Union[bool, None, UndefinedType] = Undefined, orient: Union[ - Union[Literal["horizontal", "vertical"], core.Orientation], UndefinedType + core.SchemaBase, Literal["horizontal", "vertical"], UndefinedType ] = Undefined, outerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, padAngle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - point: Union[ - Union[Union[core.OverlayMarkDef, dict], bool, str], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + point: Union[str, bool, dict, core.SchemaBase, UndefinedType] = Undefined, radius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radius2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radius2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radiusOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, shape: Union[ - Union[ - Union[Union[core.SymbolShape, str], str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, size: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, smooth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, stroke: Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, strokeCap: Union[ - Union[ - Union[Literal["butt", "round", "square"], core.StrokeCap], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, strokeDash: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, strokeDashOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeJoin: Union[ - Union[ - Union[Literal["miter", "round", "bevel"], core.StrokeJoin], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["miter", "round", "bevel"], UndefinedType, ] = Undefined, strokeMiterLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - style: Union[Union[Sequence[str], str], UndefinedType] = Undefined, + style: Union[str, Sequence[str], UndefinedType] = Undefined, tension: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, text: Union[ - Union[ - Union[Sequence[str], core.Text, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, Sequence[str], core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, thetaOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, thickness: Union[float, UndefinedType] = Undefined, timeUnitBandPosition: Union[float, UndefinedType] = Undefined, timeUnitBandSize: Union[float, UndefinedType] = Undefined, tooltip: Union[ - Union[ - None, - Union[core.ExprRef, core._Parameter, dict], - Union[core.TooltipContent, dict], - bool, - float, - str, - ], + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, UndefinedType, ] = Undefined, url: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], Union[core.URI, str]], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, width: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], - Union[core.RelativeBandSize, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, xOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, yOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> Self: @@ -13087,908 +11995,824 @@ def mark_square( def mark_geoshape( self, align: Union[ - Union[ - Union[Literal["left", "center", "right"], core.Align], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["left", "center", "right"], UndefinedType, ] = Undefined, angle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, aria: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ariaRole: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ariaRoleDescription: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, aspect: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, bandSize: Union[float, UndefinedType] = Undefined, baseline: Union[ - Union[ - Union[ - Union[Literal["top", "middle", "bottom"], core.Baseline], - core.TextBaseline, - str, - ], - Union[core.ExprRef, core._Parameter, dict], - ], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal["top", "middle", "bottom"], UndefinedType, ] = Undefined, binSpacing: Union[float, UndefinedType] = Undefined, blend: Union[ - Union[ - Union[ - Literal[ - None, - "multiply", - "screen", - "overlay", - "darken", - "lighten", - "color-dodge", - "color-burn", - "hard-light", - "soft-light", - "difference", - "exclusion", - "hue", - "saturation", - "color", - "luminosity", - ], - core.Blend, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + None, + "multiply", + "screen", + "overlay", + "darken", + "lighten", + "color-dodge", + "color-burn", + "hard-light", + "soft-light", + "difference", + "exclusion", + "hue", + "saturation", + "color", + "luminosity", ], UndefinedType, ] = Undefined, clip: Union[bool, UndefinedType] = Undefined, color: Union[ - Union[ - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, continuousBandSize: Union[float, UndefinedType] = Undefined, cornerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusBottomLeft: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusBottomRight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusEnd: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusTopLeft: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cornerRadiusTopRight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, cursor: Union[ - Union[ - Union[ - Literal[ - "auto", - "default", - "none", - "context-menu", - "help", - "pointer", - "progress", - "wait", - "cell", - "crosshair", - "text", - "vertical-text", - "alias", - "copy", - "move", - "no-drop", - "not-allowed", - "e-resize", - "n-resize", - "ne-resize", - "nw-resize", - "s-resize", - "se-resize", - "sw-resize", - "w-resize", - "ew-resize", - "ns-resize", - "nesw-resize", - "nwse-resize", - "col-resize", - "row-resize", - "all-scroll", - "zoom-in", - "zoom-out", - "grab", - "grabbing", - ], - core.Cursor, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "auto", + "default", + "none", + "context-menu", + "help", + "pointer", + "progress", + "wait", + "cell", + "crosshair", + "text", + "vertical-text", + "alias", + "copy", + "move", + "no-drop", + "not-allowed", + "e-resize", + "n-resize", + "ne-resize", + "nw-resize", + "s-resize", + "se-resize", + "sw-resize", + "w-resize", + "ew-resize", + "ns-resize", + "nesw-resize", + "nwse-resize", + "col-resize", + "row-resize", + "all-scroll", + "zoom-in", + "zoom-out", + "grab", + "grabbing", ], UndefinedType, ] = Undefined, description: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, dir: Union[ - Union[ - Union[Literal["ltr", "rtl"], core.TextDirection], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Literal["ltr", "rtl"], UndefinedType ] = Undefined, discreteBandSize: Union[ - Union[Union[core.RelativeBandSize, dict], float], UndefinedType + dict, float, core.SchemaBase, UndefinedType ] = Undefined, dx: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, dy: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, ellipsis: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fill: Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, fillOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, filled: Union[bool, UndefinedType] = Undefined, font: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontStyle: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], Union[core.FontStyle, str] - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, fontWeight: Union[ - Union[ - Union[ - Literal[ - "normal", - "bold", - "lighter", - "bolder", - 100, - 200, - 300, - 400, - 500, - 600, - 700, - 800, - 900, - ], - core.FontWeight, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "normal", + "bold", + "lighter", + "bolder", + 100, + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, ], UndefinedType, ] = Undefined, height: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], - Union[core.RelativeBandSize, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, href: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], Union[core.URI, str]], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, innerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Union[ - Literal[ - "basis", - "basis-open", - "basis-closed", - "bundle", - "cardinal", - "cardinal-open", - "cardinal-closed", - "catmull-rom", - "linear", - "linear-closed", - "monotone", - "natural", - "step", - "step-before", - "step-after", - ], - core.Interpolate, - ], - Union[core.ExprRef, core._Parameter, dict], + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "basis", + "basis-open", + "basis-closed", + "bundle", + "cardinal", + "cardinal-open", + "cardinal-closed", + "catmull-rom", + "linear", + "linear-closed", + "monotone", + "natural", + "step", + "step-before", + "step-after", ], UndefinedType, ] = Undefined, invalid: Union[Literal["filter", None], UndefinedType] = Undefined, limit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - line: Union[ - Union[Union[core.OverlayMarkDef, dict], bool], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + line: Union[bool, dict, core.SchemaBase, UndefinedType] = Undefined, lineBreak: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], str], UndefinedType + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, lineHeight: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, minBandSize: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, opacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - order: Union[Union[None, bool], UndefinedType] = Undefined, + order: Union[bool, None, UndefinedType] = Undefined, orient: Union[ - Union[Literal["horizontal", "vertical"], core.Orientation], UndefinedType + core.SchemaBase, Literal["horizontal", "vertical"], UndefinedType ] = Undefined, outerRadius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, padAngle: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType - ] = Undefined, - point: Union[ - Union[Union[core.OverlayMarkDef, dict], bool, str], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, + point: Union[str, bool, dict, core.SchemaBase, UndefinedType] = Undefined, radius: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radius2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radius2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, radiusOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, shape: Union[ - Union[ - Union[Union[core.SymbolShape, str], str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, size: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, smooth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], bool], UndefinedType + bool, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, stroke: Union[ - Union[ - None, - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + None, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, strokeCap: Union[ - Union[ - Union[Literal["butt", "round", "square"], core.StrokeCap], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["butt", "round", "square"], UndefinedType, ] = Undefined, strokeDash: Union[ - Union[Sequence[float], Union[core.ExprRef, core._Parameter, dict]], - UndefinedType, + dict, core._Parameter, core.SchemaBase, Sequence[float], UndefinedType ] = Undefined, strokeDashOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeJoin: Union[ - Union[ - Union[Literal["miter", "round", "bevel"], core.StrokeJoin], - Union[core.ExprRef, core._Parameter, dict], - ], + dict, + core._Parameter, + core.SchemaBase, + Literal["miter", "round", "bevel"], UndefinedType, ] = Undefined, strokeMiterLimit: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeOpacity: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, strokeWidth: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, - style: Union[Union[Sequence[str], str], UndefinedType] = Undefined, + style: Union[str, Sequence[str], UndefinedType] = Undefined, tension: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, text: Union[ - Union[ - Union[Sequence[str], core.Text, str], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, + str, dict, Sequence[str], core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, theta2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, thetaOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, thickness: Union[float, UndefinedType] = Undefined, timeUnitBandPosition: Union[float, UndefinedType] = Undefined, timeUnitBandSize: Union[float, UndefinedType] = Undefined, tooltip: Union[ - Union[ - None, - Union[core.ExprRef, core._Parameter, dict], - Union[core.TooltipContent, dict], - bool, - float, - str, - ], + str, + bool, + dict, + None, + float, + core._Parameter, + core.SchemaBase, UndefinedType, ] = Undefined, url: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], Union[core.URI, str]], - UndefinedType, + str, dict, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, width: Union[ - Union[ - Union[core.ExprRef, core._Parameter, dict], - Union[core.RelativeBandSize, dict], - float, - ], - UndefinedType, + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, x2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, xOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y2: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float, str], UndefinedType + str, dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, y2Offset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, yOffset: Union[ - Union[Union[core.ExprRef, core._Parameter, dict], float], UndefinedType + dict, float, core._Parameter, core.SchemaBase, UndefinedType ] = Undefined, **kwds, ) -> Self: @@ -14091,258 +12915,176 @@ def mark_geoshape( def mark_boxplot( self, - box: Union[ - Union[ - Union[ - Union[core.AreaConfig, dict], - Union[core.BarConfig, dict], - Union[core.LineConfig, dict], - Union[core.MarkConfig, dict], - Union[core.RectConfig, dict], - Union[core.TickConfig, dict], - core.AnyMarkConfig, - ], - bool, - ], - UndefinedType, - ] = Undefined, + box: Union[bool, dict, core.SchemaBase, UndefinedType] = Undefined, clip: Union[bool, UndefinedType] = Undefined, color: Union[ - Union[ - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], - ], - UndefinedType, - ] = Undefined, - extent: Union[Union[float, str], UndefinedType] = Undefined, + str, + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", + ], + UndefinedType, + ] = Undefined, + extent: Union[str, float, UndefinedType] = Undefined, invalid: Union[Literal["filter", None], UndefinedType] = Undefined, - median: Union[ - Union[ - Union[ - Union[core.AreaConfig, dict], - Union[core.BarConfig, dict], - Union[core.LineConfig, dict], - Union[core.MarkConfig, dict], - Union[core.RectConfig, dict], - Union[core.TickConfig, dict], - core.AnyMarkConfig, - ], - bool, - ], - UndefinedType, - ] = Undefined, + median: Union[bool, dict, core.SchemaBase, UndefinedType] = Undefined, opacity: Union[float, UndefinedType] = Undefined, orient: Union[ - Union[Literal["horizontal", "vertical"], core.Orientation], UndefinedType - ] = Undefined, - outliers: Union[ - Union[ - Union[ - Union[core.AreaConfig, dict], - Union[core.BarConfig, dict], - Union[core.LineConfig, dict], - Union[core.MarkConfig, dict], - Union[core.RectConfig, dict], - Union[core.TickConfig, dict], - core.AnyMarkConfig, - ], - bool, - ], - UndefinedType, - ] = Undefined, - rule: Union[ - Union[ - Union[ - Union[core.AreaConfig, dict], - Union[core.BarConfig, dict], - Union[core.LineConfig, dict], - Union[core.MarkConfig, dict], - Union[core.RectConfig, dict], - Union[core.TickConfig, dict], - core.AnyMarkConfig, - ], - bool, - ], - UndefinedType, + core.SchemaBase, Literal["horizontal", "vertical"], UndefinedType ] = Undefined, + outliers: Union[bool, dict, core.SchemaBase, UndefinedType] = Undefined, + rule: Union[bool, dict, core.SchemaBase, UndefinedType] = Undefined, size: Union[float, UndefinedType] = Undefined, - ticks: Union[ - Union[ - Union[ - Union[core.AreaConfig, dict], - Union[core.BarConfig, dict], - Union[core.LineConfig, dict], - Union[core.MarkConfig, dict], - Union[core.RectConfig, dict], - Union[core.TickConfig, dict], - core.AnyMarkConfig, - ], - bool, - ], - UndefinedType, - ] = Undefined, + ticks: Union[bool, dict, core.SchemaBase, UndefinedType] = Undefined, **kwds, ) -> Self: """Set the chart's mark to 'boxplot' (see :class:`BoxPlotDef`)""" @@ -14372,214 +13114,173 @@ def mark_errorbar( self, clip: Union[bool, UndefinedType] = Undefined, color: Union[ - Union[ - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, extent: Union[ - Union[Literal["ci", "iqr", "stderr", "stdev"], core.ErrorBarExtent], - UndefinedType, + core.SchemaBase, Literal["ci", "iqr", "stderr", "stdev"], UndefinedType ] = Undefined, opacity: Union[float, UndefinedType] = Undefined, orient: Union[ - Union[Literal["horizontal", "vertical"], core.Orientation], UndefinedType - ] = Undefined, - rule: Union[ - Union[ - Union[ - Union[core.AreaConfig, dict], - Union[core.BarConfig, dict], - Union[core.LineConfig, dict], - Union[core.MarkConfig, dict], - Union[core.RectConfig, dict], - Union[core.TickConfig, dict], - core.AnyMarkConfig, - ], - bool, - ], - UndefinedType, + core.SchemaBase, Literal["horizontal", "vertical"], UndefinedType ] = Undefined, + rule: Union[bool, dict, core.SchemaBase, UndefinedType] = Undefined, size: Union[float, UndefinedType] = Undefined, thickness: Union[float, UndefinedType] = Undefined, - ticks: Union[ - Union[ - Union[ - Union[core.AreaConfig, dict], - Union[core.BarConfig, dict], - Union[core.LineConfig, dict], - Union[core.MarkConfig, dict], - Union[core.RectConfig, dict], - Union[core.TickConfig, dict], - core.AnyMarkConfig, - ], - bool, - ], - UndefinedType, - ] = Undefined, + ticks: Union[bool, dict, core.SchemaBase, UndefinedType] = Undefined, **kwds, ) -> Self: """Set the chart's mark to 'errorbar' (see :class:`ErrorBarDef`)""" @@ -14604,236 +13305,193 @@ def mark_errorbar( def mark_errorband( self, - band: Union[ - Union[ - Union[ - Union[core.AreaConfig, dict], - Union[core.BarConfig, dict], - Union[core.LineConfig, dict], - Union[core.MarkConfig, dict], - Union[core.RectConfig, dict], - Union[core.TickConfig, dict], - core.AnyMarkConfig, - ], - bool, - ], - UndefinedType, - ] = Undefined, - borders: Union[ - Union[ - Union[ - Union[core.AreaConfig, dict], - Union[core.BarConfig, dict], - Union[core.LineConfig, dict], - Union[core.MarkConfig, dict], - Union[core.RectConfig, dict], - Union[core.TickConfig, dict], - core.AnyMarkConfig, - ], - bool, - ], - UndefinedType, - ] = Undefined, + band: Union[bool, dict, core.SchemaBase, UndefinedType] = Undefined, + borders: Union[bool, dict, core.SchemaBase, UndefinedType] = Undefined, clip: Union[bool, UndefinedType] = Undefined, color: Union[ - Union[ - Union[ - Union[ - Literal[ - "black", - "silver", - "gray", - "white", - "maroon", - "red", - "purple", - "fuchsia", - "green", - "lime", - "olive", - "yellow", - "navy", - "blue", - "teal", - "aqua", - "orange", - "aliceblue", - "antiquewhite", - "aquamarine", - "azure", - "beige", - "bisque", - "blanchedalmond", - "blueviolet", - "brown", - "burlywood", - "cadetblue", - "chartreuse", - "chocolate", - "coral", - "cornflowerblue", - "cornsilk", - "crimson", - "cyan", - "darkblue", - "darkcyan", - "darkgoldenrod", - "darkgray", - "darkgreen", - "darkgrey", - "darkkhaki", - "darkmagenta", - "darkolivegreen", - "darkorange", - "darkorchid", - "darkred", - "darksalmon", - "darkseagreen", - "darkslateblue", - "darkslategray", - "darkslategrey", - "darkturquoise", - "darkviolet", - "deeppink", - "deepskyblue", - "dimgray", - "dimgrey", - "dodgerblue", - "firebrick", - "floralwhite", - "forestgreen", - "gainsboro", - "ghostwhite", - "gold", - "goldenrod", - "greenyellow", - "grey", - "honeydew", - "hotpink", - "indianred", - "indigo", - "ivory", - "khaki", - "lavender", - "lavenderblush", - "lawngreen", - "lemonchiffon", - "lightblue", - "lightcoral", - "lightcyan", - "lightgoldenrodyellow", - "lightgray", - "lightgreen", - "lightgrey", - "lightpink", - "lightsalmon", - "lightseagreen", - "lightskyblue", - "lightslategray", - "lightslategrey", - "lightsteelblue", - "lightyellow", - "limegreen", - "linen", - "magenta", - "mediumaquamarine", - "mediumblue", - "mediumorchid", - "mediumpurple", - "mediumseagreen", - "mediumslateblue", - "mediumspringgreen", - "mediumturquoise", - "mediumvioletred", - "midnightblue", - "mintcream", - "mistyrose", - "moccasin", - "navajowhite", - "oldlace", - "olivedrab", - "orangered", - "orchid", - "palegoldenrod", - "palegreen", - "paleturquoise", - "palevioletred", - "papayawhip", - "peachpuff", - "peru", - "pink", - "plum", - "powderblue", - "rosybrown", - "royalblue", - "saddlebrown", - "salmon", - "sandybrown", - "seagreen", - "seashell", - "sienna", - "skyblue", - "slateblue", - "slategray", - "slategrey", - "snow", - "springgreen", - "steelblue", - "tan", - "thistle", - "tomato", - "turquoise", - "violet", - "wheat", - "whitesmoke", - "yellowgreen", - "rebeccapurple", - ], - core.ColorName, - ], - Union[core.HexColor, str], - core.Color, - str, - ], - Union[ - Union[core.LinearGradient, dict], - Union[core.RadialGradient, dict], - core.Gradient, - ], - Union[core.ExprRef, core._Parameter, dict], + str, + dict, + core._Parameter, + core.SchemaBase, + Literal[ + "black", + "silver", + "gray", + "white", + "maroon", + "red", + "purple", + "fuchsia", + "green", + "lime", + "olive", + "yellow", + "navy", + "blue", + "teal", + "aqua", + "orange", + "aliceblue", + "antiquewhite", + "aquamarine", + "azure", + "beige", + "bisque", + "blanchedalmond", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "limegreen", + "linen", + "magenta", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "oldlace", + "olivedrab", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "whitesmoke", + "yellowgreen", + "rebeccapurple", ], UndefinedType, ] = Undefined, extent: Union[ - Union[Literal["ci", "iqr", "stderr", "stdev"], core.ErrorBarExtent], - UndefinedType, + core.SchemaBase, Literal["ci", "iqr", "stderr", "stdev"], UndefinedType ] = Undefined, interpolate: Union[ - Union[ - Literal[ - "basis", - "basis-open", - "basis-closed", - "bundle", - "cardinal", - "cardinal-open", - "cardinal-closed", - "catmull-rom", - "linear", - "linear-closed", - "monotone", - "natural", - "step", - "step-before", - "step-after", - ], - core.Interpolate, + core.SchemaBase, + Literal[ + "basis", + "basis-open", + "basis-closed", + "bundle", + "cardinal", + "cardinal-open", + "cardinal-closed", + "catmull-rom", + "linear", + "linear-closed", + "monotone", + "natural", + "step", + "step-before", + "step-after", ], UndefinedType, ] = Undefined, opacity: Union[float, UndefinedType] = Undefined, orient: Union[ - Union[Literal["horizontal", "vertical"], core.Orientation], UndefinedType + core.SchemaBase, Literal["horizontal", "vertical"], UndefinedType ] = Undefined, tension: Union[float, UndefinedType] = Undefined, **kwds, diff --git a/tools/generate_schema_wrapper.py b/tools/generate_schema_wrapper.py index 7cf42f077..69c679ccc 100644 --- a/tools/generate_schema_wrapper.py +++ b/tools/generate_schema_wrapper.py @@ -658,11 +658,13 @@ def generate_vegalite_mark_mixin( arg_info.kwds -= {"type"} def_args = ["self"] + [ - f"{p}: Union[" + f"{p}: " + info.properties[p].get_python_type_representation( - for_type_hints=True, altair_classes_prefix="core" + for_type_hints=True, + altair_classes_prefix="core", + additional_type_hints=["UndefinedType"], ) - + ", UndefinedType] = Undefined" + + " = Undefined" for p in (sorted(arg_info.required) + sorted(arg_info.kwds)) ] dict_args = [ diff --git a/tools/schemapi/codegen.py b/tools/schemapi/codegen.py index 6e743979f..f581c7446 100644 --- a/tools/schemapi/codegen.py +++ b/tools/schemapi/codegen.py @@ -196,10 +196,6 @@ def docstring(self, indent: int = 0) -> str: info = self.info doc = [ "{} schema wrapper".format(self.classname), - "", - info.get_python_type_representation( - altair_classes_prefix=self.altair_classes_prefix - ), ] if info.description: doc += self._process_description( # remove condition description @@ -275,9 +271,10 @@ def init_args( + ", ".join( [ *additional_types, - info.properties[p].get_python_type_representation( + *info.properties[p].get_python_type_representation( for_type_hints=True, altair_classes_prefix=self.altair_classes_prefix, + return_as_str=False, ), "UndefinedType", ] @@ -310,12 +307,13 @@ def get_args(self, si: SchemaInfo) -> List[str]: if prop_infos: contents.extend( [ - f"{p}: Union[" + f"{p}: " + info.get_python_type_representation( for_type_hints=True, altair_classes_prefix=self.altair_classes_prefix, + additional_type_hints=["UndefinedType"], ) - + ", UndefinedType] = Undefined" + + " = Undefined" for p, info in prop_infos.items() ] ) diff --git a/tools/schemapi/utils.py b/tools/schemapi/utils.py index fc504591e..2754f19df 100644 --- a/tools/schemapi/utils.py +++ b/tools/schemapi/utils.py @@ -183,14 +183,17 @@ def get_python_type_representation( self, for_type_hints: bool = False, altair_classes_prefix: Optional[str] = None, - ) -> str: + return_as_str: bool = True, + additional_type_hints: Optional[List[str]] = None, + ) -> Union[str, List[str]]: # This is a list of all types which can be used for the current SchemaInfo. # This includes Altair classes, standard Python types, etc. type_representations: List[str] = [] if self.title: - # Add the name of the current Altair class if for_type_hints: - class_names = [self.title] + # To keep type hints simple, we only use the SchemaBase class + # as the type hint for all classes which inherit from it. + class_names = ["SchemaBase"] if self.title == "ExprRef": # In these cases, a value parameter is also always accepted. # We use the _Parameter to indicate this although this @@ -232,6 +235,7 @@ def get_python_type_representation( s.get_python_type_representation( for_type_hints=for_type_hints, altair_classes_prefix=altair_classes_prefix, + return_as_str=False, ) for s in self.anyOf ] @@ -250,13 +254,7 @@ def get_python_type_representation( ) type_representations.extend(options) elif self.is_object(): - if for_type_hints: - type_representations.append("dict") - else: - type_r = "Dict" - if self.required: - type_r += "[required=[{}]]".format(", ".join(self.required)) - type_representations.append(type_r) + type_representations.append("dict") elif self.is_array(): # A list is invariant in its type parameter. This means that e.g. # List[str] is not a subtype of List[Union[core.FieldName, str]] @@ -287,13 +285,34 @@ def get_python_type_representation( else: raise ValueError("No Python type representation available for this schema") - type_representations = sorted(set(flatten(type_representations))) - type_representations_str = ", ".join(type_representations) - # If it's not for_type_hints but instead for the docstrings, we don't want - # to include Union as it just clutters the docstrings. - if len(type_representations) > 1 and for_type_hints: - type_representations_str = f"Union[{type_representations_str}]" - return type_representations_str + # Shorter types are usually the more relevant ones, e.g. `str` instead + # of `SchemaBase`. Output order from set is non-deterministic -> If + # types have same length names, order would be non-deterministic as it is + # returned from sort. Hence, we sort as well by type name as a tie-breaker, + # see https://docs.python.org/3.10/howto/sorting.html#sort-stability-and-complex-sorts + # for more infos. + type_representations = sorted( + # Using lower as we don't want to prefer uppercase such as "None" over + # "str" + set(flatten(type_representations)), + key=lambda x: x.lower(), + ) # Secondary sort + type_representations = sorted( + type_representations, + key=len, + ) # Primary sort + if additional_type_hints: + type_representations.extend(additional_type_hints) + + if return_as_str: + type_representations_str = ", ".join(type_representations) + # If it's not for_type_hints but instead for the docstrings, we don't want + # to include Union as it just clutters the docstrings. + if len(type_representations) > 1 and for_type_hints: + type_representations_str = f"Union[{type_representations_str}]" + return type_representations_str + else: + return type_representations @property def properties(self) -> SchemaProperties: